Difference between revisions of "Docker-compose logs"
Jump to navigation
Jump to search
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
* <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 --help]] | ||
== Related commands== | == Related commands== | ||
Line 14: | 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: