• SavvyWolf@pawb.social
    link
    fedilink
    English
    arrow-up
    3
    ·
    11 hours ago

    As I understand it, the problem that both Nix and Docker try to solve is “How do I bundle and run this application in such a way that its dependencies are explicitly specified and don’t interfere with anything installed on the host system”.

    They have different approaches, but I think that goal is the same?

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      1 hour ago

      That’s Nix, not NixOS.

      I also wouldn’t be too sure on that “explicit” part for Docker. It’s somewhat isolated, sure, but everything but explicit: you can download arbitrary data from wherever you like.

      • SavvyWolf@pawb.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 hours ago

        Unless it has changed recently, Docker is not intended to be a security layer as far as I know.