Monero Mining on Linux made easy with Docker

  • Thread starter Patrick Kennedy
  • Start date
Notice: Page may contain affiliate links for which we may earn a small commission through services like Amazon Affiliates or Skimlinks.

smccloud

Member
Jun 4, 2013
325
12
18
I'm trying to do this on a server I have running Ubuntu 16.04 and it won't stay running. Just running docker from the CLI, any suggestions?
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
@smccloud Are you using a valid username? -e username=example@example.com ? If you do not have that set properly it will download and compile but will fail after a few seconds once it is running.

You can also run it with -it to see what is going on.
Code:
docker run -it -e example@example.com servethehome/monero_cpu_minergate
When you want to get out control p q so you do not quit the container.
 

smccloud

Member
Jun 4, 2013
325
12
18
@smccloud Are you using a valid username? -e username=example@example.com ? If you do not have that set properly it will download and compile but will fail after a few seconds once it is running.

You can also run it with -it to see what is going on.
Code:
docker run -it -e example@example.com servethehome/monero_cpu_minergate
When you want to get out control p q so you do not quit the container.
Figured it out, its an E5504 system so it doesn't have AES-NI. If I use the official minergate-cli executable it works fine.
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
OK with the C2000 series the answer is similar to the Xeon Phi X200 series. nproc = the right number of threads. Took the C2358 from 12.2H/s (1 thread) to 18.5H/s (2 threads).
 

Marsh

Moderator
May 12, 2013
2,644
1,496
113
Yesterday, I tried xmr-stak-cpu miner on a Shuttle ds81 with I3-3210 cpu, it gets 86 H/s consumed around 40w.
 

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
Yesterday, I tried xmr-stak-cpu miner on a Shuttle ds81 with I3-3210 cpu, it gets 86 H/s consumed around 40w.
So I think our dual E5 strategy is much better in terms of performance per watt. Some of the nodes I am running are sub 160w (4x the power) but are closer to 900H/s (10x the performance).

Even the acquisition costs of what we are doing @Marsh are better. Buying 10x core i3 motherboards + PSUs, more network cables, power strips and such is very costly in the end.
 
  • Like
Reactions: Marsh

Patrick

Administrator
Staff member
Dec 21, 2010
12,511
5,792
113
@smccloud That is why I am using Docker with Rancher. I can do a quick log inspection on a node. I think the micro instance is AWS throttling though.