软件工具¶
LXC 使用
1 说明
lxc vs docker
LXC 是一种轻量虚拟机,复用 host 内核。与 docker 尽可能每个容器只跑一个应用不同,lxc 的思路更接近虚拟机。
The key networking difference between Docker and LXC is that with LXC one can attach a container to any bridge on the Host. This includes a bridge on the outside interface. Via transparent bridging the container can have unfettered access to the existing IPv6 subnet, including picking up Global Unique Addresses (GUAs) without the host having to do router-like functions, such as adding routes, auto propagation of prefixes (with DHCPv6-PD), redistribution of routes, etc. Again, things which Docker doesn't support.
lxc vs lxd
LXD is actually two parts, the lxd
daemon, and the lxc
CLI client which makes calls to the lxd
daemon
vnc 和 rdp 远程
说明
写这个的原因是,网络上的教程真的太烂了。比如:
- 没有说明就默认用 centos
- 默认是服务器版本的 Linux 发行版,没有桌面环境
- 桌面环境默认用 xfce,而很少有 gnome 的
- vnc 各种版本,默认只说明其中一种
- xstartup 没有任何说明,如何配置
各种 remote desktop 软件,可以看到最近更新时间