Skip to content

Because servethehome/monero_xmrig docker is outdated and it annoys me

License

Notifications You must be signed in to change notification settings

rblaine95/docker_monero_xmrig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monero XMRig Docker

GitHub Workflow Status (branch) GitHub release GitHub Release Date

Because servethehome/monero_xmrig is very outdated.

XMRig Version: 6.22.1

If a new version for XMRig comes out and you want me to update this docker, feel free to open an issue or do a pull request.

I will try to update this docker as quickly as possible.

Usage

  • $username - pool username
  • $pool - pool address (with protocol, like stratum+tcp://)
  • $threads - Number of threads to mine with (recommended is vCPU / 2)
  • $donate - percentage of hash to donate to devs (not me)
  • $password - optional for most pools
  • $coin - which coin to mine
  • $algo - which algorithm to mine
  • $VERSION - XMRig version to use

Mine specific coin

docker run -ti --rm \
  -e username=$username \
  -e xmrpool=$pool \
  -e numthreads=$threads \
  -e startport=$port \
  -e donate=$donate \
  -e coin=$coin \
  -e VERSION=$VERSION \
  ghcr.io/rblaine95/monero_xmrig

Mine specific algorithm

docker run -ti --rm \
  -e username=$username \
  -e xmrpool=$pool \
  -e numthreads=$threads \
  -e startport=$port \
  -e donate=$donate \
  -e algo=$algo \
  -e VERSION=$VERSION \
  ghcr.io/rblaine95/monero_xmrig

Variable Defaults

  • $threads - output of nproc / 2
  • $port - 3333
  • $xmrpool - stratum+tcp://pool.supportxmr.com
  • $password - docker
  • $donate - 5
  • $coin - monero
  • $algo - null
  • $VERSION - Current XMRig version listed above