Search code examples
lxd

What is the difference between lxd and lxc?


I want to work with lxc containers.

I have installed the ubuntu lxd package, but I work with lxc command. So I do not understand what are the differences between lxc and lxd containers.

Are these the same thing?


Solution

  • LXD is a daemon service that exposes REST API and manages the containers via liblxc.

    LXC is a command line tool that calls REST API locally or remotely.

    https://www.mywebtech.blog/guide-linux-lxd-containers-ubuntu/