← Dictionary
Dictionary · Dev

What is Container?

It is a portable box that contains everything required for a software to run and ensures that it works the same on every computer.

Overview

Containers bundle an application's code, libraries, and settings into a single package. In this way, your software works the same way on the server or someone else's computer as it does on your computer. So, it completely eliminates the 'it was working on my computer' problem.

Analogy: Think of a kitchen; You put all the ingredients, spices and tools needed for each meal in a single box and take it wherever you want. No matter where you open it, you can cook the same food with the same taste.

How it works

Using tools like Docker, developers package everything the application needs into a 'container image'. This package runs in an isolated area, independent of the operating system. This way, there will be no conflict with other applications in the system.

Where it is used

It is used in cloud computing, software distribution, and managing complex applications. It is especially standard in projects where large teams need to work in harmony with each other.

Commonly confused with

It is often confused with virtual machines; but containers are much lighter and faster because they share the operating system.

Frequently asked questions

Why is the container so popular?

Because it guarantees that the software works with the same stability in every environment and reduces the installation process from minutes to seconds.

What is the difference between a container and a virtual machine?

Virtual machines carry their own operating systems, while containers share the kernel of the host operating system; so containers are much faster.

Related terms

Related tools

This explanation was written in plain language for TreScout and machine-translated from the Turkish original · the Turkish version prevails. If something looks wrong or missing, write to hello@trescout.com. Read in Turkish →