Looks like it's officially possible to self-host vscode server and access it through vscode.dev (also see this GitHub issue).

For reaching it through custom URL consider using Gitpod's OpenVSCode Server fork of vscode.

If you just want to share your configuration between machines, it's probably simplest to just use settings sync, which is available in default installation.

Answer from Matija Sirk on Stack Overflow
🌐
Visual Studio Code
code.visualstudio.com › docs › devcontainers › containers
Developing inside a Container
November 3, 2021 - Start VS Code and run Dev Containers: Clone Repository in Container Volume... from the Command Palette (F1). Enter microsoft/vscode-remote-try-node (or one of the other "try" repositories), a Git URI, a GitHub branch URL, or a GitHub PR URL ...
🌐
Reddit
reddit.com › r/vscode › running vscode in a docker container
r/vscode on Reddit: Running VScode in a docker container
March 28, 2020 -

Goal

Having multiple containers with different vscode instances.
Example: I want one container with a vscode with the necessary extensions (and dependecies) to do web development, other container to do back-end development, and other to do data-science development. This will avoid having tons of extensions in the same VScode instance, wich sometimes, causes conflicts.

As far as i know, this can be done accessing via browser pointing to a port of the container running VScode right? Can i access without the need of browser? This is because i use a lot keyshortcuts and i'm afraid they don't work if use VScode via browser. Also, is the performance a concern or will it run smoothly?

Some references

site A
site B

If you have other references other than the ones i provided, please share.

Discussions

