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

标签 docker docker-swarm portainer

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

相关文章:

java - 使用 Docker api 连接到容器后如何使用 stdin、stdout 和 stderr 流?

docker - Kubernetes 卷主机路径

docker - AWS上的Docker群负载平衡不起作用

docker - Hyperledger-部署到多个主机时Docker群集失败

docker - 在 CI/CD 中如何管理前端和后端之间的依赖关系?

docker - 查看 Portainer 运行的命令

python - 连接到Zap代理Docker镜像 "Max retries exceeded with url: Caused by ProxyError('无法连接到代理

python - 无法从同一 docker swarm 上运行的其他服务连接到 postgres 服务?

docker - 来自守护进程 : conflict: unable to remove repository reference "portainer/portainer:latest" (must force) 的错误响应

docker - 通过使用本地镜像而不是拉取镜像来离线使用 Docker Compose