What is the path to the podman socket in the host #624
-
I am trying to communicate with the podman api from a client running in the host. On podman running in native linux I start the api using
Then http clients over unix socket can access the api. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
When starting "podman.yaml", it will print out the podman.sock location.
Normally it is under "sock/podman.sock", in the lima instance directory. portForwards:
- guestSocket: "/run/user/{{.UID}}/podman/podman.sock"
hostSocket: "{{.Dir}}/sock/podman.sock" It is started with https://github.com/containers/podman/blob/main/docs/tutorials/remote_client.md |
Beta Was this translation helpful? Give feedback.
When starting "podman.yaml", it will print out the podman.sock location.
Normally it is under "sock/podman.sock", in the lima instance directory.
It is started with
systemctl --user enable --now podman.socket
in the VM.https://github.com/containers/podman/blob/main/docs/tutorials/remote_client.md