Nix Docker Image
nixos查看中文加速指南
自动构建
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.
镜像拉取方式
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。
DockerHub 原生拉取命令
docker pull nixos/nix:<标签>
用户好评
来自真实用户的反馈,见证轩辕镜像的优质服务