S
S
Slava Anzhiganov2022-02-04 20:58:05
API
Slava Anzhiganov, 2022-02-04 20:58:05

How to create docker stack via API?

I have a docker swarm, I want to create a stack via the API, but nowhere in the documentation is there a description of how to do this.
Accordingly, if I create a service through the API, then it does not apply to any stack.
But, nevertheless, you can create a stack only through shell docker stack create ...

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question