Skip to content

Feature Req: support stack operations. #1330

Closed

Description

@zysaaa

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.

Activity

  1. bsideup commented on Jun 19, 2020

    @bsideup
    Member

    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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions