Skip to content

Docker container for Ethereum mining with CUDA. Works with Vast.ai.

Notifications You must be signed in to change notification settings

500farm/docker-ethminer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 

Repository files navigation

Ethereum CUDA Miner

Docker container for Ethereum mining with CUDA.

Based on Anthony-Tatowicz/docker-ethminer.

Works with vast.ai on CUDA 11.2 and 11.4 instances.

Contains workarounds for:

How to run

Check the requirements:

  • Ubuntu 20.04.* LTS.
  • Nvidia drivers for your GPU, you can get them here: Nvidia drivers.
  • Nvidia-docker (so docker can access your GPU) install instructions here: nvidia-docker.

Use the pre-built container: https://hub.docker.com/r/500farm/docker-ethminer.

Example:

$ nvidia-docker run -it 500farm/docker-ethminer ARG1 ARG2 ...

Example for ethermine.org:

$ nvidia-docker run -it 500farm/docker-ethminer \
    -P stratum+tcp://<your_wallet_address>@eu1.ethermine.org:4444

Help:

$ nvidia-docker run -it 500farm/docker-ethminer -H

Following args are added automatically: -U --api-port -3333 --HWMON 2 --syslog. JSON RPC API is exposed in read-only mode on port 3333.

How to build

This image builds the latest master of https://github.com/ethereum-mining/ethminer.

docker build -t 500farm/docker-ethminer:<version> -t 500farm/docker-ethminer:latest .
docker push 500farm/docker-ethminer:<version>
docker push 500farm/docker-ethminer:latest

About

Docker container for Ethereum mining with CUDA. Works with Vast.ai.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 59.6%
  • Go 40.4%