summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-18 11:20:39 +0100
committerGitHub <noreply@github.com>2022-03-18 11:20:39 +0100
commitd72a829f59992dfe29cb84125fde3cce631e6436 (patch)
treef6e85d6e865dcdf857069dd5509401fd1a7658b7
parente59f71d230cf5435dc569add90e22cc644e38647 (diff)
parent1fd76c901f2c69cf74777e33e25033d70d9645a5 (diff)
downloadpodman-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.go2
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
}