Skip to main content

My CompTIA Linux+ Favorites: Containers

Damon M. Garn

One of the hot technologies right now is containers – and with good reason. Containers offer many benefits over traditional virtual machines (VMs). These benefits include:

  • Rapid deployment
  • Flexibility
  • Performance improvements
  • Support for microservices

I selected the containers topic as one of my top three favorite topics from the upcoming CompTIA Linux+ (XK0-005) release. For those curious, my other two favorite topics were Git and Vim.

Why containers?

Containers have become a go-to solution for services hosted on-premises and in the cloud, and they provide an entirely different kind of virtualization from virtual machines. Where VMs virtualize the hardware and expect sysadmins to install an operating system (OS) and applications, containers virtualize above the OS layer. With Linux-based containers, administrators only need to be concerned with application management. 

CompTIA Linux+ (XK0-005) includes both VMs and containers, so expect a solid compare-and-contrast section. During the virtualization section, CompTIA continues its vendor-agnostic perspective.

The container lifecycle

To understand container management, you must first understand the container lifecycle. Container images are built, then pulled to host systems and run. Containers may be stopped or paused on these hosts, too. Finally, if a container is no longer needed, it is removed. Dockerfile configuration files manage image settings with a straightforward structure and syntax.

Expect to learn about these container topics and more:

  • Creating a container image.
  • Pulling containers to a system from a repository.
  • Starting and stopping containers.

Management tasks, such as resource monitoring and image identification, are also key topics.

Learning container management

Linux is the preferred container host, so it behooves all who interact with container virtualization to understand basic system administration and performance monitoring. Deploying a container solution without being able to monitor system resources, view log files, manage network settings, and update security configurations is causing trouble. CompTIA Linux+ (XK0-0005) not only covers containers but also provides the day-to-day working knowledge users, developers, and administrators need to manage deployments.

Container networking is almost a topic unto itself. Exposing ports and interconnecting containers permits applications to be accessible to both other programs and users. Access to containers through the network fabric is kind of the point – containers offer services outward rather than acting as standalone devices.

The importance of labs

Speaking of revolutionizing virtualization, the new CompTIA Linux+ (XK0-005) is supported by a series of labs to provide hands-on opportunities. For the first time, labs are run on containers that improve the user experience and demonstrate the flexibility and importance of this approach to virtualization.

Containerization and the importance of Linux fundamentals

Containerization is a critical subject, representing the third of my three favorite CompTIA Linux+ (XK0-005) topics. Alongside Git and Vim, containers continue to demonstrate the importance of Linux fundamentals and the deployment of the latest technologies.

I feel privileged to have authored the latest CompTIA Official Linux+ (XK0-005) Instructor and Student Guides, and I’m confident that the body of knowledge will help prepare Linux admins for the next challenges in their IT lives. As a mix of fundamental topics and advanced new subjects, this iteration of CompTIA Linux+ is an important stepping stone for shifting its focus to Linux administration.


Check out CompTIA Linux+ (XK0-005) now.