gpt4 book ai didi

docker - 单击Portainer中的 “Update the stack”按钮时执行哪个命令?

转载 作者:行者123 更新时间:2023-12-02 18:21:39 24 4
gpt4 key购买 nike

我使用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/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com