SPECS


Docker


Containerization


For full documentation visit docker.com.


Docker is an open-source platform that uses OS-level virtualization to build, test, ship, and run applications inside lightweight, isolated packages called containers. It isolates applications from the underlying host infrastructure, ensuring that software runs identically regardless of whether it is on a developer's laptop, a test server, or a cloud cluster.


Core Architecture & How It Works

Docker uses a client-server architecture. The Docker Client talks to the Docker Daemon (dockerd), which handles the heavy lifting of building, running, and managing container environments.The platform relies on three fundamental technical pillars:

  • Dockerfile: A text blueprint containing sequential instructions used to automatically build a specific environment.

  • Docker Image: A read-only, multi-layered executable template that packages the application code, runtime, libraries, and configurations.

  • Docker Container: A lightweight, standalone, runnable instance of an image that executes in a completely isolated environment.


Containers vs. Virtual Machines

Feature Docker Containers Virtual Machines (VMs)
OS Architecture Shares the host OS kernel; virtualizes only the user space. Includes a full, independent guest OS with its own kernel.
Resource Efficiency Extremely lightweight; small disk footprint and low memory usage. Heavy; requires dedicated memory, storage, and CPU overhead.
Startup Time Starts instantly (seconds) as it does not need to boot an OS. Takes minutes to fully boot up the virtualized guest OS.


Primary Tools in the Ecosystem

  • Docker Desktop: A local, graphical user interface tool optimized for Mac, Windows, and Linux environments to build and manage containers locally.

  • Docker Hub: The world’s largest cloud-based registry used to share, store, and find official and community container images.

  • Docker Compose: A utility for defining and running multi-container applications using a single YAML configuration file.


Essential CLI Commands

You can interact with the system using the terminal via the core Docker Engine CLI:

  • docker pull : Downloads a specific image from a registry like Docker Hub.

  • docker run : Instantiates and starts a container from a target image.

  • docker ps: Lists all actively running containers and their statuses.

  • docker stop : Gracefully halts a running container's processes.


Development Tools



Social Media




---
title: Docker
text: Containerization
image: /assets/svg/docker.svg
link: 
target: 
---