# Run VSCodium Containerized in Docker
Author: i12bretro
Keywords: Browser Based,Docker Made Easy,Home Lab,Home Lab Ideas,Install Guide,Self-Hosted,Web Based,Web Based Tools,Code Editor,Developer,Free Open Source Software,IDE,Linux,Source Code Editor,VSCode,VSCodium,Visual Studio Code,Docker Simplified,Docker Tutorial,Docker,Docker Container,Docker How To,Docker Made Simple,Homelab,Containerize,Containers,Open Source Software,How To,Tutorial,i12bretro

## What is VSCodium?

> VSCodium is a clone of Microsoft’s Visual Studio Code. The project’s sole aim is to provide you with ready to use binaries without Microsoft’s telemetry and tracking code. -https://vscodium.com/

## Installing Docker

1. Log into the Linux Docker host and run the following commands in a terminal window
   # install prerequisites
   sudo apt install apt-transport-https ca-certificates curl software-properties-common gnupg-agent -y
   # add docker gpg key
   curl -fsSL https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release)/gpg | sudo apt-key add -
   # add docker software repository
   sudo add-apt-repository "deb [arch=$(dpkg --print-architecture)] https://download.docker.com/linux/$(awk -F'=' '/^ID=/{ print $NF }' /etc/os-release) $(lsb_release -cs) stable"
   # install docker
   sudo apt install docker-ce docker-compose containerd.io -y
   # enable and start docker service
   sudo systemctl enable docker && sudo systemctl start docker
   # add the current user to the docker group
   sudo usermod -aG docker $USER
   # reauthenticate for the new group membership to take effect
   su - $USER

## Running VSCodium

1. Continue with the following commands in a terminal window
   # list current uid and gid, note these for later
   id $user
   # create working directories
   mkdir ~/docker/vscodium/{config,code} -p
   # run the vscodium docker image
   # replace PUID, GUID with the output of the id $user command above
   docker run -d --name=vscodium --cap-add=IPC_LOCK -e PUID=1000 -e PGID=1000 -e TZ=America/New_York -p 8003:3000 -v ~/docker/vscodium/config:/config -v ~/docker/vscodium/code:/code --shm-size="1gb" --restart unless-stopped lscr.io/linuxserver/vscodium:latest
2. Open a web browser and navigate to http://localhost:8003
3. Welcome to VSCodium

Source: https://hub.docker.com/r/linuxserver/vscodium