esempio di utilizzo di systemd-nspawn usato come container da un sistema con systemd: [costruire un sistema base] debootstrap --arch=i386 --no-check-gpg testing /mnt/test/Debian/ [dare password] systemd-nspawn -D /mnt/Portatile/Debian/ passwd [agg. utente] systemd-nspawn -D /mnt/Portatile/Debian/ useradd nome_utente [agg. indici] systemd-nspawn -D /mnt/Portatile/Debian/ apt-get update [avviamo il systema] systemd-nspawn -b -D /mnt/Portatile/Debian/ [avviare sistema con rete] systemd-nspawn -b -D /mnt/test/Debian/ --network-veth [avviare con rete con bridge + X condiviso] systemd-nspawn -b -D /home/sacarde/dati-estranei/q3/Debian/ --bind=/tmp/.X11-unix:/tmp/.X11-unix --network-bridge=br0 - host0 nome dell'interfaccia virtuale del guest - ve-Debian nome dell'interfaccia virtuale sull host - es. export DISPLAY=:0; xclock -update 1 p.s. http://punto-informatico.it/4344166/PI/News/pi-guide-contenitori-gnulinux-come-crearli-perche.aspx https://wiki.archlinux.org/index.php/Systemd-nspawn |