I think the winning solution could be Nix-like package management (like NixOS, GuixSD or to a lesser extent GoboLinux) PLUS lightweight containers.<p>You get the best of both worlds, good package management within containers, reproducibility, etc.<p>With Docker or apt you only get half baked solutions.