Code-server image with Python 3 environment.
Code-server is Visual Studio Code running on a remote server, accessible through a browser.
The Dockerfile used to build the images of this repository can be downloaded from my Github.
If you want to make local modifications to the images for development purposes or just to customize the logic.
git clone https://github.com/eisimoes/code-server
cd code-server
# Customize
docker image build --pull --build-arg CODE_RELEASE=3.XX.XX -t code-server:3.XX.XX .
Create a code-server container using the image's default configuration.
docker container run -d -p 80:8080 -e TZ=America/Sao_Paulo eisimoes/code-server
Enable SSL with a Self-Signed certificate.
docker container run -d -p 443:8443 -e TZ=America/Sao_Paulo eisimoes/code-server --bind-addr 0.0.0.0:8443 --auth none --cert "" /workspace
For more configuration options.
docker container run --rm eisimoes/code-server --help
Create a code-server using the host's user and storage.
docker container run -d -p 443:8443 -e TZ=America/Sao_Paulo -u $(id -u):$(id -g) -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -v /etc/shadow:/etc/shadow:ro -v /home/myuser/:/home/myuser/ eisimoes/code-server --bind-addr 0.0.0.0:8443 --auth none --cert "" /home/myuser/workspace
Use a pre-existing certificate.
docker container run -d -p 443:8443 -e TZ=America/Sao_Paulo -v /etc/ssl/server.crt:/etc/ssl/server.crt:ro -v /etc/ssl/server.key:/etc/ssl/server.key:ro eisimoes/code-server --bind-addr 0.0.0.0:8443 --auth none --cert /etc/ssl/server.crt --cert-key /etc/ssl/server.key /workspace
Please open an issue or submit a pull request with any features, fixes, or changes.
https://github.com/eisimoes/code-server/issues
Based on https://github.com/linuxserver/docker-code-server.
Content type
Image
Digest
sha256:75f6f8335…
Size
480.1 MB
Last updated
2 months ago
docker pull eisimoes/code-server