uninstall CLI command reference
Detailed information on the uninstall CLI command
Description
Uninstall Dapr runtime.
Supported platforms
Usage
dapr uninstall [flags]
Flags
Name | Environment Variable | Default | Description |
---|---|---|---|
--all |
false |
Remove Redis, Zipkin containers in addition to the Scheduler service and the actor Placement service containers. Remove default Dapr dir located at $HOME/.dapr or %USERPROFILE%\.dapr\ . |
|
--help , -h |
Print this help message | ||
--kubernetes , -k |
false |
Uninstall Dapr from a Kubernetes cluster | |
--namespace , -n |
dapr-system |
The Kubernetes namespace from which Dapr is uninstalled | |
--container-runtime |
docker |
Used to pass in a different container runtime other than Docker. Supported container runtimes are: docker , podman |
Examples
Uninstall from self-hosted mode
dapr uninstall
You can also use option --all
to remove .dapr directory, Redis, Placement, Scheduler, and Zipkin containers
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.
dapr uninstall --all --container-runtime podman
Uninstall from Kubernetes
dapr uninstall -k
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.
Last modified December 18, 2024: Merge pull request #4461 from dapr/dependabot/npm_and_yarn/daprdocs/nanoid-3.3.8 (5660a64)