You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: deploy-container/README.md
+11
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,17 @@ An container image built for deploying code-server.
9
9
10
10
Docker Hub: `bencdr/code-server-deploy-container`
11
11
12
+
To run the container locally, you can use:
13
+
14
+
```console
15
+
docker run -p 127.0.0.1:8080:8080 \
16
+
-v "$PWD/project:/home/coder/project" \
17
+
-u "$(id -u):$(id -g)" \
18
+
-e "DOCKER_USER=$USER" \
19
+
-e "PASSWORD=12345" \
20
+
-it bencdr/code-server-deploy-container:latest
21
+
```
22
+
12
23
## Modifying your code-server environment
13
24
14
25
To update your code-server version, modify the version number on line 2 in your Dockerfile. See the [list of tags](https://hub.docker.com/r/codercom/code-server/tags?page=1&ordering=last_updated) for the latest version.
0 commit comments