LXC 从快照创建容器

  1. 创建快照
create_snapshot.sh
lxc snapshot [mycontainer] [snapshot name]
  1. 从快照创建本地镜像
publish_image.sh
lxc publish [mycontainer]/[snapshot name] --alias [image alias]
  1. 列出你的镜像
list_images.sh
lxc image list
  1. 从镜像创建容器
launch_container.sh
lxc launch [image alias] [mynewcontainer]

Check out similar posts by category: Container, LXC