我使用 Portainer 并且只有一堆。 正如我所看到的,单击“更新堆栈”按钮将运行命令
stack deploy --with-registry-auth --compose-file stackFilePath stackName
https://github.com/portainer/portainer/blob/develop/api/exec/swarm_stack.go#L71
对吗?
最佳答案
Portainer 开发人员,你是对的。
关于docker - 当我在 Portainer 中单击 "Update the stack"按钮时执行哪个命令?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51661240/