@@ -94,7 +94,42 @@ Password: yfu...yu2
9494
9595Visit the URL shown, and log in using the provided credentials.
9696
97- ### Dev URLs
97+ ## Option 2: Docker Desktop
98+
99+ [ Docker Desktop] [ docker-desktop-url ] includes a standalone Kubernetes server and
100+ client that you can use to run Coder.
101+
102+ 1 . [ Enable the Kubernetes cluster] [ docker-k8s-docs ] inside Docker.
103+
104+ 1 . Ensure that Docker has enough resources allocated to meet
105+ [ Coder's requirements] ( ../requirements ) (you can do so by going to Docker
106+ preferences).
107+
108+ ![ Docker Desktop Resources] ( ../../assets/setup/docker-desktop-resources.png )
109+
110+ 1 . Install [ metrics-server] ( https://github.com/kubernetes-sigs/metrics-server )
111+ so that Coder gets valid metrics from your cluster:
112+
113+ ``` console
114+ helm repo add bitnami https://charts.bitnami.com/bitnami
115+ ```
116+
117+ 1 . [ Install Coder] ( ../installation ) on to your cluster.
118+
119+ If you run into ` OutOfmemory ` errors when installing, try increasing your
120+ resource allocation in Docker. If increasing the resource allocation doesn't fix
121+ the error, reinstall Coder using the following Helm values:
122+
123+ ``` console
124+ helm upgrade --install coder \
125+ coder/coder
126+ ```
127+
128+ > For Coder v1.21+, you will need to update your access URL (go to ** Manage** >
129+ > ** Admin** ) to your private IP address (e.g ` 192.168.1.x ` ) instead of using
130+ > ` localhost ` .
131+
132+ ## Using Dev URLs with local preview
98133
99134Coder allows you to access services you're developing in your workspace via
100135[ dev URLs] ( ../../workspaces/devurls.md ) . You can enable dev URLs after you've
@@ -174,41 +209,6 @@ protection. Here's how to do this:
174209 devurlsHost: "*.coder"
175210 ` ` `
176211
177- # # Option 2: Docker Desktop
178-
179- [Docker Desktop][docker-desktop-url] includes a standalone Kubernetes server and
180- client that you can use to run Coder.
181-
182- 1. [Enable the Kubernetes cluster][docker-k8s-docs] inside Docker.
183-
184- 1. Ensure that Docker has enough resources allocated to meet
185- [Coder's requirements](../requirements) (you can do so by going to Docker
186- preferences).
187-
188- 
189-
190- 1. Install [metrics-server](https://github.com/kubernetes-sigs/metrics-server)
191- so that Coder gets valid metrics from your cluster :
192-
193- ` ` ` console
194- helm repo add bitnami https://charts.bitnami.com/bitnami
195- ` ` `
196-
197- 1. [Install Coder](../installation) on to your cluster.
198-
199- If you run into `OutOfmemory` errors when installing, try increasing your
200- resource allocation in Docker. If increasing the resource allocation doesn't fix
201- the error, reinstall Coder using the following Helm values :
202-
203- ` ` ` console
204- helm upgrade --install coder \
205- coder/coder
206- ` ` `
207-
208- > For Coder v1.21+, you will need to update your access URL (go to **Manage** >
209- > **Admin**) to your private IP address (e.g `192.168.1.x`) instead of using
210- > `localhost`.
211-
212212# # Removing Coder
213213
214214To remove the local Coder deployment, run :
0 commit comments