vscode-in-docker
vscode-in-docker copied to clipboard
Run VSCode inside of a Docker Container
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.gitcd vscode-in-docker- Edit the
config.bashand 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