Docker Compose
Docker Compose is a tool for defining and managing multi-container Docker applications using a YAML configuration file. Instead of manually running multiple docker run commands
docker-compose
vs docker compose
docker-compose
is the original command, docker compose
is the new command.
The new command is available in Docker 1.29 and later.
Usage
compose override
Docker Compose override is a feature that lets you customize or extend a base docker-compose.yml file using additional YAML files like docker-compose.override.yml
For example run nvidia support on pc and nvidia jetson
docker-compose.yaml | |
---|---|
docker-compose.jetson.yaml | |
---|---|