Difference between revisions of "Docker-compose logs"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
* <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> | * <code>docker-compose logs --[[timestamps]]</code> | ||
docker-compose logs --[[tail]]=100 -f | docker-compose logs --[[tail]]=100 -f | ||
Line 16: | Line 18: | ||
== 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: