Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging driver reference seems rather hidden when looking at compose file "logs" reference #12527

Open
ell1e opened this issue Feb 4, 2025 · 1 comment

Comments

@ell1e
Copy link

ell1e commented Feb 4, 2025

Description

Again perhaps I'm just too tired to navigate the docs pages, but it occurred to me perhaps beginners might also be stumped by this one:

When looking at the "logs" section of the compose file services specification, this prominently mentions logging drivers, but it neither seems to explain 1. what such a driver is, 2. how it is handled or configured in more detail (or that this is even possible, which it is for log rotation etc.), and 3. how to get anywhere useful to read more about that:

Image

I think the expected link, e.g. from the mentions of "driver"/"logging driver", and perhaps also a dedicated sentence added at the end of that section to suggest the user go there, would be to this section about the logging drivers:

https://docs.docker.com/engine/logging/configure/

@ndeloof
Copy link
Contributor

ndeloof commented Feb 5, 2025

feel free to propose improvements to the docs / compose-spec on https://github.com/compose-spec/compose-spec/blob/main/05-services.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants