diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-08-25 09:29:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 09:29:03 -0400 |
commit | fefa0b32c74fc5d394a0e2bd5b4564bedb3ed15d (patch) | |
tree | 06249cd6d0df4cbc5d32ff4056eccdfd899ccab3 /libpod/runtime_pod_infra_linux.go | |
parent | 23f9565547ae2a6b0154e6913abf7f1232f0ece0 (diff) | |
parent | 4b2dc48d0bcde9d9dccb05f829019a52f3eddec7 (diff) | |
download | podman-fefa0b32c74fc5d394a0e2bd5b4564bedb3ed15d.tar.gz podman-fefa0b32c74fc5d394a0e2bd5b4564bedb3ed15d.tar.bz2 podman-fefa0b32c74fc5d394a0e2bd5b4564bedb3ed15d.zip |
Merge pull request #11314 from Luap99/expose-ports
podman inspect show exposed ports
Diffstat (limited to 'libpod/runtime_pod_infra_linux.go')
-rw-r--r-- | libpod/runtime_pod_infra_linux.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/runtime_pod_infra_linux.go b/libpod/runtime_pod_infra_linux.go index 49213032e..9236fb1f5 100644 --- a/libpod/runtime_pod_infra_linux.go +++ b/libpod/runtime_pod_infra_linux.go @@ -112,7 +112,8 @@ func (r *Runtime) makeInfraContainer(ctx context.Context, p *Pod, imgName, rawIm options = append(options, WithNetworkOptions(p.config.InfraContainer.NetworkOptions)) } } - options = append(options, WithNetNS(p.config.InfraContainer.PortBindings, !p.config.InfraContainer.Userns.IsHost(), netmode, p.config.InfraContainer.Networks)) + // FIXME allow pods to have exposed ports + options = append(options, WithNetNS(p.config.InfraContainer.PortBindings, nil, !p.config.InfraContainer.Userns.IsHost(), netmode, p.config.InfraContainer.Networks)) } // For each option in InfraContainerConfig - if set, pass into |