You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
Activity
bsideup commentedon Jun 19, 2020
docker-javaprovides 1:1 mapping to Docker's API, so, unless Docker adds such API, there are no plans to add it todocker-java. One can write a library on top ofdocker-javathat will be calling said APIs and do the operations.