[unRAID 6.3.2] Questions about running a docker container not built for unraid.


Recommended Posts

I'm attempting to run a docker container for monero CPU mining. The container wasn't specifically built for Unraid. I seem to be having issues keeping the container running. I ran it on my desktop locally first, and am having no issues. Would someone tell me what I might be doing wrong to not keep the container from executing and to continue to hash?

 

Here is is the output on windows.

C:\Users\Admin>docker run tpruvot/cpuminer-multi -a cryptonight -o stratum+tcp://xmr-us-east1.nanopool.org:14444 -u 47PQKDzaHeScKU4en6pzBLbZfFoKo9A3MiGRWqoHwWCza33MyEXjpJ73LAWuNaoTNb6uiLGv6hYci2wBk4qW7FVgPtqugiF -p x -t 4
** cpuminer-multi 1.3 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[2017-04-07 23:38:54] Using JSON-RPC 2.0
[2017-04-07 23:38:54] CPU Supports AES-NI: YES
[2017-04-07 23:38:54] Starting Stratum on stratum+tcp://xmr-us-east1.nanopool.org:14444
[2017-04-07 23:38:54] 4 miner threads started, using 'cryptonight' algorithm.
[2017-04-07 23:38:54] Stratum difficulty set to 90001.6
[2017-04-07 23:39:06] CPU #0: 5.91 H/s
[2017-04-07 23:39:06] CPU #2: 5.87 H/s
[2017-04-07 23:39:08] CPU #3: 5.15 H/s
[2017-04-07 23:39:08] CPU #1: 5.14 H/s

However, when I attempt to run the same container on unraid it pulls the cointainer, but it appears that it just stops running after executing. It doesn't start hashing. Like the screen above.

root@NAS:~# docker run tpruvot/cpuminer-multi -a cryptonight -o stratum+tcp://xmr-us-east1.nanopool.org:14444 -u 47PQKDzaHeScKU4en6pzBLbZfFoKo9A3MiGRWqoHwWCza33MyEXjpJ73LAWuNaoTNb6uiLGv6hYci2wBk4qW7FVgPtqugiF -p x -t 4
** cpuminer-multi 1.3 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[2017-04-07 23:45:52] Using JSON-RPC 2.0
[2017-04-07 23:45:52] CPU Supports AES-NI: YES
[2017-04-07 23:45:52] Starting Stratum on stratum+tcp://xmr-us-east1.nanopool.org:14444
root@NAS:~#

I also attempted to start it with the web UI with the same results. Here is all the output the log had from the webUI.

 


** cpuminer-multi 1.3 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[2017-04-07 23:45:52] Using JSON-RPC 2.0[0m
[2017-04-07 23:45:52] CPU Supports AES-NI: YES[0m
[2017-04-07 23:45:52] Starting Stratum on stratum+tcp://xmr-us-east1.nanopool.org:14444[0m

I also attempted in detached mode with the same result.

 

root@NAS:~# docker run -d tpruvot/cpuminer-multi -a cryptonight -o stratum+tcp://xmr-us-east1.nanopool.org:14444 -u 47PQKDzaHeScKU4en6pzBLbZfFoKo9A3MiGRWqoHwWCza33MyEXjpJ73LAWuNaoTNb6uiLGv6hYci2wBk4qW7FVgPtqugiF -p x -t 4
c91e9fe890ba962a5ffb08974f786e3711e391ba0bf9621dfe3fed48ed3c6466
root@NAS:~# docker ps
CONTAINER ID        IMAGE                COMMAND             CREATED             STATUS              PORTS                    NAMES
94503566d514        linuxserver/plexpy   "/init"             3 weeks ago         Up 3 weeks          0.0.0.0:8181->8181/tcp   plexpy
c406e028023f        linuxserver/plex     "/init"             3 weeks ago         Up 6 hours                                   plex
570e87cfd30e        gfjardim/crashplan   "/sbin/my_init"     3 months ago        Up 3 weeks                                   CrashPlan
root@NAS:~# docker logs --follow -f c91e9fe890ba962a5ffb08974f786e3711e391ba0bf9621dfe3fed48ed3c6466
** cpuminer-multi 1.3 by tpruvot@github **
BTC donation address: 1FhDPLPpw18X4srecguG3MxJYe4a1JsZnd (tpruvot)

[2017-04-07 23:51:00] Using JSON-RPC 2.0
[2017-04-07 23:51:00] CPU Supports AES-NI: YES
[2017-04-07 23:51:00] Starting Stratum on stratum+tcp://xmr-us-east1.nanopool.org:14444
root@NAS:~#

 

Link to comment
  • 8 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.