• Goku@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago

    Ehh I agree that configuration can be a pain, but once you’ve done it a few times it starts to click.

    I loooooove Docker. It makes my life so much easier and organized and easy to manage.

    Especially if I need to create multiple environments, or migrate from one host to another.

    • bestnerd@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      When I was doing SRE work it was an absolute nightmare the amount of containers we had to manage for non distributed applications, especially internal systems. What’s even more annoying is using separate hosts for one container. However if you let’s say 500 containers for a single app it’s great.

  • mvirts@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 year ago

    I think there is something lost in translation between what docker does and what people think it does. The magic of things just working is powerful, which is part of docker’s success as well as the success of backwards compatible systems like the windows API. I agree that docker is a lame way to provide primary software distribution, but I think it serves a valid purpose as try-it-out software distribution. The part that freaks me out is the insane amount of trust in public docker registries. One bad egg with a container escape zero day and it’s all over.

    • boblin@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 months ago

      Using containers from public registries is no worse than using third party software. In both cases there’s a risk of malicious code. The big difference is that for containers you can scan the image before running it, SBOMs are becoming ubiquitous so dependency vulnerabilities are easier to detect, and runtime protection software is more effective on containers because each container has a deterministic expected behaviour, making it easier to find deviations. I’d much rather manage runtime controls for containers than craft selinux policies.

      The bottom line (which the OP article misses) is that while individual container configurations require more effort to set up the additional work to manage them at scale is low, whereas compliance for host based installs is requiring more and more effort. In fact given how popular curl | sh ... is becoming for host based installs I’d argue that they are regressing in terms of safety and reproducibility.