/etc/hosts and /etc/resolv.conf should be added to NoExtract list
If the filesystem
package ever needs to be updated, these files will prevent the update from working since Docker mounts these files read-only.
EDIT: I've been testing this a bit, and it actually looks like there's a pacman bug, since it's still failing to update even if I add the NoExtract
options myself. The CheckSpace
option doesn't actually honour the NoExtract
options, meaning that if there is a read-only filesystem underneath those files, it will still fail. (This isn't default in this docker image, but it is on my config.)
Link to the pacman issue here: https://bugs.archlinux.org/task/72980