table of contents
- unstable 2.26.1-3
- experimental 2.26.1-2
DOCKER-COMPOSE-LOGS(1) | DOCKER-COMPOSE-LOGS(1) |
NAME¶
docker-compose-logs - View output from containers
SYNOPSIS¶
docker compose logs [OPTIONS] [SERVICE...]
DESCRIPTION¶
Displays log output from services
OPTIONS¶
-f, --follow[=false] Follow log output
-h, --help[=false] help for logs
--index=0 index of the container if service has multiple replicas
--no-color[=false] Produce monochrome output
--no-log-prefix[=false] Don't print prefix in logs
--since="" Show logs since timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
-n, --tail="all" Number of lines to show from the end of the logs for each container
-t, --timestamps[=false] Show timestamps
--until="" Show logs before a timestamp (e.g. 2013-01-02T13:23:37Z) or relative (e.g. 42m for 42 minutes)
OPTIONS INHERITED FROM PARENT COMMANDS¶
--dry-run[=false] Execute command in dry run mode
SEE ALSO¶
Feb 2025 |