Difference between revisions of "LXC Ubuntu containers"

From MyWiki
Jump to: navigation, search
Line 2: Line 2:
 
'''lxc-destroy''' --name u1<br>
 
'''lxc-destroy''' --name u1<br>
 
'''lxc-create -t download -n u1'''          to select a distribution from a list<br>
 
'''lxc-create -t download -n u1'''          to select a distribution from a list<br>
In Centos, to enable an x display to tunnel via ssh the xauth program needs bo be installed
+
In Centos, to enable an x display to tunnel via ssh the xauth program needs bo be installed<br>
 +
lxc-attach --name <name>

Revision as of 16:45, 26 June 2015

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
In Centos, to enable an x display to tunnel via ssh the xauth program needs bo be installed
lxc-attach --name <name>