...
Panel |
---|
This article is useable, but not complete. What's missing,
|
You must finish the LXC and LXC with Advanced Networking before starting this article.
...
Code Block | ||
---|---|---|
| ||
Would you like to create a new network bridge (yes/no) [default=yes]? <yes> What should the new bridge be called [default=lxdbr0]? <Ok> Do you want to setup an IPv4 subnet? <yes> This subnet was selected for your convenience and next questions have been pre-answered accodingly. Please make sure this subnet isn't already in use somewhere on your network, if it is, change it to one which isn't. If you later notice network connectivity issues, re-configure lxd and pick a different subnet. <Ok> # resulting IPv4 address will vary in this example using VMWare fusion it is 10.232.27.1 <Ok> ... all sorts of things... need to redo this. |
...
Also, let's look at the running container. The commands are only slightly different than using straight LXC,
Code Block | ||
---|---|---|
| ||
lxc list +-------------+---------+----------------------+------+------------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +-------------+---------+----------------------+------+------------+-----------+ | container01 | RUNNING | 10.94.217.171 (eth0) | | PERSISTENT | 0 | +-------------+---------+----------------------+------+------------+-----------+ # Inspect the container, lxc info container01 Name: container01 Remote: unix:/var/lib/lxd/unix.socket Architecture: x86_64 Created: 2016/12/22 03:37 UTC Status: Running Type: persistent Profiles: default Pid: 19681 Ips: eth0: inet 10.94.217.171 vethDXUYOE eth0: inet6 fe80::216:3eff:fe07:69ea vethDXUYOE lo: inet 127.0.0.1 lo: inet6 ::1 Resources: Processes: 26 Disk usage: root: 144.32MB Memory usage: Memory (current): 23.24MB Memory (peak): 45.28MB # ... |
...
- Security
- Advanced Networking
- Tunnelling ect... as covered in LXC with Advanced Networking
- Joining LXD host networks together
- Capping Resource Utilization
- Sparse Containers like Solaris...
- Permissions Inside and Outside of Containers
...