# Podman Quadlet unit for the Drone Docker runner 1.8.5. # The runner drives Podman through its Docker-compatible API socket, so # podman.socket must be enabled on this host (scripts/20-install.sh does it). # Install: /etc/containers/systemd/drone-runner.container, then # systemctl daemon-reload && systemctl start drone-runner [Unit] Description=Drone Docker runner 1.8.5 (Podman socket) Requires=podman.socket After=podman.socket network-online.target Wants=network-online.target [Container] ContainerName=drone-runner Image=docker.io/drone/drone-runner-docker:1.8.5 Pull=never EnvironmentFile=/etc/drone/runner.env # Root-equivalent access to the container engine: dedicate runner hosts to CI. Volume=/run/podman/podman.sock:/var/run/docker.sock # SELinux: allow the container to use the host socket. SecurityLabelDisable=true [Service] Restart=always TimeoutStartSec=120 [Install] WantedBy=multi-user.target