nixos/nix

By nixos

Updated about 2 months ago

The Nix package manager.

Image
140

5M+

nixos/nix repository overview

This image contains an installation of the Nix package manager.

Use this build to create your own customized images as follows:

FROM nixos/nix

RUN nix-channel --update

RUN nix-build -A pythonFull '<nixpkgs>'
Limitations

By default sandboxing is turned off inside the container, even though it is enabled in new installations of nix. This can lead to differences between derivations built inside a docker container versus those built without any containerization, especially if a derivation relies on sandboxing to block sideloading of dependencies.

To enable sandboxing the container has to be started with the --privileged flag and sandbox = true set in /etc/nix/nix.conf.

Tag summary

Content type

Image

Digest

sha256:080e6df28

Size

135.7 MB

Last updated

about 2 months ago

Requires Docker Desktop 4.37.1 or later.