arch-install-scripts
arch-install-scripts copied to clipboard
pacstrap fails when running in a (privileged) Podman (which is like Docker) container on Fedora
https://wiki.archlinux.org/index.php?title=Install_Arch_Linux_via_Docker fails when following those instructions on a Fedora host:
$ podman run --privileged -it --rm --volume "/tmp/pacstrap:/target" archlinux
# pacman -Syu arch-install-scripts
# pacstrap /target base
==> Creating install root at /target
mount: /target/dev: permission denied.
dmesg(1) may have more information after failed mount system call.
==> ERROR: failed to setup chroot /target
This isn't blocking me, as I can run pacstrap
directly on a Fedora host, but I thought it may be useful to at least record this here.
Also added this to https://wiki.archlinux.org/title/Talk:Install_Arch_Linux_via_Docker in case anyone else searches the Wiki for this.
Can you include the output of dmesg
? Have you tried adding -N
?
Can you include the output of
dmesg
?
It doesn't show any new entries when this happens.
Have you tried adding
-N
?
[root@84146d41d510 /]# pacstrap -N /target base
unshare: no line matching user "root" in /etc/subuid: Success
But to be honest I currently don't really need this (anymore) myself... do you want to keep this open anyway, or close?