thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Foundational

Docker Compose

A tool for defining and running multi-container applications using a compose.yaml file.

Definition

Compose defines services, networks, and volumes declaratively and starts them with docker compose up. It is common for local development and testing, not production orchestration at scale.

Example

services: { web: { build: ., ports: ['8000:8000'] }, db: { image: postgres:16 } }

Exam tip

Compose v2 is invoked as 'docker compose' (plugin), replacing the legacy 'docker-compose' binary.

Related terms