Docker Compose
General commands
# Run all compose.yaml
docker compose up --exit-code-from runner --abort-on-container-exit
# Build images before running
docker compose up --build
# Stop all running jobs
docker compose -f dir/my-compose.yaml down --remove-orphans -t 60 # timeout
# Just builds all images defined in the compose.yaml file.
docker compose build
# Build a single job
docker compose build job-name
# Run single job
docker compose run job-name /bin/bash
# Run a single job and detach
docker compose up -d job-name