59
submitted 1 year ago by MTK@lemmy.world to c/selfhosted@lemmy.world

I set it to debug at somepoint and forgot maybe? Idk, but why the heck does the default config of the official Docker is to keep all logs, forever, in a single file woth no rotation?

Feels like 101 of log files. Anyway, this explains why my storage recipt grew slowly but unexpectedly.

you are viewing a single comment's thread
view the rest of the comments
[-] MTK@lemmy.world 5 points 1 year ago

This is a docker! If your docker is marketed as ready to go and all-in-one, it should have basic things like that.

If I were running this as a full system with a user base then of course I would go over everything and make sure it all makes sebse for my needs. But since my needs were just a running nc instance, it would make sense to run a simple docker with mostly default config. If your docker by default has terrible config, then you are missing the point a bit.

[-] truthfultemporarily@feddit.org 2 points 1 year ago

Containers don't do log rotation by default and the container itself has no say in the matter. You have to configure it in your container runtime config.

[-] Shimitar@downonthestreet.eu -5 points 1 year ago

Dockers images are often incoherent and just different from one a other so much that you should never give something as expected and doublecheck the basics.

Docker was never meant do deploy services, and I shows.

It's absolutely meant to deploy services, that's its entire purpose...

[-] MTK@lemmy.world 3 points 1 year ago

What? Like, yeah you are responsible to do your own checks, sure. but the fuq you said about docker?

this post was submitted on 23 Feb 2025
59 points (88.3% liked)

Selfhosted

59939 readers
542 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam.

  3. Posts here are to be centered around self-hosting. Please ensure it is clear in your post how it relates to self-hosting.

  4. Don't duplicate the full text of your blog or git here. Just post the link for folks to click.

  5. Submission headline should match the article title.

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS