Replies: 1 comment 2 replies
-
Basically all resources are only created on the server side, ports,volumes, etc... The remote client just talks vie the libpod API to the server. There is no special magic used to forward ports or volumes to the remote client. The exception is podman machine which will forward ports to the host of the VM and can mount volumes from the host into the VM. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
Not sure if this is a bug or an expected behavior.
I tried to use the Podman remote CLI to create resources and have the container ports exposed on the host running the remote CLI. Simple repro steps:
As expected however, the port is accessible on the backend host:
So my question is: is this the expected behavior of the Podman remote CLI (ports not being opened on the client side)? I've probably missed that, but I couldn't find any relevant documentation on this.
I was thinking that, since communication with the Podman backend is over SSH, maybe having the remote CLI automatically open up an SSH tunnel right after the container is created remotely would make it possible to access those ports from the client host.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions