Skip to content

An unofficial extended VSCode code-server image for latest python3 with vscode-python.

License

Notifications You must be signed in to change notification settings

frost-tb-voo/docker-code-server-py

Repository files navigation

docker-code-server-py

GitHub stars GitHub license

An unofficial extended VSCode code-server image for latest python3 with vscode-python.

How

PROJECT_DIR=<workspace absolute path>

sudo docker pull ghcr.io/frost-tb-voo/code-server-py
sudo docker run --name=vscode --net=host -d \
 -v "${PROJECT_DIR}:/home/coder/project" \
 -w /home/coder/project \
 --security-opt "seccomp:unconfined" \
 novsyama/code-server-py \
 code-server \
 --auth none

And open http://localhost:8080 with your favorites browser. For detail options, see code-server.

Pathes of vscode code-server

If you want to preserve the settings and extensions, please mount following pathes with -v option of docker run command.

  • Home : /home/coder
  • Extension path : ~/.local/share/code-server/extensions
  • Settings path : ~/.local/share/code-server/User/settings.json
    • or, ${PROJECT_DIR}/.vscode/settings.json

Install more extensions

Similar official functionality in vscode

Developing inside a Container

This requires local installed visual studio code.

Contact

Please open an issue:

https://github.com/frost-tb-voo/docker-code-server-py/issues

And mension to @frost-tb-voo.

About

An unofficial extended VSCode code-server image for latest python3 with vscode-python.

Topics

Resources

License

Stars

Watchers

Forks

Packages