pubkey / vscode-in-docker

Run VSCode inside of a Docker Container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

  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 )

  1. sudo usermod -a -G docker alice // replace alice with your username
  2. logout of your user session, then log back in

About

Run VSCode inside of a Docker Container

License:GNU General Public License v3.0


Languages

Language:Dockerfile 70.3%Language:Shell 29.7%