DevOps: What is a Container?

goay xuan hui
2 min readFeb 6, 2022

If you have heard of container, then the famous “Docker” word must ring a bell to you! Docker is a platform that uses OS-level virtualization to deliver software in packages called containers.

In our daily life, we use containers to pack our junks. In the software world, we use it to package the application’s source code, configuration files, libraries and dependencies in a single object, which is extremely lightweight and portable since it does not contain any OS images.

The begging question is then what are the benefits of using a container? To name a few,

  1. A container allows codes collaboration among developers as all codes dependencies are now run in a virtual container.
  2. Each deployment is a new set of containers and thus making it easier to deploy and roll back to previous images. A big plus point for those who implement CI/CD pipeline in DevOps environment.
  3. With Docker engine, multiple containerized applications can now run in a single host operating system.
Are Containers Replacing Virtual Machines? — Docker Blog

Now, to create a container, you would need to instantiate an image, either from a private registry (private organization) or public registry (github). A container image contains all the dependencies to be used by a container runtime.

Docker containers, images, and registries | Microsoft Docs



goay xuan hui

A food lover, a cyber security enthusiast, a musician and a traveller, so you will see a mix of different contents in my blog. ☺️