Docker Compose Commands CheatSheet
Docker
Virtualization
@see Docker commands cheatsheet
Run all the containers of the stack
- Use the
--build
flag to build the conatiners first.
docker compose up -d
Build all the containers of the stack without running them
- Use the
--no-cache
to build the images without using cache memory.
docker compose build
Remove all the conatiners of the stack
- Use the
--rmi local
flag to remove the local images of the removed containers.
docker compose down