fait moi une commande qui configure par default l'adresse du minage que je choisis dans…
- User
fait moi une commande qui configure par default l'adresse du minage que je choisis dans le docker . run : docker hub nicehash
Explore yassinemaachi/nicehash-os
yassinemaachi/nicehash-os 2 By yassinemaachi
• Updated over 2 years ago IMAGE Pulls 100K+
nichhash miner cpu Project build from Equihash miner for NiceHash official repo.
Install docker on your machine following the official documentation: https://docs.docker.com/get-docker/ Start using this machine as a worker for mining To run the mining worker:
docker run -d --name miner-nicehash-rig-001 -e WORKER_NAME=miner-nicehash-rig-001 yassinemaachi/nicehash-os:latest You can configure the worker using environment variables:
nicehash region: eu, usa, hk, jp, br, in (default: eu) NH_REGION=eu
algorithm to use: (default: equihash) ALGO=equihash
Bitcoin address: (default: dev address) BTC_ADDR=3D27DJeRjAWg7XrD5yCjywujbPbwifKFWh
Worker name: (default: container id) WORKER_NAME=miner01
Number of threads: (default: total CPU core) THREAD=2 To see the logs of the mining worker:
docker logs miner-nicehash-rig-001 -f To stop the mining worker:
docker stop miner-nicehash-rig-001 To delete the mining worker:
docker rm miner-nicehash-rig-001 Docker Pull Command docker pull yassinemaachi/nicehash-os Why Overview What is a Container Products Product Overview Product Offerings Docker Desktop Docker Hub Features Container Runtime Developer Tools Docker App Kubernetes Developers Getting Started Play with Docker Community Open Source Documentation Company About Us Resources Blog Customers Partners Newsroom Events and Webinars Careers Contact Us System Status © 2024 Docker, Inc. All rights reserved. | Terms of Service | Subscription Service Agreement | Privacy | Legal
Cookies Settings
- Assistant
Pour configurer par défaut l'adresse Bitcoin de minage que vous souhaitez utiliser dans une commande Docker, vous devez spécifier une variable d'environnement
BTC_ADDRlorsque vous exécutez le conteneur Docker. Voici comment vous pouvez faire cela:Supposons que vous souhaitez utiliser votre propre adresse Bitcoin
mon_adresse_bitcoinpour les opérations de minage. Vous pouvez lancer le conteneur Docker avec votre adresse en ajoutant la variable d'environnementBTC_ADDRà votre commandedocker run. Voici l'exemple de commande: