Add aardvark-dns for netavark network DNS

https://wiki.archlinux.org/title/Podman?useskinversion=1#Container_DNS_will_not_be_enabled
This commit is contained in:
RealStickman 2023-05-25 10:48:13 +02:00
parent 4f67115b25
commit dd1f1e64dd

View File

@ -327,7 +327,7 @@ fi
if [ $in_podman -eq 1 ]; then if [ $in_podman -eq 1 ]; then
echo "Installing podman" echo "Installing podman"
sudo pacman -S --needed podman podman-dnsname fuse-overlayfs buildah sudo pacman -S --needed podman podman-dnsname fuse-overlayfs buildah aardvark-dns
sudo touch /etc/subuid /etc/subgid sudo touch /etc/subuid /etc/subgid
sudo usermod --add-subuids 100000-165536 --add-subgids 100000-165536 "$USER" sudo usermod --add-subuids 100000-165536 --add-subgids 100000-165536 "$USER"
sudo groupadd -f podman sudo groupadd -f podman