Open exarkun opened 1 year ago
❯ docker run --rm -it --user nobody nixos/nix:2.16.1
This repository is for the nixpkgs
Docker Hub organization. The nixos/nix
image seems to be maintained in the nix repository, not here, so issues should probably be filed there.
There is already an issue on this subject in this repository: #41
I made a PR for nixos/nix
: https://github.com/NixOS/nix/pull/9854
@exarkun Maybe you can test it?
Currently if the Docker container is started as a non-root user (eg
nobody
), Nix commands fail with permission errors. For example:It would be nice if it were possible to use these commands as some non-root user (not necessarily "nobody") without further modifying the image.