Uninstall Dapr in a self-hosted environment

Steps to remove Dapr from your local machine

The following CLI command removes the Dapr sidecar binaries and the placement container:

  1. dapr uninstall

The above command will not remove the Redis or Zipkin containers that were installed during dapr init by default, just in case you were using them for other purposes. To remove Redis, Zipkin, Actor Placement container, as well as the default Dapr directory located at $HOME/.dapr or %USERPROFILE%\.dapr\, run:

  1. dapr uninstall --all

Note

For Linux/MacOS users, if you run your docker cmds with sudo or the install path is /usr/local/bin(default install path), you need to use sudo dapr uninstall to remove dapr binaries and/or the containers.

Last modified October 12, 2023: Update config.toml (#3826) (0ffc2e7)