当我在 Portainer 中单击 "Update the stack" 按钮时执行哪个命令?

Which command execute when I click on "Update the stack" button in Portainer?

我使用 Portainer 并且有一堆。 如我所见,单击 "Update the stack" 按钮将 运行 命令

stack deploy --with-registry-auth --compose-file stackFilePath stackName

https://github.com/portainer/portainer/blob/develop/api/exec/swarm_stack.go#L71

对吗?

这里是 Portainer 开发者,你是对的。