security_opt element should accept a list (array?):
security_opt:
- label:user:USER
- label:role:ROLE
At least for a single value, the dash is not enforced here, so following syntax is possible for podman-compose:
security_opt:
label=disable
Docker-compose doesn't allow that:
$ docker compose up
validating docker-compose.yml: services.<service>.security_opt must be a array
Following syntax works there:
security_opt:
- label=disable
$ podman-compose version
podman-compose version 1.5.0
podman version 5.8.2
Environment:
security_optelement should accept a list (array?):At least for a single value, the dash is not enforced here, so following syntax is possible for podman-compose:
Docker-compose doesn't allow that:
Following syntax works there:
Environment: