Follow the logs of a Compose service
Streams the output of the service's containers, each line prefixed with the container name.
docker compose logs -f serviceEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/docker-compose.md), licensed under CC BY 4.0.