NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content
Middle+84 views

Какие основные сущности и абстракции есть в Docker?

Practice

AI answer

Core Docker entities:

  • Image — an immutable template for an application and its environment, usually built from layers according to a Dockerfile.
  • Container — a running instance of an image with isolated processes, a filesystem, and settings. Data that needs to persist after a container is deleted is stored in volumes.
  • Dockerfile — a declarative set of instructions for building an image.
  • Registry — a repository for images, such as Docker Hub or a private registry.
  • Volume — a way to store data outside a container’s lifecycle.
  • Docker network — a mechanism for connecting containers to each other and to external systems.
  • Docker Engine — the server-side component that manages images and containers; the docker client sends it commands.

Docker Compose is often used to describe and run applications made up of multiple services.