News for hackers. Stuff that matters.
Re:Docker Apology by notbuyingit on Thursday March 16, 2023 @04:41PM (#35188216)
If you want actual reproducable, actual portable software, Nix. Otherwise there are countless other OCI runtimes, cri-o, containers, etc. Kubernetes doesn't even use Docker.

What a thing, docker. I can't get over the staying power it has had despite... Everything.

Re:Docker Apology by mekster on Thursday March 16, 2023 @04:50PM (#35188362)
How do I run the ecosystem the docker already has with nix alone?

It's not just the runtime.

Re:Docker Apology by gcoakes on Thursday March 16, 2023 @09:04PM (#35191342)
I'm not certain what "ecosystem" means in this context, but you can build docker images using Nix. It's actually pretty cool because the image only contains the runtime dependencies of whatever you throw in the container. No package manager or build system is included. I've only tinkered with Nix, nothing in my professional life, so YMMV.
Re:Docker Apology by ParetoOptimal on Thursday March 16, 2023 @10:53PM (#35192367)
I'm super interested in the ecosystem you mean here. I'm assuming that you mean ecosystem around images like kubernetes, ECS, etc like the other commenter guessed?

If so, I think Nix being able to create docker images addresses that specific concern.

Re:Docker Apology by cuu508 on Friday March 17, 2023 @02:20AM (#35193847)
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.

Re:Docker Apology by mekster on Friday March 17, 2023 @03:56AM (#35194434)
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.