moby/moby

Add support for setting ownership of CSI volumes via VOLUME_MOUNT_GROUP

s4ke opened this issue · 0 comments

s4ke commented

Description

Currently the CSI integration does not support setting permissions on newly created volumes. The CSI spec has support for it via VOLUME_MOUNT_GROUP, see https://github.com/container-storage-interface/spec/blob/master/spec.md.

Supporting this in Docker Swarm would mean that more services could be run under a different user than root.

See also the discussion on hetznercloud/csi-driver#377 for more background information.