nspawn-lite 0.2.2

A simple and lightweight container-engine like `systemd-nspawn`.
nspawn-lite-0.2.2 is not a library.

NSpawn-Lite

A minimal systemd-nspawn implementation.

  • 用于适配 CentOS 6.x 等内核版本 >=2.6.34, 但不使用 Systemd 的平台
  • 用于适配 CentOS 8.x 及 Ubuntu 16.04/18.04/20.04 等不预装 systemd-nspawn 的平台
    • 此类平台, 发行方将 systemd-nspawn 功能拆分为独立的安装包 systemd-container
nspawn-lite 0.2
FanHui. <hui.fan@mail.ru>
A mininal container engine.

USAGE:
    nspawn-lite [OPTIONS]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -a, --cmd-args <ARGS>... Args given to the `cmd`.
    -c, --cmd-path <PATH>       The command path **after** chroot.
    -n, --exec-name <NAME>      The name of 'inner systemd' process, gotten by `ps` command.
    -r, --root-path <PATH>      The new rootfs path **before** chroot.