docs: README Docker section + hatch-vcs notes#22
Merged
Conversation
- New 'Docker' section with pull instructions and concrete examples for create / burn / verify / extract via `docker run`. Documents the three in-container caveats: no /sys/block/sr* auto-detection, growisofs needs CAP_SYS_RAWIO (or --privileged), and `verify <iso-file>` requires a running udisksd that the slim image doesn't ship. - Replace stale 'Version is read from __init__.py' wording with a short hatch-vcs explainer (tag → _version.py → __init__.py), plus a note that _version.py is generated/gitignored. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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
docker runexamples for all four subcommands. Documents the three in-container caveats:--device=/dev/sr0doesn't populate/sys/block/, so auto-detection won't find the drive — pass-D /dev/srNexplicitly.burnneedsCAP_SYS_RAWIO(--privilegedis the easy path;--cap-add=SYS_RAWIOis the surgical one).verify <iso-file>doesn't work in the slim image becauseudisksctlneeds a runningudisksd/dbus. Workaround: pre-mount on host.__init__.py' wording with a short hatch-vcs explainer (tag →_version.py→__init__.py), mention that_version.pyis gitignored.Test plan
ruff check+ruff format --checkpass (README-only change, but project policy says always lint).🤖 Generated with Claude Code