Docker compose up
docker compose up is a Docker Compose command that creates and starts the services declared in a Compose configuration.
Road to Kubernetes
docker compose up -d is a Docker Compose command that creates and starts Compose application services in detached mode.
- How it is used
- Runs Compose-defined application services locally or on a production virtual machine.
- How deep it goes
- Demonstrates foreground, detached, rebuilt, volume, and multi-service startup, but does not detail Compose configuration options comprehensively.
- Examples
- Uses Python and Node.js web services, mounted data volumes, and a Redis service in local and production Compose configurations.
- What you can do after
- Operate/configure Compose applications, rebuild changed services, inspect running containers, and deploy detached services remotely.
Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform
docker compose up is a Docker Compose command that creates and starts the services defined by an application configuration.
- How it is used
- Boots and manages an application’s configured containers as one aggregated development environment.
- How deep it goes
- Explains startup, image rebuilding, output validation, and shutdown consequences without descending into container internals.
- Examples
- Uses a video-streaming microservice, a Compose file, terminal commands, and “Microservice online” startup output.
- What you can do after
- Operate/configure a Compose application, rebuild changed images, validate startup output, and return the environment to a clean state.
Related concepts
- docker compose up --buildconfigured by · docker compose up --build is a Docker Compose command that rebuilds service images before creating and starting the services.
- Docker Composepart of · Docker Compose is a tool for defining and running applications composed of multiple containers through declarative configuration.
- container imageproduces · A container image is a packaged filesystem and configuration artifact from which a container can be created and run.
- containerproduces · A software container is an isolated execution environment that packages an application and its dependencies while sharing the host operating system kernel.
- docker compose downcontrasts with · docker compose down is a Docker Compose command that stops and removes service containers and networks, optionally removing managed volumes.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

