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

Docker host environment /var/log/daemon.log slowly fills host disk space #339

Closed
coddingtonbear opened this issue Oct 21, 2020 · 6 comments

Comments

@coddingtonbear
Copy link
Owner

This caused an outage for most of the day; clearly some logrotate settings need to be adjusted.

@coddingtonbear
Copy link
Owner Author

As it turns out; logrotate was already set up correctly! It's just that it runs only 1x/day unless you specifically set it up to run more often. I've done that now.

@renefritze
Copy link
Collaborator

Did you consider limiting the containers' logs too? I usually add something like this to docker's daemon.json

{
	"log-driver": "json-file",
	"log-opts": {"max-size": "10m", "max-file": "3"}
}

@coddingtonbear
Copy link
Owner Author

Didn't, but only kind of know what I'm doing! I'm not sure how much time you have these days, but are you up for helping maintain things?

@renefritze
Copy link
Collaborator

Sorry, no. I cannot commit to any continuous help.

@CourteousCoder
Copy link

@coddingtonbear , I think it's happening again. I would like to try to help you maintain this.

@coddingtonbear
Copy link
Owner Author

Fixed, @DanielSchetritt -- thanks for the heads-up ! Awesome; thanks for offering. I'm planning on putting out an official call for maintainers soon (probably via a toast message when logging-in to the site). Click on that link when you see it.

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

3 participants