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.
Retry later

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay