- Install docker
- Install nvidia container toolkit needs to be installed on host
- Follow instructions from here: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#docker
# 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 .
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