sysbox-mgr

command module
v0.0.0-...-a148665 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 41 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

sysbox-mgr

The Sysbox Manager (aka sysbox-mgr) is a daemon that provides miscellaneous services to other sysbox components.

Currently it provides these services:

  • Subid allocation: allocates a common range of subuid and subgids for all system containers; service is invoked by sysbox-runc.

  • Shiftfs marking: creates shiftfs marks on host directories on which shiftfs will be mounted. Handles redundant mounts/unmounts of shiftfs on the same directory.

  • Mount ownership changes: changes ownership on host directories that are bind-mounted into the sys container and on top of which shiftfs mounting is not possible.

  • Docker-store Volume Management: creates a directory on the host that is mounted into the system container's /var/lib/docker. This way, the overlayfs over overlayfs scenario created by running docker-in-docker is avoided.

  • Kubelet-store Volume Management: creates a directory on the host that is mounted into the system container's /var/lib/kubelet. This is needed to avoid shiftfs mounts over this directory in the sys container, as kubelet does not support it.

  • Docker-store Volume Management: creates a directory on the host that is mounted into the system container's /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs. This way, the overlayfs over overlayfs scenario created by running containerd-in-docker is avoided.

In the future it's expected to provide further services to sysbox-runc as well as sysbox-fs.

Build & Usage

sysbox-mgr is built with the sysbox Makefile. Refer to that sysbox README file for details.

gRPC

sysbox-mgr listens on a unix-domain socket for gRPC from other sysbox components.

Currently a single gRPC is used (between sysbox-runc and sysbox-mgr).

In the future other gRPCs may be created (e.g,. for communication between sysbox-fs and sysbox-mgr).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
net
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址