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.

  • poVoq@slrpnk.net
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    23 hours ago

    Or you can use Podman, which integrates nicely with Systemd and also utilizes all the regular system means to deal with log files and so on.

    • sugar_in_your_tea@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 hours ago

      Does podman do the Docker networking thing where I can link containers together without exposing ports to the rest of the system? I like my docker compose setup where I only expose caddy (TLS trunking) and Jellyfin (because my TV fails connecting w/ TLS).

      • poVoq@slrpnk.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        6 hours ago

        I think it also has that, but normally it uses an even easier concept of pods that basically wrap multiple containers into a meta container with it’s own internal networking and name space, and that does exactly what you want.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 hours ago

          Nice! I’ve been having permissions conflicts between Samba (installed system-wide) and Jellyfin (docker), so it’s probably as good a time as any to try out podman since I need to mess with things anyway.

    • Neo@lemmy.hacktheplanet.be
      link
      fedilink
      English
      arrow-up
      1
      ·
      12 hours ago

      Good suggestion, although I do feel it always comes back to this “many ways to do kind of the same thing” that surrounds the Linux ecosystem. Docker, podman, … some claim it’s better, I hear others say it’s not 100% compatible all the time. My point being more fragmentation.

      • Appoxo@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        11 hours ago

        100 ways to configure a static ip.
        Why does it need that? At least one per distro controlled by the distro-maintainers.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          2
          ·
          6 hours ago

          There’s basically three types of networking config:

          • direct with the kernel - don’t do this
          • some distro-specific abstraction - e.g. /etc/network/interfaces for Debian
          • networking manager - wicked, network manager, etc

          I do the last one because it’s distro-agnostic. I use Network Manager and it works fine.

          • Appoxo@lemmy.dbzer0.com
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 hours ago

            I notice that you replied to me once again in connection to me mentioning static IP and linux.
            Can I summon you this way? ^^