我如何使用Docker Stack REST API?

有没有人尝试使用Docker Stack REST API来创build新的堆栈或列表堆栈?

Docker版本:Client:版本:17.05.0-ce API版本:1.29 Go版本:go1.7.5 Git commit:89658be内置:Thu May 4 22:06:25 2017 OS / Arch:linux / amd64

服务器:版本:17.05.0-ce API版本:1.29(最低版本1.12)Go版本:go1.7.5 Git commit:89658be内置:Thu May 4 22:06:25 2017 OS / Arch:linux / amd64实验:false