For the vast majority of docker images, the documentation only mention a super long and hard to understand “docker run” one liner.

Why nobody is placing an example docker-compose.yml in their documentation? It’s so tidy and easy to understand, also much easier to run in the future, just set and forget.

If every image had an yml to just copy, I could get it running in a few seconds, instead I have to decode the line to become an yml

I want to know if it’s just me that I’m out of touch and should use “docker run” or it’s just that an “one liner” looks much tidier in the docs. Like to say “hey just copy and paste this line to run the container. You don’t understand what it does? Who cares”

The worst are the ones that are piping directly from curl to “sudo bash”…

  • Captain Howdy@lemm.ee
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 year ago

    I prefer to use ansible to define and provision my containers (docker/podman over containerd). For work, of course k8s and helm takes the cake. no reason to run k8s for personal self hosting, though.

    • cliffhanger407
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      No reason aside from building endless unnecessary complexity, which–let’s be honest–is 90% of the point of running a home lab.

      Shit’s broken at work: hate it. Shit’s broken at home: ooh a project!