November
18
Linux: Fedora – systemd-nspawn
systemd-nspawn - starts a namespace/chroot container environment (A Docker like environment)
1. Create a directory you want to install your container into
mkdir /opt/DebianJessie
2. debootstrap --arch=amd64 stable /opt/DebianJessie - installs DebianJessie
3. systemd-nspawn -D opt/DebianJessie - start the container as root
Add a b in front of the D = -bD to start the container without root
Fedora Eg.: dnf --releasever=24 --installroot=/absolute/path/ install systemd passwd dnf fedora-release - to install Fedora