mirror of https://github.com/containers/podman.git
Setting port mappings only works when CNI is configuring our network (or slirp4netns, in the rootless case). This is not the case with `--net=host`, `--net=container:`, and joining the network namespace of the pod we are part of. Instead of allowing users to do these things and then be confused why they do nothing, let's match Docker and return a warning that your port mappings will do nothing. Signed-off-by: Matthew Heon <mheon@redhat.com> |
||
|---|---|---|
| .. | ||
| config_linux.go | ||
| config_linux_cgo.go | ||
| config_linux_nocgo.go | ||
| container.go | ||
| container_create.go | ||
| namespaces.go | ||
| oci.go | ||
| pod_create.go | ||
| ports.go | ||
| security.go | ||
| storage.go | ||
| validate.go | ||