37 lines
726 B
Markdown
37 lines
726 B
Markdown
# Duino-Coin Docker
|
|
|
|
Docker image for running the **Duino-Coin PC Miner**, optimized for SBCs (e.g., Raspberry Pi, Orange Pi).
|
|
---
|
|
|
|
## Setup
|
|
|
|
### Initialize repository with submodules
|
|
|
|
```bash
|
|
git clone https://git.kopic.hr/tomislav/duino-coin-docker.git
|
|
cd duino-coin-docker
|
|
git submodule update --init --recursive
|
|
```
|
|
|
|
### Run miner with Docker
|
|
|
|
```bash
|
|
docker run -d \
|
|
-e DUCO_USERNAME="your_username" \
|
|
-e DUCO_MINING_KEY="your_base64_encoded_key" \
|
|
-e DUCO_INTENSITY="95" \
|
|
-e DUCO_THREADS="4" \
|
|
/duino-coin-docker:latest
|
|
```
|
|
|
|
* `DUCO_MINING_KEY` must be **Base64-encoded**.
|
|
* All other settings can be adjusted via environment variables.
|
|
|
|
---
|
|
|
|
## Build locally
|
|
|
|
```bash
|
|
docker build -t duino-coin-docker .
|
|
```
|