Skip to content

Commit

Permalink
Merge pull request #1010 from jasonchuanet/docs_uidmaps_gidmaps
Browse files Browse the repository at this point in the history
Update docs+messages to reflect uidmaps/gidmaps code
  • Loading branch information
p12tic authored Jul 23, 2024
2 parents d0a2a44 + 7d7e64f commit 1b1d3d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ are generally specified under fields with "x-podman" prefix in the compose file.

The following extension keys are available under container configuration:

* `x-podman.uidmap` - Run the container in a new user namespace using the supplied UID mapping.
* `x-podman.uidmaps` - Run the container in a new user namespace using the supplied UID mapping.

* `x-podman.gidmap` - Run the container in a new user namespace using the supplied GID mapping.
* `x-podman.gidmaps` - Run the container in a new user namespace using the supplied GID mapping.

* `x-podman.rootfs` - Run the container without requiring any image management; the rootfs of the
container is assumed to be managed externally.
Expand Down
4 changes: 2 additions & 2 deletions podman_compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -1239,8 +1239,8 @@ async def container_to_args(compose, cnt, detached=True):
# handle podman extension
if 'x-podman' in cnt:
raise ValueError(
'Configuration under x-podman has been migrated to x-podman.uidmap and '
'x-podman.gidmap fields'
'Configuration under x-podman has been migrated to x-podman.uidmaps and '
'x-podman.gidmaps fields'
)

rootfs_mode = False
Expand Down

0 comments on commit 1b1d3d8

Please sign in to comment.