minecoins / docker-minergate-cli

Minergate-cli is the console miner provided by MinerGate
https://hub.docker.com/r/minecoins/minergate-cli/
35 stars 36 forks source link

Your email in the Dockerfile #1

Open conspacer opened 7 years ago

conspacer commented 7 years ago

In the Dockerfile, your email is hardcoded on line 14:

13: ENTRYPOINT ["minergate-cli"]
14: CMD ["-user", "cryptocurrencies.miner@gmail.com", "-xmr"]

even though I changed it to my minergate email when launching the image - yours shows up in docker info after running. It appears minergate-cli is using my email (from the minergate dashboard I can see a worker active), but what is this value in the Dockerfile for?

infoslack commented 6 years ago

It is only a default value, the CMD statement is overwritten when you pass your email as a parameter.

DVanderstoken commented 5 years ago

When I run the dock in portainer, default values (usermail and crypto) are used and not overridden by the command line arguments...