podman-compose icon indicating copy to clipboard operation
podman-compose copied to clipboard

Add support for selinux in verbose bind mount specification

Open charliemirabile opened this issue 1 year ago • 0 comments

As specified here in the compose schema: https://github.com/compose-spec/compose-spec/blob/c35d19323fdfd7dbf9db30022498e29ef5ebeab2/schema/compose-spec.json#L382-L388

and described here in the compose spec: https://github.com/compose-spec/compose-spec/blob/master/05-services.md#long-syntax-5

it should be possible to specify selinux relabeling for a bind mount specified using the verbose syntax (as opposed to the terse syntax which already works). This PR adds support for this syntax in podman compose to achieve parity with docker compose in this area.

charliemirabile avatar Apr 10 '24 19:04 charliemirabile