• CarrotsHaveEars@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    5 days ago

    Docker is only useful in that many scenarios. Nowadays people make basic binaries like tar into a container, stating that it’s a platform agnostic solution. Sometimes some people are just incompetent and only know docker pull as the only solution.

    • Mio@feddit.nu
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      5 days ago

      Docker have many benefits - container meaning it can be more secure, easy to update and something that many overlook - a dockerfile with detailed intrusions on how to install that actually works if the container works - useful when wiki is not updated.

      Another benefit is that the application owner can change infrastructure used without the user actually need to care. Example - Pihole v5 is backend dns + lighthttp for web + php in one single container. In version v6(beta) they have removed lighthttp and php and built in functionality into the core service. In my tests it went from 100 MB ram usage to 20 MB. They also changed the base from debian to alpine and the image size shrink a lot.

      Next benefit - I am moving from x86 to arm for my home server. Docker itself will figure out what is the right architecture and pull that image.

      Sure - Ansible exist as one attempt to combat the problem of installation instructions but is not as popular and thus the community is smaller. They may leave you in a bad state(it is not like containers were you can delete and start over fresh easily) Then we have VM:s - but IMO they waste to many resources.