-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No podman.sock
when using alpine linux
#23422
Comments
you need to run the podman service in order to get the API socket On systemd distros you can enable the podman.socket unit as we support socket activation (which is what debian seems to be doing by default) |
Running Alpine linux is not systemd based. |
Use OpenRC instead: |
I don't see any mention of running this service on the alpine linux wiki or in the podman installation manual. |
No, it seems to be missing. It was on the Docker page, though. https://wiki.alpinelinux.org/wiki/Docker Maybe their wiki could be improved? It is possible it only has: https://wiki.alpinelinux.org/wiki/OpenRC Note that you don't need the podman.sock to run it locally. You only need the socket, to use the API or access remotely. |
The configuration for /etc/init.d/podman is in /etc/conf.d/podman, by the way. There you can enable rootless.
|
Issue Description
Socket podman.sock does not exist in alpine linux.
Steps to reproduce the issue
Describe the results you received
does not return anything.
Describe the results you expected
A socket should exist somewhere, as it does on debian, for example:
/run/podman/podman.sock
podman info output
Podman in a container
No
Privileged Or Rootless
Privileged
Upstream Latest Release
Yes
Additional environment details
Proxmox: pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.4-2-pve)
Alpine on VM.
Additional information
No response
The text was updated successfully, but these errors were encountered: