Portainer Docker Compose Stack Deployment Cancellation and Timeout
0 reputation · 26 Jun 2022, 11:10 UTC
Portainer Docker Compose Stack Deployment Cancellation and Timeout
Goal: Confirm whether Portainer Community Edition allows administrators to set a deployment timeout or cancel an in-progress Docker Compose stack deployment through the UI or API, and identify the permission boundary for that action.
Constraint: Available documentation does not clearly describe a user-configurable stack deployment timeout or a visible cancel button while a stack status is pending. Environment roles control stack creation, but a separate cancellation permission is not documented. Behavior may differ between Portainer Community Edition and Business Edition and across versions, so version assumptions must be stated.
Uncertainty: Long-running image pulls or container creation can block subsequent stack operations on the same environment, and it is unclear whether server restart or agent disconnection mid-deployment leaves the stack in a recoverable state.
Questions:
- Does the Portainer API for the installed version expose a timeout parameter or cancellation endpoint for active stack deployments?
- Which environment role or permission governs canceling a stack deployment, if such an action exists?
- What is the expected stack state after a deployment is interrupted by server restart or agent disconnection?