Skip to content

Commit c3d5978

Browse files
committed
add note about DOCKER_HOST for kn quickstart kind
Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
1 parent 19dd0ef commit c3d5978

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

docs/snippets/quickstart-install.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ To get a local deployment of Knative, run the `quickstart` plugin:
8989
netstat -tnlp | grep 80
9090
```
9191

92+
!!! note
93+
Quickstart connects to the Docker daemon at `/var/run/docker.sock` and does not honor the socket selected by your current `docker context` (for example, when using Colima, Rancher Desktop, or Lima). If you see an error like `Cannot connect to the Docker daemon at unix:///var/run/docker.sock`, set the `DOCKER_HOST` environment variable to your active socket before running the command. For example:
94+
```bash
95+
export DOCKER_HOST=unix://$HOME/.lima/docker/sock/docker.sock
96+
```
97+
You can find the endpoint for your active context by running `docker context ls`.
98+
9299
1. After the plugin is finished, verify you have a cluster called `knative`:
93100

94101
```bash

0 commit comments

Comments
 (0)