LINUXEVERYDAY
Solution to everyday Linux problems
HOME
Containerization
LXC & LXD
Database
MongoDB
Editors & IDEs
Visual Studio Code
Linux
CentOS
Ubuntu
Debian
Programming
Node.js
TypeScript
Others
Virtualization
Proxmox VE
VirtualBox
VMware
Introduction to LXD
Shahriar Shovon
LXC & LXD
lxc
lxd
containerization
container
ubuntu
{"ops":[{"attributes":{"bold":true},"insert":"What is LXD?"},{"attributes":{"header":1},"insert":"\n"},{"insert":"If you've ever used virtualization software 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. \n\nYou 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.\n\n\n\n"},{"attributes":{"bold":true},"insert":"What you can do with LXD?"},{"attributes":{"header":1},"insert":"\n"},{"insert":"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.\nYou can take snapshots of your containers with LXD and restore them 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. \nYou can also create an image from your snapshot and create a container from that image.\nYou can also manage networks, storage, and many more with LXD.\n\nTo learn more about LXD, please check the official website.\n"}]}