User Tools

Site Tools


general:linux:systemd_nspawn_containers
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


general:linux:systemd_nspawn_containers [2021/08/16 13:28] (current) – created sunkan
Line 1: Line 1:
 +====== To allow reading folder from host ======
 +Add file with the machines name like so:
 +/etc/systemd/nspawn/<name>.nspawn 
 +
 +<code>
 +[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
 +</code>
  
general/linux/systemd_nspawn_containers.txt · Last modified: 2021/08/16 13:28 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki