general:linux:systemd_nspawn_containers
This is an old revision of the document!
To allow reading folder from host
Add file with the machines name like so: /etc/systemd/nspawn/<name>.nspawn
[Files] Bind=/home [Exec] ResolvConf=copy-host #PrivateUsers=false #Needed when a .nspawn file is used (since bullseye https://github.com/systemd/systemd/issues/12313) Capability=CAP_NET_ADMIN
general/linux/systemd_nspawn_containers.1629120505.txt.gz · Last modified: 2021/08/16 13:28 by sunkan