nix

Nix Docker Image

自动构建

Nix包管理器是一款基于声明式配置的跨平台包管理工具,它通过不可变的包环境实现依赖隔离,支持原子化升级与回滚,确保多版本软件并行安装不冲突,并提供可重现的构建环境,广泛应用于Linux、macOS等系统,有效解决传统包管理中的依赖地狱和环境一致性问题,为开发者和系统管理员提供稳定、可靠的软件管理解决方案。

142 次收藏下载次数: 0状态:自动构建维护者:nixos仓库类型:镜像最近更新:
下载命令
点击查看

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 https://docs.docker.com/engine/reference/run/#runtime-privilege-and-linux-capabilities flag and sandbox = true set in /etc/nix/nix.conf.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 nix 镜像标签

docker pull docker.xuanyuan.run/nixos/nix:<标签>

DockerHub 原生拉取命令

docker pull nixos/nix:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告