Skip to content

cli/compose: honor group_add on stack deploy - #7298

Open
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:fix/stack-group-add
Open

cli/compose: honor group_add on stack deploy#7298
locker95 wants to merge 1 commit into
docker:masterfrom
locker95:fix/stack-group-add

Conversation

@locker95

Copy link
Copy Markdown
Contributor

docker stack deploy dies on group_add with "Additional property group_add is not allowed", even though docker service create --group-add already puts those groups on ContainerSpec.Groups.

Allow group names and GIDs in the v3 schema and pass them through on convert.

Fixes #3777

docker stack deploy rejected group_add as an unknown property, even
though service create --group-add already maps it to ContainerSpec.Groups.

Signed-off-by: Dean Chen <862469039@qq.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

group_add unavailable when using docker stack deploy

2 participants