Skip to content

cedricwalter/docker-xmr-stak-nvidia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is XMR-Stak-Nvidia?

XMR-Stak-Nvidia is a universal Stratum pool miner. This is the Nvidia GPU-mining version running in docker.

Links

How to use this image

You MUST install first Nvidia-dockerhttps://github.com/NVIDIA/nvidia-docker)

Configuration file

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.

Running

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

Image Variants

The images come in two flavors, with and without donation fee.

xmr-stak-nvidia:<version>

This is the defacto image. By default the miner will donate 1% of the hashpower (1 minute in 100 minutes) to dev's pool.

xmr-stak-nvidia:nodevfee

This variant has no donation fee.

Bonus

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)

Creating image from source

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

Donations for work on docker-izing xmr-stak-nvidia are accepted at:

  • BTC: 1Lqf1yTu31ENgbVoU6kBPxWGAfeePijQMN
  • XMR: 44KKSLPWY2jLfZkrxN1zzKDhCzW6Fvier44CDkTxz637cd5RTksVqNw1aNSwMrpQ3tSom6P6ej37qDJY7GqzW7rkQjRsruF

About

XMR-Stak-Nvidia is a universal Stratum pool miner. This is the GPU-mining version https://github.com/fireice-uk/xmr-stak-nvidia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages