New moneropool Docker Images

Patrick

Administrator
Staff member
Dec 21, 2010
12,009
4,991
113
Since Monero has been going crazy lately, I am starting to simplify the mining images. First was xmrpool.net and now it is moneropool's turn.

Optimized Tags for Various Architectures
  • latest - this is the default and good for Intel Core i3, i5, i7, Intel Xeon E3, E5 and E7 CPUs and Intel Xeon D CPUs.
  • zen - this is optimized for AMD Zen architectures and has been pushed over an AMD Ryzen cluster
  • (depreciated, please use the universal_cryptonight miner) nproc - this is for CPU architectures with no dedicated L3 cache. This works for Intel Xeon Phi x200 and Intel Atom CPUs
  • (depreciated) nvidia - this is designed for NVIDIA GPUs using nvidia-docker

Usage, for example will be:
Code:
docker run -itd -e username=walletID  servethehome/monero_moneropool:zen
That will run an AMD Ryzen optimized mining container
 
Last edited:
  • Like
Reactions: eva2000

nbourbaki

New Member
Mar 8, 2017
6
1
3
66
I was able to get this up and running with CPUs, what would the command(s) be to start multiple nvidia cards?
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,009
4,991
113
I was able to get this up and running with CPUs, what would the command(s) be to start multiple nvidia cards?
Here is an example startup script for four NVIDIA GPUs in a system. Older version of the script since it is not using a variable for each instance, but should be easy to figure out what it is doing.

Code:
#!/bin/bash

NV_GPU=0 nvidia-docker run -itd -e username=walletID --name GPU0_monero servethehome/monero_moneropool:nvidia
NV_GPU=1 nvidia-docker run -itd -e username=walletID --name GPU1_monero servethehome/monero_moneropool:nvidia
NV_GPU=2 nvidia-docker run -itd -e username=walletID --name GPU2_monero servethehome/monero_moneropool:nvidia
NV_GPU=3 nvidia-docker run -itd -e username=walletID --name GPU3_monero servethehome/monero_moneropool:nvidia
You can keep going for more GPUs. I would advise scripting it because you will want to restart them at some point.
 
  • Like
Reactions: eva2000

nbourbaki

New Member
Mar 8, 2017
6
1
3
66
Thanks, Patrick. Great advice on scripting. For everything else, I always script to avoid fat fingers on the command line.
 

nbourbaki

New Member
Mar 8, 2017
6
1
3
66
Is it possible to modify the number of tread blocks for Nvidia beyond the default of 40? I just wanted to see if there was a sweet spot for my GTX 1060s
 

eva2000

Active Member
Apr 15, 2013
242
48
28
Brisbane, Australia
centminmod.com
@Patrick just tried your latest tag for my i7 4790K server and get this error in docker logs
Code:
docker logs bc3
8 Threads
8192 L3 Cache KB per CPU
8 L3 Cache MB per CPU
1 Sockets
4 Monero Threads
mywalletid
Cloning into 'cpuminer-multi'...
fatal: unable to access 'https://github.com/wolf9466/cpuminer-multi/': Could not resolve host: github.com
/usr/local/bin/moneroCPU.sh: line 33: cd: cpuminer-multi/: No such file or directory
/usr/local/bin/moneroCPU.sh: line 34: ./autogen.sh: No such file or directory
/usr/local/bin/moneroCPU.sh: line 35: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
/usr/local/bin/moneroCPU.sh: line 41: ./minerd: No such file or directory
guess my docker setup has dns resolver issues heh

edit: fixed dns heh
 
Last edited:

nbourbaki

New Member
Mar 8, 2017
6
1
3
66
I do not think so.
From what I can tell, this image is based on ccminer ->
tsiv/ccminer-cryptonight/zip/v0.17

Available parameters for tsiv/ccminer-cryptonight:

+This code is based on the main ccminer branch, that in turn
+is based on the pooler cpuminer 2.3.2 release and inherits
+most of their command line interface and options.
+
+ -d, --devices gives a comma separated list of CUDA device IDs
+ to operate on. Device IDs start counting from 0!
+ Alternatively give string names of your card like
+ gtx780ti or gt640#2 (matching 2nd gt640 in the PC).
+ -l, --launch=CONFIG launch config for the Cryptonight kernel.
+ a comma separated list of values in form of
+ AxB where A is the number of threads to run in
+ each thread block and B is the number of thread
+ blocks to launch. If less values than devices in use
+ are provided, the last value will be used for
+ the remaining devices. If you don't need to vary the
+ value between devices, you can just enter a single
+ value and it will be used for all devices.
+ (default: 8x40)
+ -f, --diff Divide difficulty by this factor (std is 1)
+ -o, --url=URL URL of mining server (default: " DEF_RPC_URL ")
+ -O, --userpass=U:p username:password pair for mining server
+ -u, --user=USERNAME username for mining server
+ -p, --pass=PASSWORD password for mining server
+ --cert=FILE certificate for mining server using SSL
+ -x, --proxy=[PROTOCOL://]HOST[:pORT] connect through a proxy
+ -t, --threads=N number of miner threads
+ (default: number of nVidia GPUs in your system)
+ -r, --retries=N number of times to retry if a network call fails
+ (default: retry indefinitely)
+ -R, --retry-pause=N time to pause between retries, in seconds (default: 15)
+ -T, --timeout=N network timeout, in seconds (default: 270)

I keep getting "Stratum connection interrupted" on my GPU miners. I was hoping to pass the -T parameter to extend the timeout, but the image isn't passing the parameter to the miner.