How-To: Run Dapr in an offline or airgap environment

    By default, Dapr initialization downloads binaries and pulls images from the network to setup the development environment. However, Dapr also supports offline or airgap installation using pre-downloaded artifacts, either with a Docker or slim environment. The artifacts for each Dapr release are built into a which can be downloaded. By using this installer bundle with the Dapr CLI command, you can install Dapr into environments that do not have any network access.

    Before airgap initialization, it is required to download a Dapr Installer Bundle beforehand, containing the CLI, runtime and dashboard packaged together. This eliminates the need to download binaries as well as Docker images when initializing Dapr locally.

    1. Unpack it.

      • For Windows, create a directory and add this to your System PATH. For example create a directory called and add this directory to your path, by editing your system environment variable.

    Dapr can be initialized in an airgap environment with or without Docker containers.

    (: Docker is available in the environment)

    Move to the bundle directory and run the following command:

    The output should look similar to the following:

    Initialize Dapr without Docker

    Alternatively to have the CLI not install any default configuration files or run any Docker containers, use the --slim flag with the init command. Only the Dapr binaries will be installed.