https://github.com/jamowei/code-server
VS Code in the browser based on Fedora Linux
https://github.com/jamowei/code-server
browser code-server development fedora ide vscode
Last synced: about 1 month ago
JSON representation
VS Code in the browser based on Fedora Linux
- Host: GitHub
- URL: https://github.com/jamowei/code-server
- Owner: jamowei
- License: mit
- Created: 2025-02-09T19:52:37.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-10-18T01:43:52.000Z (2 months ago)
- Last Synced: 2025-10-19T01:22:28.690Z (2 months ago)
- Topics: browser, code-server, development, fedora, ide, vscode
- Language: Dockerfile
- Homepage: https://code.visualstudio.com/
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# code-server docker
[](https://github.com/jamowei/code-server/actions/workflows/buildAndRelease.yaml)
Run [VS Code](https://github.com/Microsoft/vscode) on
any [Docker](https://www.docker.com/) host and use it in the browser.
The Docker image is based on latest [Fedora Linux](https://hub.docker.com/_/fedora) image
and starts the great [code-server](https://github.com/coder/code-server) inside.
## Run it
```
docker run --rm --name code-server \
-p 8080:8080 \
-e PASSWORD=mypassword \
-v /home/dev:/my-workspace \
ghcr.io/jamowei/code-server:latest
```
Then open http://localhost:8080/
Using `sudo` the default password is `changeit`. You can set a new password by running:
```
echo "${USER}:new_password" | sudo chpasswd
```
## Environment Variables
| Name | Default Value | Description |
| ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- |
| LOCALE | `en` | Set the locale of vs-code. See available [here](https://code.visualstudio.com/docs/getstarted/locales#_available-locales) |
| PASSWORD | `changeit` | Password for using code-server |
| EXTENSIONS | `golang.go\|ms-python.python\|ms-python.debugpy\|eamodio.gitlens\|humao.rest-client\|esbenp.prettier-vscode\|dbaeumer.vscode-eslint\|ecmel.vscode-html-css\|pkief.material-icon-theme\|dreamcatcher45.podmanager` | List of vs-code extensions-ids, separated by `\|` which gets added to the default ones |
## Build it
Get the latest released `VERSION` of [code-server](https://github.com/coder/code-server)
from [here](https://github.com/coder/code-server/releases).
```
docker build --build-arg VERSION=v4.96.4 -t myrepo/code-server:latest.
```