Man page - docker-compose-logs(1)

Packages contains this manual

Manual

DOCKER-COMPOSE-LOGS

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
OPTIONS INHERITED FROM PARENT COMMANDS
SEE ALSO

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

docker-compose(1)