• lime!@feddit.nu
    link
    fedilink
    English
    arrow-up
    4
    ·
    3 hours ago

    this guide, and the previous one, have a lot of weird superfluous steps. like, why use a command that includes nvim and then ask people to change it instead of just saying “edit the file”? why symlink systemd stuff to your own home directory?

    the info is good, but having to separate the actually useful stuff from things that are specific to your config makes it less useful.

  • Lem453@lemmy.ca
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    2
    ·
    edit-2
    1 day ago

    Why would someone want containers managed by systemd instead of just having them run like normal? What is the advantage?

    Also if you use cockpit or some equivalent GUI to manage your containers, do you have to give it permission to control all systemd services?

    • Chais@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      5
      ·
      18 hours ago

      Why would you not want containers managed by systemd?
      You get the benefits of containerisation and you don’t have to learn the arcane syntax of some container engine or another.

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

        Dunno what’s arcane about setting your network up once, crrate the compose (jn my case regular docker) and write sudo docker compose up -d.
        Literally using Linux in any way shape or form is more arcane than this.
        Just recently learning about NFS sharing. Sure, let’s write the config in /etc/export and also edit the fstab config on the guest to auto-mount it. Don’t forget the whole syntax ;)

        Not the mention the 100 different ways of setting up a static IP in each distro which differs slightly in any package/distro

    • exu@feditown.com
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 day ago

      I’ve been managing my containers using the older mechanism (systemd-generate) since I started and it’s great. You get the reliable service start of systemd and its management interface. Monitoring is consistent with all your other services and you have your logs in exactly one location.

      I really wouldn’t want a separate interface or service manager just because I’m running containers.

      • Lem453@lemmy.ca
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Do you run other things on your system other than containers? I have a VM that only runs containers so it really doesn’t do anything else with systemd apart from the basics so I’m curious if there would be any advantage to me switching.

        • exu@feditown.com
          link
          fedilink
          English
          arrow-up
          2
          ·
          19 hours ago

          Most VMs only run containers, but I have supporting services on every host as well. Stuff like the mesh VPN, monitoring agent or firewall.
          If I want a quick overview, a quick systemctl status will tell me everything I need to know.

            • exu@feditown.com
              link
              fedilink
              English
              arrow-up
              1
              ·
              5 hours ago

              I use Yggdrasil now with a whitelist of public keys. Though I’m thinking about redoing my architecture in general to make key distribution easier, have more automated DNS entries and also use the tunnel for any node to node communication.

              Before that I tried Tailscale with Headscale, but I didn’t want to have a single node responsible for the network and discovery.

              • barsquid@lemmy.world
                link
                fedilink
                English
                arrow-up
                1
                ·
                3 hours ago

                That’s very interesting. Once you connect something to your mesh you can access the rest of the mesh by IP? What is the gateway in that case?

    • eric@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 day ago

      You’re welcome, stay tuned for more posts about Quadlets.