alexellis / mine-with-docker Goto Github PK
View Code? Open in Web Editor NEWMine cryptocurrencies with Docker containers and get paid in Bitcoin (BTC)
Home Page: https://www.alexellis.io/
License: MIT License
Mine cryptocurrencies with Docker containers and get paid in Bitcoin (BTC)
Home Page: https://www.alexellis.io/
License: MIT License
I'm trying to run this container as the readme states, but
docker service create --mode=global \
--name miner alexellis2/cpu-opt:2018-1-2 ./cpuminer \
-a cryptonight \
-o stratum+tcp://cryptonight.usa.nicehash.com:3355 \
-u 39eAUTFxjv7TZVBienbm3kNjmNGCRrAMdT.cloud2
However, I get the following error on ubuntu
Error response from daemon: This node is not a swarm manager. Use "docker swarm init" or "docker swarm join" to connect this node to swarm and try again.
Just out of curiosty, why does a raspberry pi cluster not work?
Hi, I am playing around with this repo and I had a quick question on whether something wasn't working.
I mined a bit with hodl and that seemed to work fine, the nicehash link showed my production and everything.
I switched over to try CryptoNite and it no longer seems to show an Accepted or Rejected speed rate. I can see it as an Active worker on nicehash, but it just doesn't seem to be accumulating any BTC
When I look at the container logs I can see it mining fine
[2018-01-13 20:56:44] CPU #5: 6 H, 39.31 H/s [2018-01-13 20:56:44] CPU #6: 6 H, 35.42 H/s [2018-01-13 20:56:44] CPU #0: 6 H, 36.84 H/s [2018-01-13 20:56:44] CPU #4: 6 H, 36.87 H/s [2018-01-13 20:56:44] CPU #3: 7 H, 39.66 H/s [2018-01-13 20:56:44] CPU #7: 7 H, 39.89 H/s [2018-01-13 20:56:44] CPU #2: 7 H, 39.26 H/s [2018-01-13 20:56:44] CPU #1: 6 H, 36.45 H/s
but I notice I don't see any Accepted logs. Anything I may be doing wrong?
Thanks in advance and let me know if you need further clarification
When i run "docker service logs -f astronaut-finder", there is an error message "no such task or service: astronaut-finder".
Then I try "kubectl logs", it works
# kubectl logs astronaut-finder-7cddb4c595-2s2cm --namespace=openfaas-fn
2018/09/28 08:45:36 Version: 0.9.4 SHA: e67811c91c006dfe86feb945c88b0738ddf33a67
2018/09/28 08:45:36 Read/write timeout: 5s, 5s. Port: 8080
2018/09/28 08:45:36 Writing lock-file to: /tmp/.lock
2018/09/28 09:13:47 Forking fprocess.
2018/09/28 09:13:47 Query
2018/09/28 09:13:47 Path /
Oleg Artemyev
Oleg Artemyev is in space
2018/09/28 09:13:48 Duration: 1.407070 seconds
kubectl version as follws:
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-21T11:46:00Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-21T11:34:22Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Just ran this on my swarm docker service create --mode=global --name miner alexellis2/cpu-opt:2018-1-2 ./cpuminer -a hodl o stratum+ tcp://hodl.usa.nicehash.com:3352 -u <wallet>.crypto-1
But getting a verify: Detected task failure
message
overall progress: 0 out of 1 tasks
p4p7u7r7z7pp: ready [======================================> ]
verify: Detected task failure
It keeps looping like that. Any clear issues?
i have successfully mined for a few hours. After a while, some errors ocasionally occurring. Now mining can not start because of this stratum_recv_line failed
error.
docker service create --mode=global \
--name miner alexellis2/cpu-opt:latest ./cpuminer \
-a cryptonight \
-o stratum+tcp://cryptonight.br.nicehash.com:3355 \
-u mywallet.myworker
Hi,
Have found any way to specify that these containers should run with lower priority than other containers (equivalent to what nice does on unix or run as idle priority does on windows)?
Thx
docker service create --mode=global
--name miner alexellis2/cpu-opt:2018-1-2 ./cpuminer
-a cryptonightv7
-o stratum+tcp://cryptonightv7.eu.nicehash.com:3363
-u walletid.cloud
does not work what is wrong here?
First of all thanks for a great resource! Worked for me without a hitch!
Your docker image seems to be written for multicore CPU machines and not for GPUs. Is that correct?
Can you guide me a bit on how can I make it work with my Nvidia Titan X workstation?
Here I'm mining on few servers. I see two different issues.
docker ps
- It runs
docker service logs miner
- I see these issues in the logs
docker ps
- It does not run at all
docker service logs miner
- I see these issues in the logs
same issue as packet
Any idea about how to debbug this?
Cheers!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.