Difference between revisions of "Docker-compose logs --help"

From wikieduonline
Jump to navigation Jump to search
(Created page with "<pre> docker-compose logs --help View output from containers. Usage: logs [options] [--] [SERVICE...] Options: --no-color Produce monochrome output. -f,...")
 
Line 1: Line 1:
 +
{{lv}}
 +
 
<pre>
 
<pre>
 
docker-compose logs --help
 
docker-compose logs --help

Revision as of 17:18, 16 March 2023

Template:Lv

docker-compose logs --help
View output from containers.

Usage: logs [options] [--] [SERVICE...]

Options:
    --no-color              Produce monochrome output.
    -f, --follow            Follow log output.
    -t, --timestamps        Show timestamps.
    --tail="all"            Number of lines to show from the end of the logs
                            for each container.
    --no-log-prefix         Don't print prefix in logs.


docker-compose, docker-compose.yml: [services | volumes | networks | up | down | restart | logs | create | changelog | version | secrets | config | -v | -h | exec], docker-compose pull, Environment:, Docker-compose.yml examples, .env, release notes, expose:, docker-compose --env-file, services.deploy.resources

Advertising: