Re:C Package Manager
by hobofan on Tuesday March 08, 2022 @08:28AM
(#30599618)
How is docker a package manager? It may well give you a nice even ground layer to execute your package manager on, but it doesn't do any of the traditional tasks that a language package manager does like e.g. dependency resolution.
[ Parent
| on HN ]
Re:C Package Manager
by dotancohen on Wednesday March 09, 2022 @06:09AM
(#30613245)
You are correct, I skirted a bit around the idea of what a package manager is in response to Nix. Docker does not resolve dependencies, but it does provide a platform in which each application can have its own version of dependencies that won't clobber other things that I'm working on or my system as a whole. Furthermore, the Dockerfile serves as a record (even versioned in git) of the dependencies added for future deploys, like a Composer or NPM lock file would. And that Dockerfile serves additionally as a reference for future projects.