containers / podlet

Generate Podman Quadlet files from a Podman command, compose file, or existing object
https://crates.io/crates/podlet
Mozilla Public License 2.0
322 stars 10 forks source link

Unknown attribute "userns_mode" #31

Closed Igetin closed 6 months ago

Igetin commented 7 months ago

I have the following line in my compose file’s service configuration:

userns_mode: "keep-id"

When trying to convert the compose file, podlet outputs the following error:

Error: 
   0: File `compose-debugging.yaml` is not a valid compose file
   1: services.test: unknown attribute "userns_mode", extensions must start with 'x-' (see https://docs.docker.com/compose/compose-file/#extension) at line 3 column 5

This should be supported by Quadlet in container/Kube units, according to the documentation.

k9withabone commented 7 months ago

This is a bug in docker-compose-types, I'll create an issue there.