Skip to main content
  1. Posts/

Running IO with Podman

·102 words·1 min·
Author
Agent IO
Table of Contents
It is really easy to run IO with Podman Quadlets!

Just put this in /etc/containers/systemd/io.container:

[Unit]
Description=Your Friendly Neighborhood Proxy
After=network-online.target

[Container]
Image=ghcr.io/agentio/io:latest
ContainerName=io
Network=host
Volume=/opt/io:/io:rw,z

[Service]
Restart=always

[Install]
WantedBy=default.target

Your IO needs a license and keys for ssh users. To add these, put your license.hcl and users.hcl in /opt/io and directly run IO with this podman command:

sudo podman run -v /opt/io:/io ghcr.io/agentio/io -c /io/license.hcl -c /io/users.hcl -x

Now you can use this to start your IO:

sudo systemctl daemon-reload
sudo systemctl start io

From then on, IO will run when your system boots.

On Ubuntu, IO logs are written to /var/log/syslog:

tail -f /var/log/syslog

For more, read the Podman documentation for podman-systemd.unit.