github.com/containers/podman/v5@v5.1.0-rc1/test/compose/etc_hosts/setup.sh (about)

     1  if ! is_rootless; then
     2      mount --bind $TEST_ROOTDIR/etc_hosts/hosts /etc/hosts
     3  else
     4      $PODMAN_BIN unshare mount --bind $TEST_ROOTDIR/etc_hosts/hosts /etc/hosts
     5  fi