Skip to content

add instructions for running container locally #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 13, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions deploy-container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ An container image built for deploying code-server.

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

To run the container locally, you can use:

```console
docker run -p 127.0.0.1:8080:8080 \
-v "$PWD/project:/home/coder/project" \
-u "$(id -u):$(id -g)" \
-e "DOCKER_USER=$USER" \
-e "PASSWORD=12345" \
-it bencdr/code-server-deploy-container:latest
```

## Modifying your code-server environment

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.
Expand Down