Rootless Docker-Compose Guide #10644
-
Hello, Is there some source where I can read about the setup for rootless docker-compose that was introduced in 3.2? Is it the same as shown in https://www.redhat.com/sysadmin/podman-docker-compose Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@baude @Luap99 @rhatdan Seems like a good opportunity for a blog? |
Beta Was this translation helpful? Give feedback.
-
Yes it is almost the same as described in the blog. Some differences are:
|
Beta Was this translation helpful? Give feedback.
Yes it is almost the same as described in the blog. Some differences are:
systemctl --user
instead ofsudo systemctl
curl -H "Content-Type: application/json" --unix-socket $XDG_RUNTIME_DIR/podman/podman.sock http://localhost/_ping
DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
, this allows you to skip the -H on each docker-compose command.podman unshare --rootless-cni