mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-28 11:17:59 +00:00
* Add BaseHostsFile to container configuration * Do not copy /etc/hosts file from host when creating a container using Docker API Signed-off-by: Gavin Lam <gavin.oss@tutamail.com>
5 lines
95 B
Bash
5 lines
95 B
Bash
if ! is_rootless; then
|
|
umount /etc/hosts
|
|
else
|
|
$PODMAN_BIN unshare umount /etc/hosts
|
|
fi
|