Code Monkey home page Code Monkey logo

docker-bitcoin-nicehash-miner's Introduction

docker-bitcoin-nicehash-miner

This project for easy to use nichhash miner cpu in docker.

Project build from Equihash miner for NiceHash official repo.

How to use

Use run command

  • Create running container command: docker run -d --name miner first087/bitcoin-nicehash-miner
  • Remove running container command: docker rm -f miner
  • Config your miner by environment option (-e VARIABLE=VALUE)

Use docker compose

  • Create running container command: docker-compose pull && docker-compose up -d
  • Remove running container command: docker-compose down
  • Config your miner in config.env file

Use docker swarm

  • Create stack deploy command: docker stack deploy -c docker-compose.yml miner
  • Remove stack deploy command: docker stack rm miner
  • Config your miner in config.env file

Optional

  • Test nicehash server command: docker run -it --rm first087/bitcoin-nicehash-miner /bin/bash test-server.sh

Recommend

Running on 2+ Core CPU because Equihash miner for NiceHash require.

docker-bitcoin-nicehash-miner's People

Contributors

first087 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-bitcoin-nicehash-miner's Issues

Issues running with default config with docker compose

Following the steps I'm running with the default but the container keeps restarting. The below log is observed.

$NH_REGION not found... Default to hk.
$BTC_ADDR not found.... Default to dev address. Thank!
$WORKER_NAME not found. Default to hostname
$THREAD not found...... Default to total CPU core

==================== SUMMARY ====================
$NH_REGION : hk
$BTC_ADDR : 38Ma3FXoE8dFewWAASskBaQr5xye86ym1p
$WORKER_NAME : 22712ef32bc5
$THREAD : 3

==================== START ====================

==================== www.nicehash.com ====================
	Equihash CPU&GPU Miner for NiceHash v0.4b
Thanks to Zcash developers for providing base of the code.
       Special thanks to tromp, xenoncat, mbevand 
             and eXtremal-ik7 for providing 
      optimized CPU, CUDA and AMD equihash solvers.
==================== www.nicehash.com ====================

start.sh: line 39: 9 Illegal instruction ./nheqminer_cpu -l "equihash.${NH_REGION}.nicehash.com:3357" -u "${BTC_ADDR}.${WORKER_NAME}" -t ${THREAD}

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.