Dockerized Driver for Argon ONE π³
Useful when you're running an operating system other than Raspberry Pi OS.
This Docker image is based on the work of johnmerchant.
To get a local copy up and running follow these simple steps.
- Create
docker-compose.yml
as follows:
version: "3.9"
services:
argonone:
container_name: argonone
image: wielorzeczownik/argonone:latest
privileged: true
restart: unless-stopped
- Run
docker compose
to start Argon ONE.
docker compose up -d
- You're all set!
- Run the following command:
docker run -d \
--name argonone \
--privileged \
--restart unless-stopped \
wielorzeczownik/argonone:latest
- You're all set!
To configure Argon ONE, add another volume mounted to /etc/argononed.conf
as shown below:
version: "3.9"
services:
argonone:
container_name: argonone
image: wielorzeczownik/argonone:latest
privileged: true
restart: unless-stopped
volumes:
- {your_cool_file}.conf:/etc/argononed.conf
or
docker run -d \
--name argonone \
--privileged \
--restart unless-stopped \
-v {your_cool_file}.conf:/etc/argononed.conf \
wielorzeczownik/argonone:latest
#
# Argon One Fan Configuration
#
# List below the temperature (Celsius) and fan speed (in percent) pairs
# Use the following form:
# min.temperature=speed
#
# Example:
# 55=10
# 60=55
# 65=100
#
# Above example sets the fan speed to
#
# NOTE: Lines begining with # are ignored
#
# Type the following at the command line for changes to take effect:
# sudo systemctl restart argononed.service
#
# Start below:
55=10
60=55
65=100
Additionally, if you don't have I2C enabled below I insert instructions on how to enable it on Alpine Linux
system:
Add the following line to your /boot/config.txt
or /boot/usercfg.txt
file:
dtparam=i2c_arm=on
You may also need to load the i2c-dev module temporarily with the following command:
modprobe i2c-dev
To make the module load at boot permanently, create a file called /etc/modules-load.d/i2c.conf
with the following content:
i2c-dev
Now, your I2C hardware should be enabled, and you can proceed with configuring Argon ONE.
If you encounter any issues, feel free to send me a private message or open an issue here.