Skip to content

docker service create --user does not support "group" / "gid" #25304

@thaJeztah

Description

@thaJeztah

Unlike docker run, the --user flag for services does not currently support :group or :gid, so the following will currently fail:

docker service  create --user 123:456 --name foobar nginx

I think we should either support the same syntax as on docker run, or provide a --group / --gid flag

/cc @stevvooe @aluzzardi

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/swarmkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.version/1.12

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions