Skip to content

Commit 1b1d3d8

Browse files
authored
Merge pull request #1010 from jasonchuanet/docs_uidmaps_gidmaps
Update docs+messages to reflect uidmaps/gidmaps code
2 parents d0a2a44 + 7d7e64f commit 1b1d3d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/Extensions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ are generally specified under fields with "x-podman" prefix in the compose file.
77

88
The following extension keys are available under container configuration:
99

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

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

1414
* `x-podman.rootfs` - Run the container without requiring any image management; the rootfs of the
1515
container is assumed to be managed externally.

podman_compose.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1239,8 +1239,8 @@ async def container_to_args(compose, cnt, detached=True):
12391239
# handle podman extension
12401240
if 'x-podman' in cnt:
12411241
raise ValueError(
1242-
'Configuration under x-podman has been migrated to x-podman.uidmap and '
1243-
'x-podman.gidmap fields'
1242+
'Configuration under x-podman has been migrated to x-podman.uidmaps and '
1243+
'x-podman.gidmaps fields'
12441244
)
12451245

12461246
rootfs_mode = False

0 commit comments

Comments
 (0)