CPU Miner (minerd) for Raspberry Pi and other ARM based boards
- Docker installed
- make
- Miningpool (e.g. Minergate)
To run the cpuminer container
docker run -d \
--name minerd \
-e ALGO="cryptonight"
-e URL="stratum+tcp://xmr.pool.minergate.com:45700" \
-e EMAIL="youremail@mail.com" \
-e PASSWORD="x" \
-e THREADS="1" \
afritzler/cpuminer-arm:latest
You can change the thread count by adjusting the THREADS=4
variable. Make sure your device doesn't overheat!
watch vcgencmd measure_temp
Get the github repository first
git clone https://github.com/afritzler/cpuminer-arm.git
To build the Docker image locally
cd cpuminer-arm
make
To publish the image to Dockerhub
docker login
...
make push-cpuminer