@@ -41,7 +41,7 @@ $ ssh coder.<workspaceName>
41
41
Your workspace is now accessible via ` ssh coder.<workspace_name> ` (e.g.,
42
42
` ssh coder.myEnv ` if your workspace is named ` myEnv ` ).
43
43
44
- ## VS Code
44
+ ## VS Code Remote
45
45
46
46
Once you've configured SSH, you can work on projects from your local copy of VS
47
47
Code, connected to your Coder workspace for compute, etc.
@@ -53,3 +53,43 @@ Code, connected to your Coder workspace for compute, etc.
53
53
54
54
1 . In VS Code's left-hand nav bar, click ** Remote Explorer** and right-click on
55
55
a workspace to connect.
56
+
57
+ ## VS Code in the browser
58
+
59
+ > You must have Docker Desktop running for this template to work.
60
+
61
+ Coder offers a [ sample template that includes
62
+ code-server] ( ../examples/templates/docker-code-server/README.md ) .
63
+
64
+ To use:
65
+
66
+ 1 . Start Coder:
67
+
68
+ ``` console
69
+ coder server --dev
70
+ ```
71
+
72
+ 1 . Open a new terminal and run:
73
+
74
+ ``` console
75
+ coder templates init
76
+ ```
77
+
78
+ 1 . When prompted, select the ** Develop code-server in Docker** option.
79
+
80
+ 1 . Navigate into your new folder and create your sample template:
81
+
82
+ ``` console
83
+ cd code-server-docker && coder templates create
84
+ ```
85
+
86
+ Follow the prompts that appear in the terminal.
87
+
88
+ 1 . Create your workspace:
89
+
90
+ ``` console
91
+ coder create --template="docker-code-server" [workspace name]
92
+ ```
93
+
94
+ 1 . Log into Coder's Web UI, and open your workspace. Then,
95
+ click ** code-server** to launch VS Code in a new browser window.
0 commit comments