LXC Ubuntu containers

From MyWiki
Revision as of 09:52, 20 August 2015 by George2 (Talk | contribs)

Jump to: navigation, search

lxc-ls - list the containers existing on the system
lxc-destroy --name u1
lxc-create -t download -n u1 to select a distribution from a list
lxc-create -t download -n centos-6 ( This gives a nore meaningful name ! )
In Centos, to enable an x display to tunnel via ssh the xauth program needs bo be installed
lxc-attach --name <name>