Repository navigation
docs: compare droot with more tools, and deploy with stretcher to a service run by systemd alone - #74
Merged
Merged
Conversation
…xtractors) Add to documentation/comparison.md systemd's importctl pull-oci, the HPC container runtimes Charliecloud, Apptainer, udocker and Sarus, and the tools that turn an image into a root file system (undocker, skopeo with umoci, docker export), with how each differs from droot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012me44AQP66fnntBNsKvieH
This comment has been minimized.
This comment has been minimized.
stretcher only runs commands and systemd starts the application, so a manifest can write the drop-in of droot unit after the switch of current, reload systemd and restart the service. Document the post commands, what a failed droot unit leaves, the rollback and the deletion of old releases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012me44AQP66fnntBNsKvieH
This comment has been minimized.
This comment has been minimized.
The figure in documentation/comparison.md places the tools by how much they isolate the application from the host and by who usually runs them (unprivileged users running jobs, or root and systemd running services). The SVG is the source of the PNG. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012me44AQP66fnntBNsKvieH
This comment has been minimized.
This comment has been minimized.
Section 7 of documentation/deployment.md still ran capze with the command line of capze 0.2, which the capze that follows 0.2 no longer accepts. Section 4 was updated in #71; use the same capze deploy here. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012me44AQP66fnntBNsKvieH
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.
What and why
Four documentation changes.
1.
documentation/comparison.md: more tools. The page compared droot in detail with enroot only, and named systemd and Podman with Quadlet. This adds the other tools that a reader looking for "droot-like" software will find, and says how each differs from droot:importctl pull-oci(systemd 260 and later): it gets an OCI image from a registry forsystemd-nspawn,machinectlorportablectl, so it overlaps withdroot export. The text states the differences: it verifies only the HTTPS certificates, and it does not apply the image's configuration to a unit.docker export.The facts come from each tool's documentation in November 2026 (for example,
importctl(1)says "Added in version 260" forpull-oci). The section says so, like the enroot section does.2.
documentation/comparison.md: a positioning figure. At the top of the page, a figure places the tools by two properties: how much they isolate the application from the host (horizontal), and who usually runs them (vertical: unprivileged users running jobs, or root and systemd running services). droot is alone in the quadrant of simple runtimes for services. The text under the figure says that the places are a judgement from the default behaviour of each tool, not measurements.documentation/images/positioning.svgis the source ofpositioning.png(rendered with Chromium at 2x).3.
documentation/deployment.md: stretcher with systemd alone. stretcher only runs commands, and systemd starts the application. A manifest can therefore deploy a service that systemd runs by itself (RootDirectory=, section 7). The new subsection "With systemd alone", at the end of "Deploying with stretcher", shows thepostcommands: switchcurrent, write the drop-in withdroot unit,systemctl daemon-reload, restart. It also says what a faileddroot unitleaves, how to roll back, and why the deletion of old releases stays safe. The note "capze and dewy do not do it for you" in section 7 now points to it.dewy is not covered: dewy starts the application as its own child process (to pass the listening socket on), so the settings of a systemd unit do not apply to it.
4.
documentation/deployment.md:capze deployin section 7. The example of section 7 still rancapze --keep 5 ..., the command line of capze 0.2, which the capze that follows 0.2 no longer accepts. It now runscapze deploy --keep 5 ..., like section 4 since #71.How it was tested
Documentation only: no code, flags or help texts changed, so
make checkandmake docsare not affected. I checked the links and the quoted statements ofcomparison.mdagainst the upstream documentation, and looked at the rendered figure. The stretcher manifest was not run on a server.Checklist
make checkpasses (andmake test-root/make integration-testfor changes torun,umountorexport). Not run: the change touches no code.CHANGELOG.md(under "Unreleased") and in the README or the documentation. This change is documentation only; no CHANGELOG entry was added.AGENTS.md) are unchanged, or the change is called out above.osutil.Root. Not applicable.LICENSE_OF_DEPENDENCIES.mdis updated.🤖 Generated with Claude Code
https://claude.ai/code/session_012me44AQP66fnntBNsKvieH