Docker run and docker exec error

You should be able to go back to before the issue with this: Docker fails to run containers · Issue #244159 · NixOS/nixpkgs · GitHub

It sounds like the fix will be available in nixos 23.05 very soon. It’s already in nixos unstable.

I hope this doesn’t discourage you from trying nixos. I’ve only been using it for a few weeks, but I’ve been really happy with what I’ve seen–among many other things, you can tweak or upgrade your system entirely risk-free because it takes just a few seconds to roll back if anything goes wrong. Of course there’s a big learning curve if you’re coming from a more traditional distro, which is the main reason you don’t see more people using it.