Sign inSign up

novsyama/code-server-rs

By novsyama

•Updated about 5 years ago

Image
0

263

novsyama/code-server-rs repository overview

⁠docker-code-server-rs

GitHub stars GitHub license

An unofficial extended VSCode code-server⁠ image for latest rust with vscode-rust⁠ and rust-analyzer⁠.

⁠How

PROJECT_DIR=<workspace absolute path>

sudo docker pull ghcr.io/frost-tb-voo/code-server-rs
sudo docker run --name=vscode --net=host -d \
 -v "${PROJECT_DIR}:/home/coder/project" \
 -w /home/coder/project \
 --security-opt "seccomp:unconfined" \
 ghcr.io/frost-tb-voo/code-server-rs \
 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
  • RUSTUP_HOME=/usr/local/rustup
  • CARGO_HOME=/usr/local/cargo
⁠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-rs/issues⁠

And mension to @frost-tb-voo.

Tag summary

Content type

Image

Digest

Size

722.9 MB

Last updated

about 5 years ago

docker pull novsyama/code-server-rs