Difference between revisions of "Docker-compose logs"
Jump to navigation
Jump to search
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 |
Revision as of 16:25, 25 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
docker logs
docker container logs
docker-compose
: [start
|stop
|restart
|pull
|up
|down
|ps
]- Docker logging
See also
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
- Linux logging, Cisco IOS logging
Advertising: