Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/deploy-code-serverPublic template

Commit16e0f59

Browse files
authored
add instructions for running container locally (#43)
* add instructions for running locally* name code block
1 parent297319e commit16e0f59

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

‎deploy-container/README.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,17 @@ An container image built for deploying code-server.
99

1010
Docker Hub:`bencdr/code-server-deploy-container`
1111

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+
1223
##Modifying your code-server environment
1324

1425
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

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp