Skip to content

sicXnull/docker-duino-coin

 
 

Repository files navigation

Dockerized Duino-Coin Miner

This repository contains a Dockerized version of the Duino-Coin Miner.

Sponsor Docker Image CIDocker Hub Image simeononsecurity/duinocoinsimeononsecurity.com website

Docker Container

Build or Pull the Docker Image

Build

git clone https://github.com/simeononsecurity/docker-duino-coin.git
cd duino-coin
docker build -t duinocoin .

Pull

docker pull simeononsecurity/duinocoin

Run the Docker Container with Docker Run

docker run -td --name duco-container --restart unless-stopped \
  -e DUCO_USERNAME="your_actual_username_or_walletname" \
  -e DUCO_MINING_KEY="your_actual_mining_key" \
  duinocoin

Docker Run Example with Configurable Options

# Build the Docker Image
docker build -t duinocoin .

# Run the Docker Container with Custom Configuration
docker run -td --name duco-container --restart unless-stopped \
  -e DUCO_USERNAME="your_actual_username_or_walletname" \
  -e DUCO_MINING_KEY="your_actual_mining_key" \
  -e DUCO_INTENSITY=50 \
  -e DUCO_THREADS=2 \
  -e DUCO_START_DIFF="MEDIUM" \
  -e DUCO_DONATE=1 \
  -e DUCO_IDENTIFIER="Auto" \
  -e DUCO_ALGORITHM="DUCO-S1" \
  -e DUCO_LANGUAGE="english" \
  -e DUCO_SOC_TIMEOUT=20 \
  -e DUCO_REPORT_SEC=300 \
  -e DUCO_RASPI_LEDS="n" \
  -e DUCO_RASPI_CPU_IOT="n" \
  -e DUCO_DISCORD_RP="n" \
  duinocoin

Run the Docker Container with Docker Compose

Create the docker compose file

nano docker-compose.yml

Copy and past into the docker-compose.yaml file in your editor

version: '3'
services:
  duco-container:
    image: simeononsecurity/duinocoin:latest
    container_name: duco-container
    restart: unless-stopped
    environment:
      - DUCO_USERNAME=your_actual_username_or_walletname
      - DUCO_MINING_KEY=your_actual_mining_key
      - DUCO_INTENSITY=50 
      - DUCO_THREADS=2 
      - DUCO_START_DIFF=MEDIUM 
      - DUCO_DONATE=1 
      - DUCO_IDENTIFIER=Auto 
      - DUCO_ALGORITHM=DUCO-S1 
      - DUCO_LANGUAGE=english  # Adjusted the language key if needed
      - DUCO_SOC_TIMEOUT=20 
      - DUCO_REPORT_SEC=300 
      - DUCO_RASPI_LEDS=n 
      - DUCO_RASPI_CPU_IOT=n 
      - DUCO_DISCORD_RP=n
Run the file
docker-compose up -d

Feel free to adjust the environment variables as needed for your mining preferences. The example includes some commonly used options, and you can refer to the Duino-Coin README for more details on available configurations.

If you have any questions or need further assistance, don't hesitate to reach out!

Releases

No releases published

Packages

No packages published

Languages

  • Shell 50.4%
  • Dockerfile 49.6%