> ## Documentation Index
> Fetch the complete documentation index at: https://www.aptible.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# aptible deploy

This command is used to deploy an App. This can be used for [deploying via Docker image](https://www.aptible.com/docs/how-to-guides/app-guides/migrate-dockerfile-to-direct-image-deploy.md) and/or for [Synchronizing Configuration and code changes](https://www.aptible.com/docs/how-to-guides/app-guides/synchronize-config-code-changes.md).

Docker image names are only supported in image:tag; sha256 format is not supported.

# Synopsis

```
Usage:
  aptible deploy [VAR=VALUE ...] [flags]

Flags:
      --app string                         App handle
      --container-count int32              Container count for new services
      --container-profile string           Container profile for new services (e.g. m, c, r)
      --container-size int32               Container size in MB for new services
      --docker-image string                Docker image to deploy
  -e, --env string                         Environment handle (alias)
      --environment string                 Environment handle
      --force-zero-downtime                Force zero-downtime deployment for all services
      --git-commitish string               Git commit, branch, or tag to deploy
      --git-detach                         Detach app from git and deploy current image
      --private-registry-password string   Private registry password
      --private-registry-username string   Private registry username
```
