Skip to content
masterclass Buddy

Docker · Option

services

Docker Compose services define the containers that make up an application. The services map names each component and sets its image, runtime options, dependencies, and optional build or deployment settings.

Last updated

Syntax

services:
  SERVICE_NAME:
    image: IMAGE
    # other service settings

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • build
  • deploy
  • depends_on
  • configs
  • networks
  • volumes
  • secrets
  • healthcheck

Source: Define services in Docker Compose. Checked 2026-11-03.