Skip to content

Instantly share code, notes, and snippets.

@rma92
Created February 6, 2026 15:20
Show Gist options
  • Select an option

  • Save rma92/4f3397d67dea65d4f203cf87bb60d543 to your computer and use it in GitHub Desktop.

Select an option

Save rma92/4f3397d67dea65d4f203cf87bb60d543 to your computer and use it in GitHub Desktop.

Set up Podman Compose on Debian

Note: podman-compose uses rootless podman to do the compose. podman compose uses the socket and root daemon.

sudo apt install podman podman-compose podman-docker

systemctl --user enable --now podman.socket
systemctl --user status podman.socket

# confirm it works
ls -l "$XDG_RUNTIME_DIR/podman/podman.sock"

# make it keep working after log in / out
loginctl enable-linger "$USER"
systemctl --user enable --now podman.socket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment