/docker_ethminer

ethminer in Docker. Supports GPU mining.

Primary LanguageDockerfile

ethminer

What is it?

ethminer is the console miner provided by ethereum-mining.

ethminer supports Ethash.

Example usages

Replace ARCH for your graphic card architecture. Available option(s): amd, nvidia

  • To run the container in background:
$ docker run -d --device /dev/kfd --device /dev/dri --name YOUR_CONTAINER_NAME calvintam236/ethminer:amd -G -S YOUR_POOL_ADDRESS -O YOUR_USERNAME.YOUR_WORKER_NAME:YOUR_WORKER_PASSWORD
$ docker run -d --device /dev/nvidia0 --device /dev/nvidiactl --device /dev/nvidia-uvm --name YOUR_CONTAINER_NAME calvintam236/ethminer:nvidia -U -S YOUR_POOL_ADDRESS -O YOUR_USERNAME.YOUR_WORKER_NAME:YOUR_WORKER_PASSWORD
  • Get ethminer options:
$ docker run --rm calvintam236/ethminer:ARCH
  • To fetch logs of a container:
$ docker logs YOUR_CONTAINER_NAME

Donations

If you like to buy me a cup of coffee for this Dockerfile/ docker image, you can donate to here:

  • BTC: 1MTkPFtp3qxE4Y98pTHP3z767RGKmrT92a
  • ETH: 0x5896a85E8c175c563DC00087535582394d394838
  • XMR: 4ASikgNhKqmY5EjnaoDws1jjyhQy9ZrcDcCwfYVt5Rtxb6B1FqsehpLY8ZxxZD5B6r8QZKb4y1FKW1eqiS5Lph77Ca9qprU
  • ETC: 0xFaBA3be3b3De5469C3F6C6185150928F3773C7b4
  • ZEC: t1Z5Kc75JQ17txyaDUfwwyabTgsJMfuuSp4