Skip to content

Use podman keep-id options for uid and gid#2439

Draft
eriksjolund wants to merge 2 commits into
jupyter:mainfrom
eriksjolund:update-podman-example
Draft

Use podman keep-id options for uid and gid#2439
eriksjolund wants to merge 2 commits into
jupyter:mainfrom
eriksjolund:update-podman-example

Conversation

@eriksjolund
Copy link
Copy Markdown
Contributor

Podman 4.3.0 and later support the syntax

--userns keep-id:uid=${uid},gid=${gid}

Use this syntax because fewer command-line arguments are then needed for the
podman run command.

Mention the workaround for older podman versions.

Remove the sudo warning because the command does not map the container user to the root user.

Side note 1:
I added the Podman example in #1677

Side note 2:
I was not able to test the new changes because I ran out of disk space.

 no space left on device

(I mark this PR as a draft PR because of this)

Describe your changes

Issue ticket if applicable

Checklist (especially for first-time contributors)

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests
  • I will try not to use force-push to make the review process easier for reviewers
  • I have updated the documentation for significant changes

eriksjolund and others added 2 commits May 7, 2026 08:34
Podman 4.3.0 and later support the syntax

--userns keep-id:uid=${uid},gid=${gid}

Use this syntax. Mention the workaround for older
podman versions.

Remove the sudo warning because the command does not
map the container user to the root user.

Signed-off-by: Erik Sjölund <erik.sjolund@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant