Add user guide for running containers with rootless podman - #14
Open
Tianhao-Gu wants to merge 1 commit into
Open
Add user guide for running containers with rootless podman#14Tianhao-Gu wants to merge 1 commit into
Tianhao-Gu wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a new BERDL user guide explaining how to run lightweight, rootless Podman containers inside notebook pods (including limitations vs. Docker-on-laptop), and links it from the main docs index.
Changes:
- Introduces a new
podman_guide.mdwith quick-start examples, operational constraints, and troubleshooting guidance. - Updates the top-level README to include the new Podman guide in the User Guides table.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| user_guides/podman_guide.md | New user guide documenting rootless Podman usage in BERDL notebooks, plus troubleshooting and reference notes. |
| README.md | Adds the new Podman guide to the User Guides index table. |
Suppressed comments (1)
user_guides/podman_guide.md:122
- The reference note says setup includes subordinate IDs, but earlier the guide says the common/expected warning is that no subuid ranges are found. Consider softening this reference bullet so it’s accurate across environments where subuids are not configured.
- Setup happens at pod boot in `before-notebook.d/15-podman-setup.sh`
(subordinate IDs, `XDG_RUNTIME_DIR`, the `/proc` bind-mount default, the
feasibility check that sets `BERDL_PODMAN_STATUS`).
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Comment on lines
+84
to
+86
| **`/proc` is the pod's.** Containers still get their own PID namespace, but `ps` | ||
| inside one lists the notebook pod's processes too. Nothing else leaks in: the | ||
| container's filesystem view is just the image plus what you `-v` mount. |
Comment on lines
+55
to
+57
| - The first `podman` command of a session prints | ||
| `no subuid ranges found ... Using rootless single mapping` — that is expected (see | ||
| below) and does not repeat. A `"/" is not a shared mount` warning is also harmless. |
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.
Adds a user guide covering how to run lightweight container images rootlessly inside a BERDL notebook, what differs from Docker on a laptop, and how to troubleshoot.