Skip to content

Latest commit

Β 

History

55 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

VisualStudio Code server

Code server on CPU

Image based on https://github.com/cdr/code-server

In the container:

  • User, with sudo privileges: coder
  • Workspace path: /home/coder/project
  • Additionally installed: Python3, NodeJS (npm, yarn), Java JDK 17s, PHP, Fortran

Run

docker run --rm -it -p 8080:8080 -e PASSWORD=password -v $(pwd):/home/coder/project ghcr.io/maastrichtu-ids/code-server:latest

You can also provide the URL of a git repository to be cloned at start, if a requirements.txt, yarn.lock or package-lock.json are present, they will be automatically installed

docker run --rm -it -p 8080:8080 -e PASSWORD=password -e GIT_URL=https://github.com/MaastrichtU-IDS/play-fair ghcr.io/maastrichtu-ids/code-server:latest

Build

docker build -t ghcr.io/maastrichtu-ids/code-server:latest .

Push

docker push ghcr.io/maastrichtu-ids/code-server:latest

Code server on Nvidia GPU

Images based on base-images provided by Nvidia:

In the containers:

  • Workspace path: /home/coder/project

Run

Run TensorFlow:

docker run -it --rm -p 8081:8081 -e PASSWORD=password ghcr.io/maastrichtu-ids/code-server:tensorflow-21.05-tf2-py3

Run PyTorch:

docker run -it --rm -p 8081:8081 -e PASSWORD=password ghcr.io/maastrichtu-ids/code-server:pytorch:25.02-py3

Build

Build TensorFlow:

docker build --build-arg NVIDIA_IMAGE=nvcr.io/nvidia/tensorflow:25.02-tf2-py3 -t ghcr.io/maastrichtu-ids/code-server:tensorflow:25.02-tf2-py3 -f tensorflow.Dockerfile .

Build PyTorch:

docker build --build-arg NVIDIA_IMAGE=nvcr.io/nvidia/pytorch:25.02-py3 -t ghcr.io/maastrichtu-ids/code-server:pytorch:25.02-py3 -f pytorch.Dockerfile .

Push

Push TensorFlow:

docker push ghcr.io/maastrichtu-ids/code-server:tensorflow-21.05-tf2-py3

Push PyTorch:

docker push ghcr.io/maastrichtu-ids/code-server:pytorch:25.02-py3 

About

πŸ§‘β€πŸ’» VisualStudio Code server Docker image

Topics

Resources

Stars

6 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages