https://github.com/ideonate/jh-code-server
Getting code-server to run in JupyterHub
https://github.com/ideonate/jh-code-server
Last synced: 2 months ago
JSON representation
Getting code-server to run in JupyterHub
- Host: GitHub
- URL: https://github.com/ideonate/jh-code-server
- Owner: ideonate
- Created: 2020-09-10T13:01:44.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-10T17:20:44.000Z (almost 6 years ago)
- Last Synced: 2025-01-20T20:52:39.457Z (over 1 year ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jh-code-server
Getting VSCode [code-server](https://github.com/cdr/code-server) running inside JupyterHub
Build the Docker image:
```
docker build -t jh-code-server .
```
Add to your JupyterHub config, e.g.:
```
c.DockerSpawner.image = 'jh-code-server:latest'
c.DockerSpawner.cmd = ["python3", "-m", "jhsingle_native_proxy.main", "--destport=0", "/usr/bin/code-server", "{--}auth", "none", "{--}bind-addr", "0.0.0.0:{port}", "."]
```
To do:
Think about how to mount the user's home folder.
Pull requests are welcome.