How to use docker desktop for Windows with VS Code
I created a Docker container from Windows PowerShell for dolphinx with the command available in the Readme.md for dolphinx package. The container is running and I installed a couple of helper extensions for VS Code for using Docker. My question is that I would like to know how to start a new ... More on forums.docker.com
🌐 forums.docker.com
5
0
June 12, 2023
visual studio code - open a file in docker container with vscode - Stack Overflow
Make it easy for new team members / contributors to get up and running in a consistent development environment. ... Sign up to request clarification or add additional context in comments. ... Save this answer. Show activity on this post. Docker extension for VS Code (ms-azuretools.vscode-docker) ... More on stackoverflow.com
🌐 stackoverflow.com
How to use Dev Containers in VSCode without Docker Desktop?
To start the Docker Engine, I followed the instructions from this good post https://medium.com/@ferarias/docker-in-windows-11-using-wsl2-8e30faddc32c · With these settings, I manage to successfully run docker containers from my host, but VSCode Dev Containers does not work 😔. More on github.com
🌐 github.com
3
4
January 9, 2024
Installing VS Code in a Docker container
Why don’t more people know about DevContainers? It’s one of VS Code’s best features. More on reddit.com
🌐 r/vscode
8
4
April 3, 2025
🌐
Skao
developer.skao.int › en › latest › howto › docker-vscode.html
How to use VSCode Docker extension for Dockerfile development — developer.skao.int 1.0.0 documentation
Click in the Docker extension icon on the left pane of vscode. In the images tab find your image and left-click on it to reveal the existing tags. Choose your tag and click Run to run it.
🌐
GitHub
github.com › pubkey › vscode-in-docker
GitHub - pubkey/vscode-in-docker: Run VSCode inside of a Docker Container · GitHub
Run VSCode inside of a Docker Container. Contribute to pubkey/vscode-in-docker development by creating an account on GitHub.
Starred by 47 users
Forked by 10 users
Languages   Dockerfile 69.7% | Shell 30.3%
🌐
Docker
docker.com › blog › master-docker-vs-code-supercharge-your-dev-workflow
Master Docker and VS Code: Supercharge Your Dev Workflow | Docker
April 17, 2025 - Get step-by-step instructions on how to pair VS Code and Docker to streamline your development processes.
🌐
Medium
medium.com › @bernd.bornhausen › setting-up-visual-studio-code-with-docker-as-a-development-environment-for-python-da640978cae3
Setting up Visual Studio Code with Docker as a development environment for Python | by Bernd Bornhausen | Medium
January 25, 2022 - #The base image for the container FROM python:3.9-slim-buster # Keeps Python from generating .pyc files in the container ENV PYTHONDONTWRITEBYTECODE=1 # Turns off buffering for easier container logging ENV PYTHONUNBUFFERED=1 # Copy python requirements to the docker container and install COPY requirements.txt . RUN python -m pip install -r requirements.txt #create a non root user to access the container RUN adduser -u 5678 —-disabled-password --gecos “” vscode
Find elsewhere
🌐
Visual Studio Marketplace
marketplace.visualstudio.com › items
Dev Containers - Visual Studio Marketplace
Extension for Visual Studio Code - Open any folder or repository inside a Docker container and take advantage of Visual Studio Code's full feature set.
🌐
Docker Community
forums.docker.com › docker desktop
How to use docker desktop for Windows with VS Code - Docker Desktop - Docker Community Forums
June 12, 2023 - I created a Docker container from Windows PowerShell for dolphinx with the command available in the Readme.md for dolphinx package. The container is running and I installed a couple of helper extensions for VS Code for u…
🌐
Visual Studio Code
code.visualstudio.com › docs › containers › overview
Containers in Visual Studio Code
November 3, 2021 - Docker Compose lets you define and run multi-container applications with Docker. Our Compose Language Service in the Container Tools extension gives you IntelliSense and tab completions when authoring docker-compose.yml files.
🌐
Earthly
earthly.dev › blog › how-to-use-docker-in-vscode
How to use Docker in VS Code - Earthly Blog
July 19, 2023 - To do this, right-click on the running container in the docker explorer and click on “open in browser”: The docker extension includes a VS Code debugger configuration inside .vscode/launch.json for debugging when running inside ...
🌐
Visual Studio Code
code.visualstudio.com › remote › advancedcontainers › develop-remote-host
Develop on a remote Docker host
November 3, 2021 - Docker does not support mounting (binding) your local filesystem into a remote dev container, so Visual Studio Code's default devcontainer.json behavior to use your local source code will not work. While this is the default behavior, in this section we will cover connecting to a remote host so that you can either use the Remote - SSH extension to open a folder on a remote host in a container, attach to any running container, or use a local devcontainer.json file as a way to configure, create, and connect to a remote dev container using a socket.
🌐
Microsoft Community Hub
techcommunity.microsoft.com › microsoft community hub › communities › topics › education sector › educator developer blog
Using Visual Studio Code from a docker image locally or remotely via VS Online | Microsoft Community Hub
June 17, 2020 - You can run this container from VSCode locally see https://code.visualstudio.com/docs/remote/containers. ... Install and configure Docker for your operating system.
🌐
Medium
medium.com › @angelomarchaidez › creating-docker-containers-on-vscode-7d06a39e2d3
Creating Docker containers on VScode | by Angelomarchaidez | Medium
May 1, 2023 - Creating Docker containers on VScode Tutorial for using Docker with VScode. I will walk through a simple container creation with VScode. Then followed by creating containers on different networks …
🌐
GitHub
github.com › orgs › devcontainers › discussions › 99
How to use Dev Containers in VSCode without Docker Desktop? · devcontainers · Discussion #99
January 9, 2024 - This puts limitations on the Visual Studio 2022 and VS Code docker tools as they can't see the docker. Anyway, at least I can use Dev Containers. Beta Was this translation helpful? Give feedback. ... Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
🌐
Medium
medium.com › @taufiqpsumarna › run-vs-code-on-browser-b4320cc9d375
Code-Server: run VScode anywhere on browser | by Taufiq Permana | Medium
September 9, 2024 - Code Server is a VS Code extension that lets you run VS Code on any machine anywhere using Docker Compose. This means you can code on your Chromebook, tablet, and laptop with a consistent dev environment.
🌐
C# Corner
c-sharpcorner.com › article › installing-and-running-visual-studio-code-on-docker
Installing and Running Visual Studio Code on Docker
May 19, 2025 - A new browser tab will open with the Visual Studio Code interface running inside the container. To persist your files and settings, you can map a local directory to the container. Run the container with a volume: docker run -d -p 8080:8080 -v $(pwd):/workspace vscode-docker
🌐
Visual Studio Code
code.visualstudio.com › docs › devcontainers › create-dev-container
Create a Dev Container
November 3, 2021 - The Visual Studio Code Dev Containers extension lets you use a Docker container as a full-featured development environment. It allows you to open any folder or repository inside a container and take advantage of Visual Studio Code's full feature set.
🌐
Reddit
reddit.com › r/vscode › installing vs code in a docker container
r/vscode on Reddit: Installing VS Code in a Docker container
April 3, 2025 -

Hello,

I have been using VS Code for some years and recently started using Docker, but I am not an expert in IT infrastructure so I would like to know if it is possible to literally have VS Code and the elements required to use notebooks (Ipykernel, Python, etc) installed in a container, so that I can directly use it anywhere.

The reason for this approach is that I am working with some data hosted in an offline server, and the only way to work in there is through the packages and modules you install in a container. I can already use Jupyter notebook as it seems to be quite simple to get - just including python, its packages, and Jupyter notebook in the container.

However, I really am not a fan of Jupyter and I would love to set up a way to have VS Code run on that server. I would greatly appreciate any tips that anyone could give :)

Thanks a lot!

Best regards,

Red muffin