podman/pkg/specgen/generate
cdoern 831d6534fb fix pod network handling with a host network
the function `GetDefaultNamespaceMode` for pods checks if we are sharing each namespace
and if not, returns the default which in the case of a network is slirp.

add a switch case for explicitly checking if the pod's network mode is host
and if so, return specgen.Host for the container

resolves #13763

Signed-off-by: cdoern <cbdoer23@g.holycross.edu>
Signed-off-by: cdoern <cdoern@redhat.com>
2022-06-02 14:16:28 -04:00
..
kube Use containers/common/pkg/util.StringToSlice 2022-05-23 12:16:54 -04:00
config_linux.go linter: enable unconvert linter 2022-05-19 13:59:15 +02:00
config_linux_cgo.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
config_linux_nocgo.go go fmt: use go 1.18 conditional-build syntax 2022-03-18 09:11:53 +01:00
config_linux_test.go Add filepath glob support to --security-opt unmask 2021-05-04 14:40:43 -04:00
container.go linter: enable unconvert linter 2022-05-19 13:59:15 +02:00
container_create.go Merge pull request #14121 from cdoern/kube 2022-05-09 04:48:49 -04:00
namespaces.go fix pod network handling with a host network 2022-06-02 14:16:28 -04:00
oci.go fix --init with /dev bind mount 2022-05-23 13:59:05 +02:00
pause_image.go [BZ #2083997] pod: build pause image in custom user NS 2022-05-13 15:41:28 +02:00
pod_create.go pkg/specgen: parse default network mode on server 2022-06-01 17:13:30 +02:00
ports.go Use containers/common/pkg/util.StringToSlice 2022-05-23 12:16:54 -04:00
ports_bench_test.go fix a number of errcheck issues 2022-03-22 13:15:28 +01:00
ports_test.go use libnetwork from c/common 2022-01-12 17:07:30 +01:00
security.go Use containers/common/pkg/util.StringToSlice 2022-05-23 12:16:54 -04:00
storage.go fix --init with /dev bind mount 2022-05-23 13:59:05 +02:00
validate.go Support running podman under a root v2 cgroup 2022-05-21 09:28:52 -05:00