Share this post with your friends
What is LXD?
If you've ever used virtualization softwares like VMware, VirtualBox or KVM, then you already know what it is. The reason why I am saying that is, all the virtualization platforms have a management interface. For example, VirtualBox has a nice GUI to manage VirtualBox virtual machines. In the background, VirtualBox uses command line utilities to manage the virtual machines. So you can say, VirtualBox GUI interacts with the low level command line utilities to make everything easier for you. If you want, you can use the VirtualBox command line utilities, but most of you are never going to use them.
You can compare LXD with VirtualBox GUI and LXC with VirtualBox command line utilities. LXD is a container manager. LXC provides some low level utilities to manage the container. But it's hard to manage containers with LXC. LXD makes an interface and hides these low level details to make it easier to manage LXC containers.
What you can do with LXD
Of course you can do everything you can with LXC with LXD and many more. With LXD, you can add multiple remote image repository, so that you can create different types of containers. You can also have your own local image repository. You can share your image repository, so other people can use it.
You can take snapshot of your containers with LXD and restore it whenever you want. That way you can test something in your container, if it doesn't work the way you wanted, you can go back to the state when everything worked right.
You can also create an image from your snapshot and create a container from that image.
You can also manage networks, storage and many more with LXD.
To learn more about LXD, please check the official website.