How do "Docker" and "containers" (LXC, LXD) work?

9

I saw this question Difference between VM and Containers LXC , but its focus is a comparison between VM and containers. What I would like to know is a little more about containers, like Docker, LXC and LXD.

I would like to know the focus of each and how linux containers work . Does VirtualHost have anything to do with it?

And these containers are only supported by linux? Or are there other unix-like environments that support containers?

    
asked by anonymous 21.11.2016 / 18:13

1 answer

4

Take a look this (English). In short:

  • LinuX Container (LXC) is a low-level means of virtualizing Linux systems. It works at the operating system level.
  • LXD is a hypervisor that uses LXC underneath the cloths. Think of it as LXC with increased tooling. For example, LXD has an HTTP REST interface for administration.
  • Docker is also a tool for LXC-based virtualization, but with an emphasis on application virtualization.

The major difference between LXD and Docker is that LXD focuses on virtualizing entire operating systems, whereas Docker proposes to work with a smaller scope (only one application).

    
21.11.2016 / 18:53