diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 3951e32e8f..b741a1fff9 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -1075,14 +1075,17 @@ Build and boot a minimal Fedora distribution in a container - # dnf -y --releasever=25 --installroot=/srv/mycontainer \ + # dnf -y --releasever=27 --installroot=/var/lib/machines/f27container \ --disablerepo='*' --enablerepo=fedora --enablerepo=updates install \ systemd passwd dnf fedora-release vim-minimal -# systemd-nspawn -bD /srv/mycontainer +# systemd-nspawn -bD /var/lib/machines/f27container This installs a minimal Fedora distribution into the - directory /srv/mycontainer/ - and then boots an OS in a namespace container in it. + directory /var/lib/machines/f27container + and then boots an OS in a namespace container in it. Because the installation + is located underneath the standard /var/lib/machines/ + directory, it is also possible to start the machine using + systemd-nspawn -M f27container.