百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
V

vpsadminos

> 编程语言
开源

基于 NixOS、ZFS 和 LXC 的 Linux 系统容器主机

185 stars0 点赞3 次浏览
访问官网GitHub

工具介绍

基于 NixOS、ZFS 和 LXC 的 Linux 系统容器主机

vpsAdminOS

vpsAdminOS is a small OS serving as a host for unprivileged Linux system containers. It is based on NixOS and not-os. It is designed to run full distributions inside unprivileged containers which look and feel as much as a virtual machine as possible.

vpsAdminOS is developed and used in production by vpsFree.cz, a non-profit organization which provides virtual servers to its members. See vpsfree-cz-configuration for example cluster configuration.

Links

  • IRC: #vpsadminos @ irc.libera.chat
  • Documentation:
  • Man pages:
  • OS and program references:
  • ISO images:

Components

vpsAdminOS uses:

  • LTS kernel with a mix of out-of-tree patches to improve container experience,
  • runit as an init system,
  • ZFS for storage,
  • our own tools for system container management called osctl,
  • LXC is used to run the containers,
  • BIRD for network routing.

Building OS

Our kernel live-patch facility requires ccache to build the OS.

bash
git clone https://github.com/vpsfreecz/vpsadminos/
cd vpsadminos

vpsAdminOS is developed on top of the latest NixOS release and pins nixpkgs in flake.lock, so you do not need to set NIX_PATH. Ensure flakes are enabled (Nix >= 2.4 or experimental-features = nix-command flakes in nix.conf).

vpsAdminOS can now be built and run:

# Build the OS
make

# Run under qemu
make qemu

The QEMU runner creates two disk images - sda.img and sdb.img which are added as QEMU ATA drives and can be used to create a mirrored ZFS pool that persists across reboots.

Explicit ZFS Full Suite

OpenZFS full-suite execution is available as an explicit test-runner tag and is not part of default -t ci runs.

bash
# Full profile (long run)
./run-zfs-full-suite.sh

# Quicker profiles
PROFILE=sanity ./run-zfs-full-suite.sh
PROFILE=smoke ./run-zfs-full-suite.sh

# Start multiple runs in parallel by using unique state dirs/run ids
RUN_ID=zfs-full-a ./run-zfs-full-suite.sh
RUN_ID=zfs-full-b ./run-zfs-full-suite.sh

Usage

…

Binary cache

vpsAdminOS has its own binary cache which contains builds of vpsAdminOS with the current NixOS stable branch. Using it can save a lot of time building the kernel.

nix
{ config, ... }:
{
  nix.settings = {
    substituters = [ "https://cache.vpsadminos.org" ];
    trusted-public-keys = [ "cache.vpsadminos.org:wpIJlNZQIhS+0gFf1U3MC9sLZdLW3sh5qakOWGDoDrE=" ];

    # Enable fallback in case the binary cache is unreachable
    fallback = true;
    connect-timeout = 15;
  };
}

Docs

  • vpsAdminOS documentation
  • Manual pages
  • Reference documentation
  • https://linuxcontainers.org/

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Rubycontainerslinuxlxcnix

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言