Connect to Podman services using URI schemes
mainPodmanPy interacts with Podman services via a RESTful API. You specify the connection method using a URI scheme. The following schemes are supported:
- SSH:
http+ssh://[<login>@]<hostname>[:<port>]/<full filesystem path>(Thesshscheme is also accepted as an alias). - Unix Domain Socket (UDS):
http+unix://<full filesystem path>(Theunixscheme is also accepted as an alias). - TCP:
tcp://<hostname>:<port>(Note: TCP support may be limited depending on the package version; check current implementation status).
http+ssh://alice@api.example:22/run/user/1000/podman/podman.sock
http+unix:///run/podman/podman.sock
tcp://api.example:8888