Docker Compose — Installation & Setup
Welcome to Chapter 2 of the Docker Compose tutorial. This chapter covers installing Docker Compose V2, verifying your setup, and understanding the Compose project structure.
Topics in This Chapter
| # | Topic | Description |
|---|---|---|
| 1 | Install Compose V2 | Installation on Linux, Mac, and Windows |
| 2 | Verify Compose | Checking your installation works correctly |
| 3 | Compose File Naming | compose.yml vs docker-compose.yml |
| 4 | Project Name & Directory | How Compose determines project names |
| 5 | Compose CLI Overview | Quick tour of all compose subcommands |
What You’ll Learn
By the end of this chapter, you’ll be able to:
- Verify Docker Compose V2 is installed and working
- Understand the Compose CLI plugin architecture
- Know which filename to use for your compose files
- Understand how project names work
- Navigate the Compose CLI help system
Prerequisites
- Docker Engine 24+ or Docker Desktop installed
- Terminal/command line access
- Completed Chapter 1 — Introduction