Docker Compose Cheat Sheet/Render normalized config

Merges files, interpolates variables, and prints the final Compose model.

Section: Inspection and Cleanup

Render normalized config

bash
bash
docker compose config
Explanation

Use this to verify what Compose will actually run.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Inspection and Cleanup
List service names
Prints all services in the effective config.
OpenIn sheetbashsame section
List named volumes
Shows named volumes declared in the effective config.
OpenIn sheetbashsame section
List profiles
Shows all profiles used in the project.
OpenIn sheetbashsame section
List compose projects
Lists active and recent Compose projects on the host.
OpenIn sheetbashsame section
Remove stopped containers
Removes stopped service containers.
OpenIn sheetbashsame section
Force kill services
Immediately stops containers with a signal.
OpenIn sheetbashsame section