4 ms·
Even running containers is a Nix adventure in NixOS. Who needs docker-build when you have pkgs.dockerTools? Who needs docker-run when you have config.containers
by sshine 1y ago
Even running containers is a Nix adventure in NixOS. Who needs docker-build when you have pkgs.dockerTools? Who needs docker-run when you have config.containers? Wait, you can also use nixos-container CLI, or embed your container in a systemd process. And so on. It never ends.
- haswell 1y agoI opted for vanilla docker/podman. Not getting some of the Nixy benefits, but works well for my use cases. I keep telling myself that of these days I need to play with the Nix way, but we’ll see.
- grep_name 1y agoI use nixOS, do a ton of container development, and have never had issues or been confused about containers? I have two lines that enable docker in my nix config: virtualisation.docker.enable = true; users.extraGroups.docker.members = [ "green" ]; Since then, docker's been completely seamless. How far into kubernetes have you gone before? I'm a little confused about what you mean by "Install kubernetes". I used to use minikube but now use k3d, and those were both just packages available in nixpkgs. K8s (especially local k8s) is kind of hard to wrap your head around, but not because of NixOS