Update docs+messages to reflect uidmaps/gidmaps code

Signed-off-by: Jason Chua <jasonc1804@gmail.com>
This commit is contained in:
Jason Chua 2024-07-22 20:36:42 -07:00 committed by Jason
parent d0a2a44442
commit 7d7e64fe5a
No known key found for this signature in database
GPG Key ID: E5B3B85A72AEF2CD
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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