diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-03-18 11:20:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-18 11:20:39 +0100 |
commit | d72a829f59992dfe29cb84125fde3cce631e6436 (patch) | |
tree | f6e85d6e865dcdf857069dd5509401fd1a7658b7 | |
parent | e59f71d230cf5435dc569add90e22cc644e38647 (diff) | |
parent | 1fd76c901f2c69cf74777e33e25033d70d9645a5 (diff) | |
download | podman-d72a829f59992dfe29cb84125fde3cce631e6436.tar.gz podman-d72a829f59992dfe29cb84125fde3cce631e6436.tar.bz2 podman-d72a829f59992dfe29cb84125fde3cce631e6436.zip |
Merge pull request #13544 from Luap99/root-machine-port
podman machine: remove hostip from port
-rw-r--r-- | libpod/oci_conmon_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/oci_conmon_linux.go b/libpod/oci_conmon_linux.go index a328f7621..72864b656 100644 --- a/libpod/oci_conmon_linux.go +++ b/libpod/oci_conmon_linux.go @@ -1199,7 +1199,7 @@ func (r *ConmonOCIRuntime) createOCIContainer(ctr *Container, restoreOptions *Co cmd.ExtraFiles = append(cmd.ExtraFiles, childSyncPipe, childStartPipe) if r.reservePorts && !rootless.IsRootless() && !ctr.config.NetMode.IsSlirp4netns() { - ports, err := bindPorts(ctr.config.PortMappings) + ports, err := bindPorts(ctr.convertPortMappings()) if err != nil { return 0, err } |