...
Code Block |
---|
lxc exec container01 bash
root@container01:~# |
Now we install Apache and then exit back to our host,
...
Semi-Live Approach
...
Moving Containers
The With copy, the new container is identical in every way except will not have any no snapshots and volatile keys . For example, the (ie MAC address and hostnames) will be reset. If you want to an regenerated.
Creating an exact duplicate or move moving a container is a different concept but just as easy.
Advanced Tuning of Containers
...
- Security
- Advanced Networking
- Capping Resource Utilization
- ...
Reference
Gives more details on initializing lxd Initializing LXD - https://insights.ubuntu.com/2016/03/16/lxd-2-0-installing-and-configuring-lxd-212/
Official Ubuntu documentation Documentation - https://linuxcontainers.org/lxd/getting-started-cli/
Try Online Interactive Tutorial - https://linuxcontainers.org/lxd/try-it/
Remote Container Management - https://www.stgraber.org/2016/03/19/lxd-2-0-your-first-lxd-container-312/