What is a namespace?
parent
1. init
2. foo
3. blah
4. deus ex
5. some program
6. CONTAINER
{ (child)
1. init
2. foo
3. deus ex
4. some program
5. teh-interwebz 2.0 in the cloud
}
7. another parent program
8. still on the host
9. etc
10. etc
# Install LXC
sudo
apt
install
lxc
# Create container
# download base package no gui
# user: ubuntu password: ubuntu
sudo
lxc-create -t ubuntu -n my_first_container
## -t type -n name
# List local container running
lxc-ls --fancy
# Start container
lxc-start -n my_first_container
## -d daemon
# Stop a container
lxc-stop -n my_first_container
ls
/
etc
/
network
/
interfaces
Index