|
|
| (2 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| − | '''lxc-ls''' - list the containers existing on the system<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 centos-6''' ( This gives a nore meaningful name ! ) <br>
| |
| − | Files are located under /var/lib/lxc <br>
| |
| | | | |
| − | In Centos, to enable an x display to tunnel via ssh the xauth program needs bo be installed<br>
| |
| − | '''lxc-attach''' --name <name> <br>
| |
| − |
| |
| − |
| |
| − |
| |
| − | sudo lxc-ls --fancy <br>
| |
| − | sudo lxc-start --name u1 --daemon <br>
| |
| − | sudo lxc-info --name u1 <br>
| |
| − | sudo lxc-stop --name u1 <br>
| |
| − | sudo lxc-destroy --name u1 <br>
| |
| − |
| |
| − | Running a desktop - http://xmodulo.com/lxc-containers-ubuntu.html
| |