XMR-Stak-Nvidia is a universal Stratum pool miner. This is the Nvidia GPU-mining version running in docker.
You MUST install first Nvidia-dockerhttps://github.com/NVIDIA/nvidia-docker)
Create config.txt
configuration file and adapt to your need before running.
You can copy file from a container:
$ docker run -d --name some-xmr-stak-nvidia cedricwalter/docker-xmr-stak-nvidia
$ docker cp some-xmr-stak-nvidia:/usr/local/etc/config.txt .
$ docker stop some-xmr-stak-nvidia
$ docker rm some-xmr-stak-nvidia
or copy example from GitHub.
Run in background:
$ nvidia-docker run --rm -itd --name some-xmr-stak-nvidia -v "$PWD"/config.txt:/usr/local/etc/config.txt cedricwalter/docker-xmr-stak-nvidia
Use --privileged
option for large pages support. Large pages need a properly set up OS.
Fetch logs of a container:
$ docker logs some-xmr-stak-nvidia
Attach:
$ docker attach some-xmr-stak-nvidia
The images come in two flavors, with and without donation fee.
This is the defacto image. By default the miner will donate 1% of the hashpower (1 minute in 100 minutes) to dev's pool.
This variant has no donation fee.
nvidia-cluster-set.sh is a small utility to properly set all geforce in your mining rig: undervolting, under or overclocking run it in a gnome terminal (require x windows)
Install docker.io with this apt command:
When the installation is finished, start the docker service and enable it to start at boot time:
sudo systemctl enable docker
Docker has been installed and is running on the system.
cd docker-xmr-stak-nvidia
docker build -t xmr-stak-nvidia .
or
cd nodevfee
docker build -f xmr-stak-nvidia:nodevfee .
Donations for work on docker-izing xmr-stak-nvidia are accepted at:
- BTC:
1Lqf1yTu31ENgbVoU6kBPxWGAfeePijQMN
- XMR:
44KKSLPWY2jLfZkrxN1zzKDhCzW6Fvier44CDkTxz637cd5RTksVqNw1aNSwMrpQ3tSom6P6ej37qDJY7GqzW7rkQjRsruF