All Projects → metal3d → docker-xmrig

metal3d / docker-xmrig

Licence: MIT license
Xmrig dockerized to mine monero cryptocurrency

Programming Languages

shell
77523 projects
Dockerfile
14818 projects
Mustache
554 projects
Makefile
30231 projects

Projects that are alternatives of or similar to docker-xmrig

CryptoProfitSwitcher
Extensible profit switcher for crypto coins and algorithms
Stars: ✭ 49 (+19.51%)
Mutual labels:  monero, xmrig
py-cryptonight
Python Cryptonight binding / extension. Monero hash function, proof-of-work, cn_slow_hash()
Stars: ✭ 20 (-51.22%)
Mutual labels:  monero, monero-mining
MinerDashboards
Metric scrapers, InfluxDB queries, and Grafana dashboards for crypto miners. (XMRig, XMRig-proxy, GMiner, MoneroOcean, Belkin WeMo, Telegraf, CoreTemp, CoinMarketCap, Monero Wallet RCP)
Stars: ✭ 13 (-68.29%)
Mutual labels:  xmrig, monero-mining
xmrwasp
Web and stratum proxy for Monero miners.
Stars: ✭ 18 (-56.1%)
Mutual labels:  monero, monero-mining
SilentXMRMiner
A Silent (Hidden) Monero (XMR) Miner Builder
Stars: ✭ 417 (+917.07%)
Mutual labels:  monero, xmrig
p2pool
Decentralized pool for Monero mining
Stars: ✭ 635 (+1448.78%)
Mutual labels:  monero, monero-mining
Crypto-Webminer
Use Crypto Webminer JavaScript miner on various Cryptonight | CN-Lite | CN-Fast | CN-Fast2 | CN-Pico | CN-RWZ | CN-UPX2 | CN-Half | CN-Heavy | CN-Saber (BitTube) | Argon2id - Chukwa Stratum Pools
Stars: ✭ 166 (+304.88%)
Mutual labels:  monero, monero-mining
cryptoloot
Self Hosted Library for CryptoLoot
Stars: ✭ 46 (+12.2%)
Mutual labels:  monero, monero-mining
alpine-xmrig
XMRig miner in an Alpine Linux Docker image.
Stars: ✭ 35 (-14.63%)
Mutual labels:  monero, xmrig
Xmrig
RandomX, CryptoNight, AstroBWT and Argon2 CPU/GPU miner
Stars: ✭ 6,372 (+15441.46%)
Mutual labels:  monero, xmrig
XMRig-Proxy-Frontend
Simple Web app Frontend for XMRig-proxy
Stars: ✭ 27 (-34.15%)
Mutual labels:  monero, xmrig
MoneroTipper
Source code behind /u/MoneroTipsBot, a secure, on-chain Monero tipping service
Stars: ✭ 23 (-43.9%)
Mutual labels:  monero
Coin Hive
CoinHive cryptocurrency miner for node.js
Stars: ✭ 1,923 (+4590.24%)
Mutual labels:  monero
React Coin Hive
Mine cryptocurrency while your users haven't engaged with your content lately
Stars: ✭ 153 (+273.17%)
Mutual labels:  monero
Openmonero
Fully open sourced implementation of MyMonero backend
Stars: ✭ 133 (+224.39%)
Mutual labels:  monero
Coinhive Stratum Mining Proxy
Browser mining on any pool using CoinHive.js library
Stars: ✭ 240 (+485.37%)
Mutual labels:  monero
Monero Python
A comprehensive Python module for handling Monero cryptocurrency
Stars: ✭ 122 (+197.56%)
Mutual labels:  monero
Kasisto
A Monero Point of Sale payment system
Stars: ✭ 120 (+192.68%)
Mutual labels:  monero
Mithril
Pure Rust Monero Miner
Stars: ✭ 112 (+173.17%)
Mutual labels:  monero
MLSAG
Multilayered Linkable Spontaneous Anonymous Group - Implemented as is from paper. Not Monero specific
Stars: ✭ 19 (-53.66%)
Mutual labels:  monero

Xmrig - Monero minner in Docker

Xmrig is an opensource project to mine Monero cryptocurrency. It allows you to mine locally for a "pool", and to get back Monero for your effort.

Here, you can launch xmrig in a docker container to make it easy to launch it on Kubernetes, Swarm, or on local computer using standard docker command.

The image is based on Alpine to reduce size. It works, for now, only on Linux hosts.

  • Note: To make the container mining for your wallet, you'll need to have a monero wallet (see https://mymonero.com/) and follow instructions. Then change options for the container as explained in the following section
  • Note: The Xmrig API is set to port 3000, see documentation: https://github.com/xmrig/xmrig/blob/v3.2.0/doc/API.md
  • Note: this is a CPU version of Xmrig, nvidia version will be proposed later, but that's a bit more complex

If you want to donate for that project, here is my Wallet address:

44vjAVKLTFc7jxTv5ij1ifCv2YCFe3bpTgcRyR6uKg84iyFhrCesstmWNUppRCrxCsMorTP8QKxMrD3QfgQ41zsqMgPaXY5

Or, use that docker container with default options to give me CPU time.

Launch it

Simple as a pie:

docker run --rm -it metal3d/xmrig:latest

You can set up the container to mine for your wallet (see below), by default (withtout any option) you will mine for me. That's a nice way to help me, and to pay me a beer without any cost for you. So thanks ! 🍻 - it's like a donation, thanks if you do it.

To make Xmrig running for you (to let you win some XMR on your wallet), simply change following options using environment variables:

export POOL_URL="here, pool url"
export POOL_USER="Your public monero address"
export POOL_PASS="can be empty for some pool, other use that as miner id"
export DONATE_LEVEL="xmrig project donation in percent, default is 5"

# launch docker container
docker run --name miner --rm -it \
    -e POOL_URL=$POOL_URL \
    -e POOL_USER=$POOL_USER \
    -e POOL_PASS=$POOL_PASS \
    -e DONATE_LEVEL=$DONATE_LEVEL \ 
    metal3d/xmrig

DONATE_LEVEL is not a donation to me, it's the donation included in xmrig project to help developers to continue the project. Please, to help them, let the donation to 5.

Press CTRL+C to stop container, and it will be removed.

See below for complete environment variable list.

Default

By default:

  • pool server is xmr.metal3d.org:8080 that is a proxy pool to gulf.moneroocean.stream
  • user is mine
  • password is "donator" + uuid
  • donation level to xmrig project is "5" (5%)

To not make your CPU burning, this container set:

  • number of threads = number CPU / 2
  • priority to CPU idle (0) - that makes mining process to be activated only when CPU is not used

Complete list of supported environment variable:

  • POOL_USER: your wallet address, default to mine
  • POOL_URL: the pool address, default to xmr.metal3d.org:8080
  • POOL_PASS: the pool password, or worker ID, following the pool documentation, default if you mine for me is "donator + uuid"
  • DONATE_LEVEL: percentage of donation to Xmrig.com project (please, leave the default that is 5 or above, XMrig is a nice project, give'em a bit CPU time)
  • PRIORITY: CPU priority. 0=idle, 1=normal, 2 to 5 for higher priority
  • THREADS: number of thread to start, default to number CPU / 2
  • ACCESS_TOKEN: Bearer access token to access to xmrig API (served on 3000 port), default is a generated token (uuid)
  • ALGO: mining algorithm https://xmrig.com/docs/algorithms (default is empty)
  • COIN: that is the coin option instead of algorithm (default is empty)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].