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.

@MTK@lemmy.world
creator
link
fedilink
English
55d

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.

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
link
fedilink
English
-55d

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
creator
link
fedilink
English
35d

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

Create a post

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 posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

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

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

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

Questions? DM the mods!

  • 1 user online
  • 97 users / day
  • 656 users / week
  • 1.55K users / month
  • 4.06K users / 6 months
  • 1 subscriber
  • 4.21K Posts
  • 87.9K Comments
  • Modlog