Skip to content

Docker Compose V2

Medium — good to knowCI/CD & DevOps

ELI5 — The Vibe Check

Docker Compose V2 is the rewritten version of docker-compose that's now built into Docker itself. Instead of 'docker-compose up' (with a hyphen), it's 'docker compose up' (with a space). It's written in Go instead of Python, which makes it faster, and it's the version you should actually be using now. The hyphen is dead, long live the space.

Real Talk

Docker Compose V2 is a rewrite of the original docker-compose tool as a Docker CLI plugin, implemented in Go. It's invoked as 'docker compose' (without hyphen) and offers improved performance, better error messages, and compatibility with Compose Spec. It supports profiles, service dependencies with health checks, and GPU access.

When You'll Hear This

"docker compose up -d replaces the old docker-compose — same YAML, better performance." / "Compose V2 profiles let us start only the services needed for frontend vs. backend development."

Made with passive-aggressive love by manoga.digital. Powered by Claude.