Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pubkey/vscode-in-docker

Run VSCode inside of a Docker Container
https://github.com/pubkey/vscode-in-docker

code containers docker visualstudio vscode

Last synced: 4 days ago
JSON representation

Run VSCode inside of a Docker Container

Awesome Lists containing this project

README

        

# vscode in docker
This is a docker-container with the [vscode](https://code.visualstudio.com/)-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
1. `git clone https://github.com/pubkey/vscode-in-docker.git`
2. `cd vscode-in-docker`
3. Edit the `config.bash` and include your workspace-folder
4. `sudo bash run.bash`
5. (It will take about 15 minutes when it runs for the first time.)

## ( optional to start the container without root )
6. `sudo usermod -a -G docker alice` // replace alice with your username
7. logout of your user session, then log back in