summaryrefslogtreecommitdiff
path: root/cmd/podman/system/unshare.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2020-05-08 17:58:00 -0400
committerMatthew Heon <mheon@redhat.com>2020-05-08 18:00:42 -0400
commit8238b7e70688e637d58305287a19e4080f619587 (patch)
tree5b533f6a5ab5668391ae564bad5ed691604753a2 /cmd/podman/system/unshare.go
parentc57c560d9014b38040df8529f09208ba7743f794 (diff)
downloadpodman-8238b7e70688e637d58305287a19e4080f619587.tar.gz
podman-8238b7e70688e637d58305287a19e4080f619587.tar.bz2
podman-8238b7e70688e637d58305287a19e4080f619587.zip
Ensure `podman inspect` output for NetworkMode is right
I realized that setting NetworkMode to private when we are making a network namespace but not configuring it with CNI or Slirp is wrong; that's considered `--net=none` not `--net=private`. At the same time, realized that we actually store whether Slirp is in use, so we can be more specific than just "default" and instead say slirp4netns or bridge. Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'cmd/podman/system/unshare.go')
0 files changed, 0 insertions, 0 deletions