uninstall CLI command reference

Detailed information on the uninstall CLI command

Description

Uninstall Dapr runtime.

Supported platforms

Usage

  1. dapr uninstall [flags]

Flags

NameEnvironment VariableDefaultDescription
—allfalseRemove Redis, Zipkin containers in addition to actor placement container. Remove default dapr dir located at $HOME/.dapr or %USERPROFILE%.dapr\.
—help, -hPrint this help message
—kubernetes, -kfalseUninstall Dapr from a Kubernetes cluster
—namespace, -ndapr-systemThe Kubernetes namespace to uninstall Dapr from
—container-runtimedockerUsed to pass in a different container runtime other than Docker. Supported container runtimes are: docker, podman

Examples

Uninstall from self-hosted mode

  1. dapr uninstall

You can also use option --all to remove .dapr directory, Redis, Placement and Zipkin containers

  1. dapr uninstall --all

You can specify a different container runtime while setting up Dapr. If you omit the --container-runtime flag, the default container runtime is Docker.

  1. dapr uninstall --all --container-runtime podman

Uninstall from Kubernetes

  1. dapr uninstall -k

Last modified October 8, 2022: Support for alternative container runtimes - Podman (#2745) (54b783ad)