[xyz@container-1 ~]$ podlet -i compose docker-compose.yml
Error:
0: File `docker-compose.yml` is not a valid compose file
1: services.xyz: unknown attribute "cap_drop", extensions must start with 'x-' (see https://docs.docker.com/compose/compose-file/#extension) at line 5 column 5
Location:
src/cli/compose.rs:63
Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Thanks for submitting an issue! This has actually already been fixed in the podman-v4.6.0 branch with commit fbb2c0ce43369661a141cdca658a0fbcd567c966, which will be released soon.
Example snippet from docker-compose file:
Result:
https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html says