LXC Tipps&Tricks

screen -dmS init-login lxc-start -n login2

root@dione:/usr/lib/lxc# lxc-create -n login2 -t ubuntu — -p /lxc/login2

No config file specified, using the default config
debootstrap is /usr/sbin/debootstrap
Checking cache download in /var/cache/lxc/precise/rootfs-i386 …
Copy /var/cache/lxc/precise/rootfs-i386 to /lxc/login2/rootfs …
Copying rootfs to /lxc/login2/rootfs …
grep: /lxc/login2/config: No such file or directory

##
# The default user is ‚ubuntu‘ with password ‚ubuntu‘!
# Use the ’sudo‘ command to run tasks as root in the container.
##

‚ubuntu‘ template installed
‚login2‘ created

 

root@dione:~# lxc-create -n bind2 -f /lxc/bind2/conf -t ubuntu — -p /lxc/bind2