Command - docker:compose:logs
Hoe werkt het `docker:compose:logs` commando
Voor je deze documentatie leest gaan we er vanuit dat je bekend met de docker basics.
Het commando docker:compose:logs
gebruik je voor het bekijken en volgen van de output van je containers.
Je kunt de uitleg van dit commando vinden via hipex docker:compose:logs --help
. Dit is een wrapper
om het standaard commando. Zie ook: https://docs.docker.com/compose/reference/logs/.
Description:
View output from containers.
Usage:
docker:compose:logs [options] [--] [<services>...]
docker:compose:logs
This command is a wrapper around the default `docker-compose` command. For more information see https://docs.docker.com/compose/reference/logs/
Arguments:
services Services
Options:
--follow Follow log output.
--tail=TAIL Number of lines to show from the end of the logs for each container. [default: "all"]
-t, --timestamps Show timestamps.
-f, --file=FILE Specify an alternate compose file [default: "docker-compose.yml"]
-p, --project-name=PROJECT-NAME Specify an alternate project name
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug