summaryrefslogtreecommitdiff
path: root/libpod/mounts_linux.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-02-23 07:52:05 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2019-02-23 07:52:10 -0500
commitc83e78277a9d238afff2178ec361be7f64620b0c (patch)
tree9e8db703f0f252aec1f55ff4b26aaa93b70ddce7 /libpod/mounts_linux.go
parent0969d725a3b302d9baa0616a204f7fc824404973 (diff)
downloadpodman-c83e78277a9d238afff2178ec361be7f64620b0c.tar.gz
podman-c83e78277a9d238afff2178ec361be7f64620b0c.tar.bz2
podman-c83e78277a9d238afff2178ec361be7f64620b0c.zip
In shared networkNS /etc/resolv.conf&/etc/hosts should be shared
We should just bind mount the original containers /etc/resolv.conf and /etchosts into the new container. Changes in the resolv.conf and hosts should be seen by all containers, This matches Docker behaviour. In order to make this work the labels on these files need to have a shared SELinux label. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod/mounts_linux.go')
0 files changed, 0 insertions, 0 deletions