This is a lightweight (< 10MB) XMRig with Alpine Linux in a container. It is to ease the setup by just entering 2 variables to start mining crypto using CPU.
This docker support linux both amd64 and arm64/v8 architectures.
x.x.x: A specific version
latest: Last stable version
Refer to https://docs.docker.com/engine/install/
To quickly get started running a 24/7 CPU Miner instance, use the following command:
sudo docker run -e YOUR_ADDRESS='{XMRig Address Format}' -e YOUR_WORKER_NAME='{Input Worker Name}' cooleye72/xmrig:latest
Example 1: Get started fast command
sudo docker run -e YOUR_ADDRESS=NANO:nano_541djjt9qa1hxik3x -e YOUR_WORKER_NAME=MyMining1 cooleye72/xmrig:latest
Note: Algo default set to rx/0 and pool server default set to rx.unmineable.com:3333
To change the algorithm and server URL to mine with graphic card, use the following command:
sudo docker run -e ALGO_MODE='{ALGO_MODE}' -e POOL_URL='{POOL_URL}' -e YOUR_ADDRESS='{XMRig Address Format}' -e YOUR_WORKER_NAME='{Input Worker Name}' cooleye72/xmrig:latest
Example 2: Change algorithm and server command
sudo docker run -e ALGO_MODE=rx/0 -e POOL_URL=rx.unmineable.com:3333 -e YOUR_ADDRESS=NANO:nano_541djjt9qa1hxik3x -e YOUR_WORKER_NAME=MyMining1 cooleye72/xmrig:latest
Note: Please refer to the Configuration section below for the environment variable parameters.
| Environment Variable | Description |
|---|---|
| ALGO_MODE | Set the mode for the algorithms. Click this for more mining algorithm. Default: rx/0 |
| POOL_URL | Default: randomX (CPU) - rx.unmineable.com:3333 |
| YOUR_ADDRESS | Set the wallet id using XMRig format. Example: NANO:nano_541djjt9qa1hxik3x |
| YOUR_WORKER_NAME | Set the work name. Default: MyMining1 |
This image has been created with the best intentions and an expert understanding of docker, but it should not be expected to be flawless. The referral code is fixed to support the continuous development.
| Cryptocurrency | Network | Donation Address |
|---|---|---|
| BTC | BTC BSC | 1HPiCiM6WSEt8cNrwxbkngn6gPmW1VHfnW 0x4edD9bc9AcED599e564c85bc10C9ea021eb3B27a |
| ETH/DAI/BUSD | ERC20/BSC | 0x4edD9bc9AcED599e564c85bc10C9ea021eb3B27a |
| BNB | BSC | 0x4edD9bc9AcED599e564c85bc10C9ea021eb3B27a |
| SOL | Solana | AHqYGyvzv4nHU9rJSK65ZkTGcuWHonBYWpepCi31eti9 |
| USDC/USDT | ERC20/BSC TRX SOL | 0x4edD9bc9AcED599e564c85bc10C9ea021eb3B27a TTYPBT3b6NZaJ1o55u72sWJwH7QD9YJF1Z AHqYGyvzv4nHU9rJSK65ZkTGcuWHonBYWpepCi31eti9 |
| ADA | Cardano | addr1qx5993zz3h0dwaffskuwmujk95kutmgk4928zdul2lrz8crq7n2k74jtz0xalhhvv40ntqa8hyc239fzwu6kj67hgu0qetwfgf |
| ZIL | zilliqa | zil1clrajs65k8aq5mla0lsa0d7fluh8ctjgv69mtf |
| CRO | Cronos/ERC20 | 0x81bd69c5EB407917421104714Ad3F2Bc65748a31 |
| All others coins (Matic, Cake, etc...) | Polygon, BSC, Fantom, Avalanche, Harmony | 0x4edD9bc9AcED599e564c85bc10C9ea021eb3B27a |
Content type
Image
Digest
sha256:f7e590b24…
Size
8.9 MB
Last updated
over 2 years ago
docker pull cooleye72/xmrig