GithubHelp home page GithubHelp logo

isabella232 / ewbf-miner-docker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from src-d/ewbf-miner-docker

0.0 0.0 0.0 8 KB

Dockerfile to build ewbf zcash miner

License: Apache License 2.0

Shell 49.55% Dockerfile 50.45%

ewbf-miner-docker's Introduction

ewbf-miner-docker

Dockerfile to build EWBF miner

Build instructions

docker build -t repo:tag .

EWBF_VERSION can be set as a build argument

Run instructions

This is intended to run in a server where your GPU drivers are available for the rest of the containers. For a NVIDIA example, see coreos-nvidia to set up your a container that exposes NVIDIA drivers

The following example runs EWBF miner in a 4 GPU NVIDIA cards server that has a coreos-nvidia nvidia-driver container running. See Dockerfile and entrypoint.sh for all the env variables and the defaults

docker run -d -it \
  --name ewbf-miner \
  --volumes-from nvidia-driver \
  --device /dev/nvidia0:/dev/nvidia0 \
  --device /dev/nvidia1:/dev/nvidia1 \
  --device /dev/nvidia2:/dev/nvidia2 \
  --device /dev/nvidia3:/dev/nvidia3 \
  --device /dev/nvidiactl:/dev/nvidiactl \
  --device /dev/nvidia-uvm:/dev/nvidia-uvm \
  --env LD_LIBRARY_PATH=/opt/nvidia/lib  \
  --env ZCASH_WALLET=<wallet>
  --env ZPOOL_USER=user1 \
  quay.io/srcd/ewbf-miner:v0.3.4b-1

Without any arguments, it runs the miner. You can give arguments to docker run to run a different command

ewbf-miner-docker's People

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.