Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 763 Bytes

docker-readme.md

File metadata and controls

24 lines (18 loc) · 763 Bytes

Running miner in docker container

Host configuration

Build docker image

# Defaults to -DETHASHCUDA=ON -DETHASHCL=ON
docker build -t nsfminer .
# Example to set flag for CL and CUDA to OFF
docker build --build-arg DETHASHCL=OFF --build-arg DETHASHCUDA=OFF -t nsfminer .

Run docker container

docker run --gpus all -e POOL="<Pool connection>" nsfminer

For details on how to format follow the link: https://github.com/no-fee-ethereum-mining/nsfminer/blob/master/docs/POOL_EXAMPLES_ETH.md