Giter Club home page Giter Club logo

lminer's Introduction

https://github.com/compscidr/lolminer-docker/actions/workflows/build.yml

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). The docker images are named as follows: ubuntu<ubuntu-version>-<cuda/amd-version>-<lolminer version>. For instance: ubuntu22.04-cuda-11.7.1-1.76 or ubuntu22.04-amd-21.30-1.76

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).

For physical hardware, tested with rx580, rx480 gpus.

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

docker run --device=/dev/dri:/dev/dri compscidr/lolminer-docker:ubuntu22.04-amd-21.30-1.76 <insert lolminer args>

For instance:

docker run --device=/dev/dri:/dev/dri compscidr/lolminer-docker:ubuntu22.04-amd-21.30-1.76 --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:ubuntu22.04-cuda-11.7.1-1.76 --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. On a fresh Ubuntu 20.04 install, cuda 11.4.2 image will work, however if you've got a newer version on your host for some other reason, you can bump to a newer cuda version in the image as well if you want. You can check your cuda version and gpu driver version with nvidia-smi

docker-compose

Alternatively you can use the provided docker-compose file which will build everything from source. You will want to update the entrypoint within the docker-compose.yml file to use your own wallet and arguments for lolminer.

Then for AMD: docker-compose --profile amd up

and for Nvidia: docker-compose --profile nvidia up

lminer's People

Contributors

compscidr avatar renovate-bot avatar renovate[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.