vscode in docker
This is a docker-container with the vscode-editor.
Why you should use this?
- You can commit your vs-code settings and plugins and share them on different devices
- You always have your dependencies installed inside the container
- You can be sure that vs-code cannot access any unwanted files on your device
- You can limit the internet-access to ensure no data will be send to microsoft
Install
git clone https://github.com/pubkey/vscode-in-docker.git
cd vscode-in-docker
- Edit the
config.bash
and include your workspace-folder
sudo bash run.bash
- (It will take about 15 minutes when it runs for the first time.)
( optional to start the container without root )
-
sudo usermod -a -G docker alice
// replace alice with your username
- logout of your user session, then log back in