summaryrefslogtreecommitdiff
path: root/libpod/container_attach.go
diff options
context:
space:
mode:
authorMatthew Heon <mheon@redhat.com>2018-12-11 16:53:12 -0500
committerMatthew Heon <mheon@redhat.com>2018-12-11 16:56:11 -0500
commitaa9507054d820a2a2999538c04057d8100c15c55 (patch)
tree476bb1757561e8d33eb9e663fc59eed92a6b8085 /libpod/container_attach.go
parent878301f79db4483697eec2ab2563a0a9d465b26b (diff)
downloadpodman-aa9507054d820a2a2999538c04057d8100c15c55.tar.gz
podman-aa9507054d820a2a2999538c04057d8100c15c55.tar.bz2
podman-aa9507054d820a2a2999538c04057d8100c15c55.zip
Containers sharing a netns should share resolv/hosts
When sharing a network namespace, containers should also share resolv.conf and /etc/hosts in case a container process made changes to either (for example, if I set up a VPN client in container A and join container B to its network namespace, I expect container B to use the DNS servers from A to ensure it can see everything on the VPN). Resolves: #1546 Signed-off-by: Matthew Heon <mheon@redhat.com>
Diffstat (limited to 'libpod/container_attach.go')
0 files changed, 0 insertions, 0 deletions