Skip to content

Commit

Permalink
Merge pull request containers#19653 from openshift-cherrypick-robot/c…
Browse files Browse the repository at this point in the history
…herry-pick-19647-to-v4.6

[v4.6] [CI:DOCS] podmansh man page UID=3267 is not allowed
  • Loading branch information
openshift-merge-robot authored Aug 16, 2023
2 parents 8183ba8 + 6066004 commit 99fea2c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/source/markdown/podmansh.1.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ Create a Podman Quadlet file that looks something like one of the following.
Fully locked down container, no access to host OS.

```
# UID=$(id -u lockedu)
# mkdir -p /etc/containers/systemd/users/${UID}
# cat > /etc/containers/systemd/users/${UID}/podmansh.container << _EOF
# USERID=$(id -u lockedu)
# mkdir -p /etc/containers/systemd/users/${USERID}
# cat > /etc/containers/systemd/users/${USERID}/podmansh.container << _EOF
[Unit]
Description=The podmansh container
After=local-fs.target
Expand All @@ -64,9 +64,9 @@ Alternatively, while running as root, create a Quadlet where the user is allowed
# useradd -s /usr/bin/podmansh confinedu
# grep confinedu /etc/passwd
confinedu:x:4009:4009::/home/confinedu:/usr/bin/podmansh
# UID=$(id -u confinedu)
# mkdir -p /etc/containers/systemd/users/${UID}
# cat > /etc/containers/systemd/users/${UID}/podmansh.container << _EOF
# USERID=$(id -u confinedu)
# mkdir -p /etc/containers/systemd/users/${USERID}
# cat > /etc/containers/systemd/users/${USERID}/podmansh.container << _EOF
[Unit]
Description=The podmansh container
After=local-fs.target
Expand Down Expand Up @@ -95,9 +95,9 @@ Another example, while running as root, create a Quadlet where the users inside
# useradd -s /usr/bin/podmansh fullu
# grep fullu /etc/passwd
fullu:x:4010:4010::/home/fullu:/usr/bin/podmansh
# UID=$(id -u fullu)
# mkdir -p /etc/containers/systemd/users/${UID}
# cat > /etc/containers/systemd/users/${UID}/podmansh.container << _EOF
# USERID=$(id -u fullu)
# mkdir -p /etc/containers/systemd/users/${USERID}
# cat > /etc/containers/systemd/users/${USERID}/podmansh.container << _EOF
[Unit]
Description=The podmansh container
After=local-fs.target
Expand Down

0 comments on commit 99fea2c

Please sign in to comment.