Can nix run images created with docker?
Re:Docker Apology
by ParetoOptimal on Friday March 17, 2023 @09:42AM
(#35196943)
Yes.
See https://nix.dev/tutorials/building-and-running-docker-images
Or do you mean run as in "use docker image(s) within a nix expression". Like if you have a webapp with a nix devshell but want to start the docker postgres container for development?
You can do that too, yes.
I can easily install many apps hosted at the Docker hub but how would I achieve that without Docker hub, unless everyone starts hosting things elsewhere but that'll take a good while assuming the community's consensus is to ditch Docker altogether.
Re:Docker Apology
by ParetoOptimal on Friday March 17, 2023 @09:43AM
(#35196958)
> I can easily install many apps hosted at the Docker hub but how would I achieve that without Docker hub,
I'm sorry, I don't understand what you mean.
If so, I think Nix being able to create docker images addresses that specific concern.