Sign inSign up

soulmachine/code-server

By soulmachine

Updated over 3 years ago

Image
0

888

soulmachine/code-server repository overview

https://github.com/soulmachine/docker-images/tree/master/code-server

How to use

Given a C++ project on local disk, you can open this project by running:

docker run -d --name code-server --init -u "$(id -u):$(id -g)" -p 8080:8080 -v $(pwd):/project soulmachine/code-server:cpp /project

The command above mounts your local source code to /project in the container, and open /project in vscode. You can change /project to whatever path your prefer.

Use docker logs -f code-server to monitor the container, it will print the URL(default http://localhost:8080) and the password(default passw0rd) after a few seconds.

Open the URL in browser and enjoy!

All available images:

LanguageDocker Image
C++soulmachine/code-server:cpp
C++soulmachine/code-server:clang
Pythonsoulmachine/code-server:python
Rustsoulmachine/code-server:rust
Javasoulmachine/code-server:java

Tag summary

Content type

Image

Digest

sha256:71f842b09

Size

827.5 MB

Last updated

over 3 years ago

docker pull soulmachine/code-server:clang