feat(guest): add sysbox container runtime v0.6.7#35
Merged
Conversation
2 tasks
Add Nestybox Sysbox as an alternative container runtime, enabling rootless containers to run workloads like Systemd, Docker, and Kubernetes inside containers. Recipe builds sysbox-runc, sysbox-fs, and sysbox-mgr from source with reproducible builds verified (identical binaries across clean builds). Key design decisions: - Network access only in do_configure (go mod vendor); do_compile is fully offline with -mod=vendor - Pre-generated protobuf .pb.go files to avoid protoc build dependency - Orphaned bazil/fuse commit forked to Dstack-TEE/fuse with named branch - Kernel configs: CONFIG_USER_NS=y, CONFIG_CONFIGFS_FS=m - Docker daemon configured with sysbox-runc runtime
7bdd26a to
71d9054
Compare
- Remove --log file paths (rootfs is read-only), output to journal+console - Add rsync and fuse to RDEPENDS (required by sysbox-mgr and sysbox-fs) - Pre-create /etc/subuid and /etc/subgid entries via pkg_postinst - Add After=dstack-prepare.service so sysbox starts after /etc overlay - Bind-mount sysbox data dir to persistent storage (overlayfs not allowed)
kvinwang
commented
Feb 8, 2026
meta-dstack/recipes-core/dstack-sysbox/files/sysbox-mgr.service
Outdated
Show resolved
Hide resolved
Move the sysbox persistent storage bind-mount from sysbox-mgr.service ExecStartPre into dstack-prepare.sh, alongside docker and containerd mounts. This keeps all container runtime storage mounts in one place.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Details
dstack-sysbox_0.6.7.bbfetches 7 git repos (sysbox, sysbox-runc, sysbox-fs, sysbox-mgr, sysbox-ipc, sysbox-libs, fuse)do_configure[network]=1vendors Go deps;do_compileuses-mod=vendor(no network).pb.gofiles avoid build-timeprotocdependencyDstack-TEE/fusewith named branchsysbox-v0.6.7CONFIG_USER_NS=y,CONFIG_CONFIGFS_FS=madded via kernel config fragmentsTest plan
bitbake dstack-sysboxcleansstate) produce identical md5 hashes for all 3 binaries