From the course: Building a Home IT Lab

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

Get started with Linux containers

Get started with Linux containers

From the course: Building a Home IT Lab

Get started with Linux containers

- [Instructor] Containers are protected spaces where Linux distributions can run. Like virtual machines, containers can run a different Linux distribution than is running on their host. But unlike VMs, containers share the host's kernel rather than running one of their own. This makes containers quick to start up and relatively lightweight compared to VMs which must each contain their own fully installed operating system. We often use the metaphor of shipping containers when talking about Linux containers, because both kinds of containers can contain all sorts of different things, and the interfaces to control them are standard. So we can create a container on one system and send it to another system and expect it to work just like it's intended to. We can open up a container and peek inside, or we can just use it like an appliance. Containers are created from template disk images, predefined file systems with a usually very minimal amount of stuff inside them. Containers tend to be…

Contents