diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-03-17 18:54:47 +0100 |
---|---|---|
committer | Paul Holzinger <pholzing@redhat.com> | 2022-03-17 18:59:55 +0100 |
commit | 1fd76c901f2c69cf74777e33e25033d70d9645a5 (patch) | |
tree | f6e85d6e865dcdf857069dd5509401fd1a7658b7 /libpod/boltdb_state_linux.go | |
parent | e59f71d230cf5435dc569add90e22cc644e38647 (diff) | |
download | podman-1fd76c901f2c69cf74777e33e25033d70d9645a5.tar.gz podman-1fd76c901f2c69cf74777e33e25033d70d9645a5.tar.bz2 podman-1fd76c901f2c69cf74777e33e25033d70d9645a5.zip |
podman machine: remove hostip from port
Inside the podman machine vm we always remove the hostip from the port
mapping because this should only be used on the actual host. Otherwise
you run into issues when we would bind 127.0.0.1 or try to bind a
host address that is not available in the VM.
This was already done for cni/netavark ports and slirp4netns but not for
the port bindings inside libpod which are only used as root.
[NO NEW TESTS NEEDED] We still do not have machine tests!
Fixes #13543
Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'libpod/boltdb_state_linux.go')
0 files changed, 0 insertions, 0 deletions