LXC create container from snapshot

  1. Create a snapshot
create_snapshot.sh
lxc snapshot [mycontainer] [snapshot name]
  1. Create local image from snapshot
publish_image.sh
lxc publish [mycontainer]/[snapshot name] --alias [image alias]
  1. List your images
list_images.sh
lxc image list
  1. Create container from iamge
launch_container.sh
lxc launch [image alias] [mynewcontainer]

Check out similar posts by category: Container, LXC