Skip to content

Command Line Tools

wheels deploy prune images

Prune old images of the service on every host. Leaves the current image and anything referenced by a retained container.

wheels deploy prune images [--destination=<name>] [--dry-run]

| Flag | Description | |------|-------------| | --destination=<name> | Overlay destination config. | | --dry-run | Print the commands without executing. |

Per host, emits a docker image prune --filter scoped to the service's image name. Images referenced by retained containers are safe.

illustrative
wheels deploy prune images