LXD container snapshot and restore

lxc allow you to take snapshot, restore snapshot of a container. Here we create a snapshot, then delete the /etc folder from the container. Now the container is useless. Restore the container from snapshot to get it work again.

[…]

Read More…

Create lxc container with lxc-create

lxc-create is used to create lxc container. To create a container, run

This will list all available containers. You can select the OS you want to use. To specify OS, you can use following examples

To connect to a container, use command

Example

To delete a container, run

See lxc […]

Read More…