Learn
WebsiteLoginFree Trial
  • Incident Management
    • What is Incident Management? Beginner's Guide
    • Severity Levels
    • How to calculate MTTR and Other Common Incident Recovery Metrics
    • On-Call
    • SLA vs SLO vs SLI: What's The Difference?
    • Data Aggregation and Aggregators
  • DevOps
    • Best DevOps Tools for Each Phase of the DevOps Lifecycle
      • Best DevOps Planning Tools
      • Best DevOps Coding Tools
      • Best DevOps Build Tools
      • Best DevOps Testing Tools
      • Best DevOps Release Tools
      • Best DevOps Deployment Tools
      • Best DevOps Operations Tools
      • Best DevOps Monitroing Tools
    • What is DevOps?
      • Best CI/CD Tools
      • DevOps Infrastructure and Automation
      • What is a DevOps Pipeline?
      • DevOps Vs. Agile
      • Top 25 DevOps Interview Questions
      • What Are the Benefits of DevOps?
      • What is CI/CD?
      • What is a DevOps Engineer?
      • What is DevSecOps?
    • What is Observability?
      • USE and RED Method
    • What is Site Reliability Engineering (SRE)?
      • Four Golden Signals: SRE Monitoring
      • What is A Canary Deployment?
      • What is Blue-Green Deployment?
  • Docker
    • Overview
    • Dockerfile
    • Images
    • Containers
    • Storage
    • Network
    • Compose
    • Swarm
    • Resources
  • prometheus
    • Overview
    • Data Model
    • Metric Types
    • PromQL
      • Series Selection
      • Counter Rates & Increases
    • Pushgateway
    • Alertmanager
    • Remote Storage
Powered by GitBook
On this page
  • What are Docker Containers?
  • How do Docker Containers Work?
  • How are Docker Containers Different from Images?

Was this helpful?

  1. Docker

Containers

A Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.

PreviousImagesNextStorage

Last updated 1 year ago

Was this helpful?

What are Docker Containers?

containers are lightweight, portable, and self-contained environments that encapsulate an application and its dependencies.

Docker containers provide a consistent runtime environment across different systems, enabling applications to run seamlessly in various environments, regardless of the host machine's configuration.

Docker containers run on top of a shared OS the host system provides.

How do Docker Containers Work?

Docker containers leverage operating system (OS) level virtualization to isolate applications from the underlying host system. Each container shares the host operating system's (OS) kernel but has its own filesystem, processes, network interfaces, and resource limits. This isolation ensures that containers remain independent and do not interfere with each other or the host system.

How are Docker Containers Different from Images?

  • Containers: Containers are instances of Docker images running as isolated processes on a host system. They include the application code, runtime, libraries, and dependencies required to run the application.

Images: are read-only templates used to create containers. They contain all the files and configurations needed to run an application. Images are typically built from a and can be shared and reused to create multiple containers.

Images
Dockerfile
Docker
Docker Container
Docker Container