User Tools

Site Tools


lxc_images

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lxc_images [2017/08/09 08:21] – created luke7858lxc_images [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 15: Line 15:
 <sxh bash> <sxh bash>
 # lxc-create -n Ubuntu-14.04LTS -t ubuntu -- -r trusty -a amd64 # lxc-create -n Ubuntu-14.04LTS -t ubuntu -- -r trusty -a amd64
 +</sxh>
 +Example Ubutu 16.04 LTS:
 +<sxh bash>
 +# lxc-create -n Ubuntu-16.04LTS -t ubuntu -- -r xenial -a amd64
 +</sxh>
 +\\
 +=== NOTE ===
 +Most of these containers are completely blank/fresh images. 
 +\\
 +These images do not have basic commands like 'ls' and 'cat'. To export your local path, simply run the following command:
 +<sxh bash>
 +tee -a ~/.bashrc <<EOF
 +export PATH=$PATH:/sbin:/bin
 +EOF
 +
 +source ~/.bashrc
 </sxh> </sxh>
lxc_images.1502266904.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki