---
name: "docker-deploy"
section: "1"
platform: "linux"
package: "docker.io"
version: "18.09.1+dfsg1-7.1+deb10u3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/docker-deploy"
---

# docker-deploy(1)

Deploy a new stack or update an existing stack

## NAME

docker-deploy - Deploy a new stack or update an existing stack

## SYNOPSIS

**docker deploy \[OPTIONS\] STACK**

## DESCRIPTION

Deploy a new stack or update an existing stack

## OPTIONS

**--bundle-file**=""\
     Path to a Distributed Application Bundle file

**-c**, **--compose-file**=\[\]\
     Path to a Compose file, or "-" to read from stdin

**-h**, **--help**\[=false\]\
     help for deploy

**--namespace**=""\
     Kubernetes namespace to use

**--prune**\[=false\]\
     Prune services that are no longer referenced

**--resolve-image**="always"\
     Query the registry to resolve image digest and supported platforms ("always"\|"changed"\|"never")

**--with-registry-auth**\[=false\]\
     Send registry authentication details to Swarm agents

## SEE ALSO

**[docker(1)](/docker/1.md)**
