For those who want an easy way to mine Monero (XMR) using Docker here is a simple way to run a fairly optimized miner in Docker using nvidia-docker:
If you have a single GPU you can use:
If you have multiple NVIDIA GPUs you need to target one container per GPU. Here is the example for a dual GPU system:
Replace example@example.com with your minergate username. We are tagging each GPU using NV_GPU and naming each of the miners so you can see which miner attaches to which GPU.
The advantage of using this method is that you can use this to easily launch Monero GPU mining on NVIDIA GPUs without having to worry about CUDA dependencies.
Note, there are no fees for using this image. If you do want to sign up using our minergate affiliate link (this would be appreciated), here it is:
Smart multicurrency mining pool & 1-click GUI miner
We have tested this image up to 8 GPUs in a system.
If you have a single GPU you can use:
Code:
nvidia-docker run -d -e username=example@example.com linuxbench/sth_monero_nvidia_gpu
Code:
NV_GPU=0 nvidia-docker run -d -e username=example@example.com --name GPU0_monero linuxbench/sth_monero_nvidia_gpu
NV_GPU=1 nvidia-docker run -d -e username=example@example.com --name GPU1_monero linuxbench/sth_monero_nvidia_gpu
.... and etc.
The advantage of using this method is that you can use this to easily launch Monero GPU mining on NVIDIA GPUs without having to worry about CUDA dependencies.
Note, there are no fees for using this image. If you do want to sign up using our minergate affiliate link (this would be appreciated), here it is:
Smart multicurrency mining pool & 1-click GUI miner
We have tested this image up to 8 GPUs in a system.