Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Req: support stack operations. #1330

Closed
zysaaa opened this issue Feb 26, 2020 · 1 comment
Closed

Feature Req: support stack operations. #1330

zysaaa opened this issue Feb 26, 2020 · 1 comment

Comments

@zysaaa
Copy link

zysaaa commented Feb 26, 2020

I know that Docker does not currently provide stack-related API, but is it possible to support stack operations through secondary encapsulation of service-related operations.
For instance, for docker stack rm some-stack: iterate all the services, find the services which have label : com.docker.stack.namespace(see docker/docker/cli/compose/convert/compose.go:14) and delete these services.
The idea came from this project: https://github.com/gesellix/docker-client.

@bsideup
Copy link
Member

bsideup commented Jun 19, 2020

docker-java provides 1:1 mapping to Docker's API, so, unless Docker adds such API, there are no plans to add it to docker-java. One can write a library on top of docker-java that will be calling said APIs and do the operations.

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

No branches or pull requests

2 participants