Difference between revisions of "Docker-compose logs"
Jump to navigation
Jump to search
(9 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{lowercase}} |
https://docs.docker.com/compose/reference/logs/ | https://docs.docker.com/compose/reference/logs/ | ||
* <code>docker-compose logs</code> | * <code>docker-compose logs</code> | ||
− | * <code>docker-compose logs -f</code> | + | * <code>[[docker-compose logs -f]]</code> |
+ | * <code>[[docker-compose logs -f]] YOURSERVICENAME</code> | ||
+ | |||
+ | * <code>docker-compose logs --[[timestamps]]</code> | ||
+ | docker-compose logs --[[tail]]=100 -f | ||
+ | [[docker-compose logs --help]] | ||
== Related commands== | == Related commands== | ||
Line 10: | Line 15: | ||
* <code>[[docker container logs]]</code> | * <code>[[docker container logs]]</code> | ||
* {{Docker-compose operations}} | * {{Docker-compose operations}} | ||
+ | * [[Docker logging]] | ||
== See also == | == See also == | ||
− | * {{docker-compose}} | + | * {{docker-compose logs}} |
* {{logging}} | * {{logging}} | ||
[[Category:Docker]] | [[Category:Docker]] |
Latest revision as of 13:23, 27 October 2024
https://docs.docker.com/compose/reference/logs/
docker-compose logs
docker-compose logs -f
docker-compose logs -f YOURSERVICENAME
docker-compose logs --timestamps
docker-compose logs --tail=100 -f docker-compose logs --help
Related commands[edit]
docker logs
docker container logs
docker-compose
: [start
|stop
|restart
|pull
|up
|down
|ps
]- Docker logging
See also[edit]
Advertising: