https://blog.ubuntu.com/2015/03/20/installing-lxd-and-the-command-line-tool
- Suite à l'intallation :
`lxc remote add images images.linuxcontainers.org`
- Lancer une image :
`lxc launch ubuntu:16.4 {name of the container}`
- Lister les conteneurs :
`lxc list`
- Entrer dans un conteneur
`lxc exec {nom du conteneur} -- /bin/bash`
lxc-ls # List existing containers
- Note: all commands take -n as parameter to specify the container
lxc-clone
<target></target> lxc-create -t -f <config></config> lxc-destroylxc-execute -n <name></name> -- <command></command> # Run command in new container lxc-attach -n <name></name> -- <command></command> # Run command in running container
lxc-monitor # Monitor containers for state changes lxc-wait # Wait for a state change lxc-info # Give details on a container
lxc-freeze lxc-unfreeze
lxc-netstat lxc-ps