Skip to content

Commit 1570c87

Browse files
committed
update readme
Signed-off-by: tianya <[email protected]>
1 parent 003646e commit 1570c87

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

README.md

+33-1
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,46 @@ The Dapr CLI allows you to setup Dapr on your local dev machine or on a Kubernet
1111

1212
### Prerequisites
1313

14-
On default, during initialization the Dapr CLI will install the Dapr binaries as well as setup a developer environment to help you get started easily with Dapr. This environment uses Docker containers, therefore Docker needs to be installed. If you prefer to run Dapr without this environment and no dependency on Docker, after installation of the CLI make sure to follow the instructions to initialize Dapr using [slim init](#slim-init).
14+
On default, during initialization the Dapr CLI will install the Dapr binaries as well as setup a developer environment to help you get started easily with Dapr. This environment uses `Docker`, `Podman` or `Containerd` containers, therefore container runtime needs to be installed. If you prefer to run Dapr without this environment and without any container dependencies, after installation of the CLI make sure to follow the instructions to initialize Dapr using [slim init](#slim-init).
1515

1616
Note, if you are a new user, it is strongly recommended to install Docker and use the regular init command.
1717

1818
* Install [Docker](https://docs.docker.com/install/)
1919

2020
>__Note: On Windows, Docker must be running in Linux Containers mode__
2121
22+
If you want to use podman as a runtime, then please refer to the installation.
23+
24+
* Install [Podman](https://podman-desktop.io/docs/Installation)
25+
26+
If you want to use containerd as a runtime, then please refer to the installation.
27+
28+
For both Windows and Linux systems:
29+
30+
### Step 1: Install [Containerd](https://github.com/containerd/containerd/blob/main/docs/getting-started.md).
31+
32+
### Step 2: Install [nerdctl](https://github.com/containerd/nerdctl/blob/main/docs/installation.md).
33+
34+
MacOS:
35+
containerd and nerdctl are not supported for macOS. You can use tools like `lima`, `colima` or `rancher-desktop`. The section below shows how to install on macOS using brew.
36+
[Lima](https://github.com/lima-vm/lima):
37+
38+
```bash
39+
brew install lima
40+
limactl start
41+
ln -s nerdctl.lima /usr/local/bin/nerdctl
42+
43+
```
44+
45+
[Colima](https://github.com/abiosoft/colima)
46+
47+
```bash
48+
brew install colima
49+
colima start --runtime containerd
50+
colima nerdctl install
51+
```
52+
[Rancher-desktop](https://docs.rancherdesktop.io/getting-started/installation#installing-rancher-desktop-on-macos)
53+
2254
### Installing Dapr CLI
2355

2456
#### Using script to install the latest release

0 commit comments

Comments
 (0)