LXC command cheat sheet / quick reference

‹ Long boring physics lecture #17 | quilt cheat sheet / quick reference ›
lxc-create -t download -n mycontainer -- -d ubuntu -r trusty -a amd64
Create an (unstarted) container. Other architectures include: i386
lxc-start -n mycontainer -d
Boot up a container -- excluding -d will also run lxc-console
lxc-attach -n mycontainer
Execute a root shell inside of a started container
lxc-console -n mycontainer
Open a login screen inside of a started container
lxc-stop -n mycontainer
Shut down a started container
Subscribe to All Posts - Wesley Tanaka