Using socket-proxy with rootless Podman #14
Closed
Albert-aka-Albot
started this conversation in
General
Replies: 1 comment
-
No.
The socker-proxy is for Docker, not podman.
Since you use Podman, simply use the same podman ID to expose the socket for each app under their own socket. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Rootless Podman already exposes its socket under the user’s own UID/GID:
$ systemctl --user start podman.socket $ stat /var/run/user/1000/podman/podman.sock | grep Uid Access: (0660/srw-rw----) Uid: (1000/user) Gid: (1000/user)When running
socket-proxyin this setup, the proxy socket ends up owned by100999:100999:$ podman compose up -d $ stat ./socket-proxy.run/docker.sock | grep Uid Access: (0755/srwxr-xr-x) Uid: (100999/UNKNOWN) Gid: (100999/UNKNOWN)Even after adjusting the file ownership manually,
socket-proxyresets it. So i added UID1000to group100999on host, because some of my podman containers run as1000:1000, and i don't know how to force them to run as100999:100999.Questions:
socket-proxyon top of Podman's rootless mode?socket-proxyfully compatible with Podman, or could problems arise in the future?1000:1000access to the proxy socket?Beta Was this translation helpful? Give feedback.
All reactions