Docker Is Weird

(codeandcake.dev)

23 points | by psxuaw 57 minutes ago

4 comments

  • shykes 24 minutes ago
    Hi, I'm the creator of Docker and came across this post. It's always fun to see other engineers think about how you designed a system. I haven't been involved in developing Docker in many years, but it's a fun trip down memory lane.

    I'm happy to answer any questions you may have.

    • figmert 7 minutes ago
      I'm curious what made think of it in the first place? What was your thought process that made you think that these Linux primitives give the opportunity to make it a platform for distributing and deploying packaged applications and eliminating a lot of the issue around "it works my machine" argument?

      You may have already answered this somewhere, so feel free to tell me what to search for or if you have a link to hand, that works too :)

    • gradus_ad 15 minutes ago
      General question. When you were designing Docker, did you anticipate the success it would achieve?
      • shykes 5 minutes ago
        To give a sense of time: Docker launched in 2013, but it was one of many iterations of the same project, which I had been working on continuously since 2008. Over those 5 years, virtually nobody cared or understood what the hell I was working on. I lived in France and had no connection to the tech industry.

        So, not only did I not anticipate this kind of success, I did not even have a reference frame for what success might even look like. All I knew was, I had an itch that I had to scratch, and I had nothing better to do :)

    • okanat 5 minutes ago
      Would you consider writing Docker/moby in a different language, if you were to create it scratch today?
    • layer8 7 minutes ago
      If you were implementing an operating system (free from compatibility concerns), what would you do differently to better support lightweight containers?
    • skinfaxi 16 minutes ago
      Given how things have changed since your creation and the way things are going, are there any things you would have done differently?
    • irishcoffee 16 minutes ago
      Oh wow, hi! I think my biggest “gripe” with docker is that everyone grabs it as a hammer and views many problems as a nail. Am I way off base with that? What was your original vision for how docker might be used in the wild?
  • suprjami 17 minutes ago
    Always nice to see someone demystifying a complex thing by learning the building blocks it's made from.

    Knowing this, you might find rootless Podman's fork-exec method of starting containers to be more sensible. I certainly do. No root, no daemon, no socket.

    If you want to learn more about the Linux Kernel namespaces which work together to make a container, this LWN series is really good: https://lwn.net/Articles/531114/

  • tyingq 9 minutes ago
    Poke around in bocker[1]. For technical people, it makes the same points the article makes in a way that's very clear.

    [1] "Docker implemented in around 100 lines of bash" https://github.com/p8952/bocker

  • QGQBGdeZREunxLe 13 minutes ago
    A good talk on the tech behind containers.

    Containers From Scratch • Liz Rice • GOTO 2018

    https://www.youtube.com/watch?v=8fi7uSYlOdc