diff --git a/docs/source/contribute.md b/docs/source/contribute.md index 9d9f53363..7717b7529 100644 --- a/docs/source/contribute.md +++ b/docs/source/contribute.md @@ -137,13 +137,19 @@ continue. ``` 1. Configure `docker` using environment variables to use the same Docker daemon - as your `minikube` cluster. This means images you build are directly - available to the cluster. + as your local Kubernetes cluster. This means images you build are directly + available to the cluster. If using `minikube`, ```bash eval $(minikube docker-env) ``` + If using Docker Desktop, + + ```bash + docker context use desktop-linux + ``` + 1. Start BinderHub with the testing config file. ```bash @@ -189,18 +195,24 @@ continue. ``` 2. Configure `docker` using environment variables to use the same Docker daemon - as your `minikube` cluster. This means images you build are directly - available to the cluster. + as your local Kubernetes cluster. This means images you build are directly + available to the cluster. If using `minikube`, ```bash eval $(minikube docker-env) ``` + If using Docker Desktop, + + ```bash + docker context use desktop-linux + ``` + 3. Build the docker images referenced by the Helm chart and update its default values to reference these images. ```bash - (cd helm-chart && chartpress) + (python3 -m build . && cd helm-chart && chartpress) ``` 4. Get the chart dependencies (for example JupyterHub)