Skip to content

Instantly share code, notes, and snippets.

@jamcole
Last active December 1, 2025 04:30
Show Gist options
  • Select an option

  • Save jamcole/8d8cf09d09a392f876a5724b66f6dd22 to your computer and use it in GitHub Desktop.

Select an option

Save jamcole/8d8cf09d09a392f876a5724b66f6dd22 to your computer and use it in GitHub Desktop.
woodpecker-cli with podman
systemctl --user enable --now podman.socket
# export DOCKER_SOCK=unix:///var/run/user/$(id -u)/podman/podman.sock
woodpecker-cli exec --backend-docker-host unix:///var/run/user/$(id -u)/podman/podman.sock
# likely required for rootless podman to work with woodpecker-ci
# put in ~/.config/containers/containers.conf
[containers]
label=false
devices=["/dev/fuse"]
default_capabilities = [
"CHOWN",
"DAC_OVERRIDE",
"FOWNER",
"FSETID",
"KILL",
"NET_BIND_SERVICE",
"SETFCAP",
"SETGID",
"SETPCAP",
"SETUID",
"SYS_CHROOT",
"SYS_ADMIN",
"MKNOD",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment