From the course: Ubuntu Linux: Virtualization

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Explore containers with LXC

Explore containers with LXC

From the course: Ubuntu Linux: Virtualization

Start my 1-month free trial

Explore containers with LXC

- [Instructor] Virtualization is great for creating a virtual machine with emulated hardware and it allows us to run any operating system we want. But if we just want to use Linux, we have the option of using containers instead, which are like virtual machines in that the software running in them is separated from the rest of the system. But they use the host's kernel instead of their own and can have access to hardware resources. Containers are based on namespaces, a way of separating resources into their own protected space. Normally the system runs in one namespace. All of the resources are available to processes in this namespace. But we can add other namespaces, which can have their own process tree or their own mount points or networks. Software running inside the container can't see the host outside of it, it's contained. We can configure these namespaces manually, but there's a software package called LXC, short for Linux Containers, that makes the process a lot easier for us.…

Contents