3

I checked docker API doc:api/v1.40 and I couldn't find API support for docker stack stuff.

After I googled it, I found these GitHub issues:

  1. Feature Req: docker stack deploy into API
  2. Roadmap for docker deploy and Bundles

I still don't understand why docker stack stuff isn't supported.

If I want to manage my stack through HTTP API, what am I supposed to do? It looks like I can only ssh to the machine in a certain way to execute commands docker stack ls if I want to list all stacks on my web management page.

Also, I'd like to know how a product like portainer achieves this function?

Any answer will be appreciated.

Community
  • 1
  • 1

0 Answers0