Sign inSign up

compscidr/lolminer-docker

By compscidr

•Updated 15 days ago

lolminer with AMD and Nvidia gpu drivers

Image
2

10K+

compscidr/lolminer-docker repository overview

⁠lolminer-docker

GH Repo: https://github.com/compscidr/lolminer-docker⁠

⁠lolminer-docker

Tried to make it as simple as possible to run the miner without worrying about drivers or the mining software (at least on amd).

⁠amd:

Tested with Ubuntu 20.04 and 20.10 host operating systems without any special drivers installed on the host OS (ie, don't need to worry about the mess of AMD drivers in the most recent Ubuntu OS's).

https://hub.docker.com/repository/docker/compscidr/lolminer-docker⁠ From dockerhub:

docker run --device=/dev/dri:/dev/dri compscidr/lolminer-docker:amd-1.50-c11.4.2 <insert lolminer args>

For instance:

docker run --device=/dev/dri:/dev/dri compscidr/lolminer-docker:amd-1.50-c11.4.2 --coin ETH --pool eth.2miners.com --port 2020 --user 0x74ba897f65f04008d8eff364efcc54b0a20e17eb.amd-docker --apihost 0.0.0.0 --apiport 4069

The only fees are the lolminer fees, I didn't add any additional fees.

⁠nvidia:

On the host, you need a bit more work to get the nvidia docker runtime (only required once):

distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
sudo systemctl restart docker

Then you can run as follows:

docker run --gpus all compscidr/lolminer-docker:nvidia-1.50-c11.4.2 --coin ETH --pool eth.2miners.com --port 2020 --user 0x74ba897f65f04008d8eff364efcc54b0a20e17eb.nvidia-docker --apihost 0.0.0.0 --apiport 4069

Confirmed working with a ubuntu20.04 host and an nvidia rtx 3080 gpu.

Tag summary

Content type

Image

Digest

sha256:0b4e7d706…

Size

162.1 MB

Last updated

15 days ago

docker pull compscidr/lolminer-docker