News for hackers. Stuff that matters.
Re:Docker Apology by mekster on Thursday March 16, 2023 @04:38PM (#35188173)
With what?
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.

Re:Docker Apology by mort96 on Thursday March 16, 2023 @04:41PM (#35188225)
Podman is pretty good, and more or less a drop-in replacement.
Re:Docker Apology by hashtag-til on Thursday March 16, 2023 @07:42PM (#35190566)
Yep, already wrote an internal guide for my whole team to move away from docker into podman+quay.io by the end of next week.

Works like a charm on our macbooks, very neat.

Even if we need to pay, I’m looking for alternatives not Docker Inc. - There is only so much you can take.

I don’t want to rely on them anymore.

Re:Docker Apology by halostatue on Thursday March 16, 2023 @08:17PM (#35190880)
Any chance of seeing a version of that guide outside of your organization?
Re:Docker Apology by gpm on Thursday March 16, 2023 @04:55PM (#35188460)
Someone on lobste.rs mentioned quay.io (maintained by redhat) as an alternative to dockerhub. Anyone have any experience with it?
Re:Docker Apology by sofixa on Thursday March 16, 2023 @05:13PM (#35188740)
It started as a CoreOS project and for a long time it was the only ebterprisey registry, and it included security scanning. Had some availability issues some time ago, but AFAIK today it's pretty good.
Re:Docker Apology by bravetraveler on Thursday March 16, 2023 @06:00PM (#35189382)
The software is nice, if looking to run your own - I'd recommend it over the typical Docker-provided incantation

Way more enterprise appropriate, for example - granular control on caches

Re:Docker Apology by bigiain on Thursday March 16, 2023 @10:49PM (#35192323)
Given the CentOS shit, I'm not convinced jumping from Docker Inc to RedHat is appropriately mitigating the risk of a corporate rug pull once they've decided its time for the next step in their enshittification plan...