DEV Community

Ibrahim S
Ibrahim S

Posted on

Docker

🛳 What is docker?

Docker is a containerization platform from Docker, Inc that enables the development, deployment, and running of applications in isolated containers. Containers encapsulate an application and its dependencies, ensuring consistency across different environments.

📚 Key Concepts:

🌟 Containers:

  • Lightweight, standalone, and executable packages.
  • Include the application code, runtime, libraries, and system tools.
  • Run consistently on any environment with Docker installed.

🌟 Images:

  • Template for creating containers.
  • Snapshot of a filesystem with application code and dependencies.
  • Stored in a registry (like Docker Hub) and can be shared.

🌟 Dockerfile:

  • Script containing instructions to build a Docker image.
  • Specifies the base image, application code, dependencies, and configurations.

🌟 Registry:

  • Repository for Docker images.
  • Docker Hub is a public registry; private registries are also available.

🌟 Container Orchestration:

  • Docker Compose: Defines multi-container applications and manages their lifecycle.
  • Kubernetes: Orchestrates and automates the deployment, scaling, and management of containers.

Top comments (0)