Lasse Luttermann Poulsen
IRC: llp on oftc.net.
nspawn
Start by creating a new systemroot with Debootstrap:
# debootstrap jessie ./nspawn-jail http://ftp.debian.org/debian
chroot
# mount -o bind /dev nspawn-jail/dev # mount -t proc none nspawn-jail/proc # mount -t sysfs none nspawn-jail/sys # chroot nspawn-jail /bin/bash
Set a root password
# passwd
Install dbus
# apt-get install dbus
Setup apt
Edit /etc/apt/sources.list to include the following lines to have security updates inside the container:
deb http://httpredir.debian.org/debian jessie-updates main deb-src http://httpredir.debian.org/debian jessie-updates main deb http://security.debian.org/ jessie/updates main deb-src http://security.debian.org/ jessie/updates main
SecureTTY
To overcome some default security restrictions.
rm /etc/securetty
hostname
Edit /etc/hostname to reflect the desired hostname
