VSCode's remote-containers lets you connect to containers, either containers set up on another machine or set up locally. It makes it much easier to set up the networking so that you don't have to configure all the ports. If you're learning Docker, VSCode makes it so much easier. It has a few quirks, especially if you're running it on Windows with Docker Desktop/WSL2, but if you pair it with the Docker VSCode extension, it becomes incredibly easy to learn. Answer from Willbo on reddit.com
🌐
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.
🌐
Rancher Desktop
docs.rancherdesktop.io › vs code remote containers
VS Code Remote Containers | Rancher Desktop Docs
The Visual Studio Code Remote - Containers extension lets you use a Docker container as a full-featured development environment, which helps ensure a consistent environment across developer machines and makes it easy for new team members and contributors to get up and running.
Discussions

Mapping Versions of vscode extension ms-vscode-remote.remote-containers to its Source Code - Stack Overflow
I've been exploring the ms-vscode-remote.remote-containers extension for Visual Studio Code and am interested in understanding its linkage to the devcontainers organization on GitHub. Previously, the More on stackoverflow.com
🌐 stackoverflow.com
Remote containers in VSCodium
Hi, I would like to use devcontainers in VSCodium. Is this possible? The issues I've been facing so far seem to be that when the Remote Containers extension creates a container, it tries to ins... More on github.com
🌐 github.com
6
September 2, 2022
Remote-Containers Extension of VS Code not able to execute docker commands - Stack Overflow
Setup: Ubuntu 20.04 distro running inside WSL2 (5.4.72-microsoft-standard-WSL2) VS Code version 1.55.2 installed in Windows Docker version 19.03.8, build afacb8b7f0 installed in WSL2 docker-compose More on stackoverflow.com
🌐 stackoverflow.com
Visual Studio Code: How to install remote-containers plugin?
I’m trying to use the VS Code Remote Containers extension on NixOS. The extension gets installed, but it remains greyed out / disabled. I’m wondering how I could get it to work. To install it, I’ve added the following… More on discourse.nixos.org
🌐 discourse.nixos.org
0
1
August 24, 2021
🌐
Reddit
reddit.com › r/docker › difference between vscode's "remote - containers" and docker's "dev environments"?
r/docker on Reddit: Difference between VSCode's "Remote - Containers" and Docker's "Dev Environments"?
April 10, 2021 -

I'm new to all this. I want to create a containerized environment for each language to stay organized and learn Docker/Linux. What is the difference between the Remote Containers extension and the Dev Environments feature of Docker? Are they both using the same underlying Docker features to create an environment? Are both required for my purposes? What's the best practice for an environment container I probably won't ever need to share with anyone? Thanks!

Top answer
1 of 4
11
VSCode's remote-containers lets you connect to containers, either containers set up on another machine or set up locally. It makes it much easier to set up the networking so that you don't have to configure all the ports. If you're learning Docker, VSCode makes it so much easier. It has a few quirks, especially if you're running it on Windows with Docker Desktop/WSL2, but if you pair it with the Docker VSCode extension, it becomes incredibly easy to learn.
2 of 4
3
What I don't like about remote containers is that they cannot be used along with remote SSH. I have a remote host with a monorepo including multiple development containers. I want to be able to connect to the Remote SSH, and optionally from there, connect to the Remote Container. Instead the best option is to set the DOCKER_MACHINE IP to the remote SSH socket and connect directly to it with VSC Remote Container. But that means my VSC environment is in an isolated development container in the monorepo, rather than the host machine. I've considered moving the whole dev environment into the container, since that's basically what I do already in CI where I need to use "docker in docker" (dind). Then I would connect directly to that development container instead of the remote host. This way I wouldn't need to setup launch configs and port forwarding for each container in order to get debugging to work. So I think it might be a good option, but problem is then I lose out on any host-only features of the remote environment. I suppose I could open ssh on the host for connections from docker, and then use DOCKER_HOST to connect to the host in an SSH session from the container when I need to.
🌐
Visual Studio Code
code.visualstudio.com › docs › devcontainers › containers
Developing inside a Container
November 3, 2021 - Follow the quick start for the Remote - SSH extension to connect to a host and open a folder there. Use the Dev Containers: Reopen in Container command from the Command Palette (F1, ⇧⌘P (Windows, Linux Ctrl+Shift+P)).
🌐
Microsoft Learn
learn.microsoft.com › en-us › shows › beginners-series-to-dev-containers › installing-the-remote-containers-extension-2-of-8--beginners-series-to-dev-containers
Installing the Remote - Containers Extension [2 of 8] | Microsoft Learn
January 26, 2021 - Now that we know what it means to develop in a container and why you'd want to do container-based development, join Burke Holland to learn how to install the Remote - Containers extension in Visual Studio Code and see how it works.Learn more:Remote - Containers Microsoft Learn Module: https://aka.ms/devcontainers-learn-moduleRemote - Containers Extension on the marketplace: https://aka.ms/remote-containers-extensionMain Remote - Containers Documentation: https://aka.ms/vscode-remote-containersRemote - Containers Tutorial: https://aka.ms/vscode-remote-containers-tutorialWatch entire series: https://aka.ms/BeginnerSeriesToDevContainersFollow:https://twitter.com/brigitmurtaughhttps://twitter.com/burkeholland
🌐
Opengeosys
opengeosys.org › stable › docs › devguide › advanced › vscode-devcontainer
Develop with VS Code Remote – Containers
Visual Studio Code is a powerful text editor which can be expanded to a full featured integrated development environment (IDE) with plugins. With the Visual Studio Code Remote - Containers extension you can use prebuilt Docker container as the runtime environment for your code development.
🌐
Docker Hub
hub.docker.com › extensions › egekocabas › remote-docker
Remote Docker - Docker Extension
Key Features: - Full remote Docker environment management via SSH tunneling - Real-time container logs for quick troubleshooting - Compact CLI-style log view - Isolated tabbed views per container - Persistent environment settings for easy access - Dashboard with live container, image, volume, and network insights Architecture: - Backend (Go): Handles SSH tunnel creation and proxies Docker commands to remote hosts - Frontend (React/TypeScript): Provides a responsive UI for managing remote Docker instances Security Considerations: - Mounts your local SSH keys as read-only from ~/.ssh into the ex
Find elsewhere
🌐
Medium
medium.com › lseg-developer-community › how-to-use-the-visual-studio-code-remote-containers-extension-with-real-time-sdk-docker-image-4826f6f9e236
How to use the Visual Studio Code Remote — Containers extension with Real-Time SDK Docker Image | by Wasin Waeosri | LSEG Developer Community | Medium
March 7, 2023 - It helps developers create a consistent ... — Containers extension makes developers work with Docker easier, by integrating VS Code into a Docker container as a full-featured development environment....
🌐
Docker Hub
hub.docker.com › r › microsoft › vscode-devcontainers
microsoft/vscode-devcontainers - Docker Image
The Remote - Containers⁠ extension lets you use a Docker container⁠ as a full-featured development environment. The extension starts a development container running a well defined tool and runtime stack. Workspace files can be mounted into the container from the local file system, or copied ...
🌐
Chris Meagher's blog
meeg.dev › blog › getting-started-with-vs-code-remote-containers-on-windows
Getting started with VS Code Remote Containers on Windows | Chris Meagher's blog
June 8, 2021 - The Remote - Containers extension is just one of a few VS Code extensions in the "Remote" stable. There is also a Remote - WSL extension that I found I needed to install to act as a "stepping stone" to working with development containers.
🌐
GitHub
github.com › VSCodium › vscodium › discussions › 1471
Remote containers in VSCodium · VSCodium/vscodium · Discussion #1471
July 2, 2023 - Hi, I would like to use devcontainers in VSCodium. Is this possible? The issues I've been facing so far seem to be that when the Remote Containers extension creates a container, it tries to ins...
Author   VSCodium
🌐
Stack Overflow
stackoverflow.com › questions › 77262810 › mapping-versions-of-vscode-extension-ms-vscode-remote-remote-containers-to-its-s
Mapping Versions of vscode extension ms-vscode-remote.remote-containers to its Source Code - Stack Overflow
Previously, the source code for this extension was housed in the repository https://github.com/microsoft/vscode-dev-containers. However, since they deprecated that repo and move to https://github.com/devcontainers, I'm finding it challenging to map specific versions of the ms-vscode-remote.remote-containers extension back to its corresponding source code.
🌐
GitHub
gist.github.com › yohhaan › b492e165b77a84d9f8299038d21ae2c9
How to use VS Code Remote Containers Extension · GitHub
How to use VS Code Remote Containers Extension. GitHub Gist: instantly share code, notes, and snippets.
🌐
Medium
medium.com › @ganeshkumaresan › vs-code-remote-containers-dev-container-a0d34bd6def5
VS Code Remote Containers/Dev Containers | by Ganesh | Medium
July 21, 2021 - The Visual Studio Code Remote — Containers extension lets you use a Docker container as a full-featured development environment.
🌐
Docker
docker.com › blog › how-to-develop-inside-a-container-using-visual-studio-code-remote-containers
How to Develop Inside a Container Using Visual Studio Code Remote Containers | Docker
June 16, 2020 - The Visual Studio Code Remote – Containers extension allows you to develop inside a container. The configuration and customizations are all part of your code.
🌐
GitHub
github.com › VSCodium › vscodium › issues › 1229
Remote containers in VSCodium · Issue #1229 · VSCodium/vscodium
September 2, 2022 - The issues I've been facing so far seem to be that when the Remote Containers extension creates a container, it tries to install the closed source vscode server inside the container. It does this by getting the URL https://update.code.visualstudio.com/commit:e04433b713b33cd229ae8fbb747c31997b7a5074/server-linux-x64/stable where the commit hash is taken from the product.json file.
Author   Weissnix4711
🌐
GitHub
github.com › mysmartspace › container-templates
GitHub - mysmartspace/container-templates: A repository of development container definitions for the VS Code Remote - Containers extension and GitHub CodespacesA repository of development container definitions for the VS Code Remote - Containers extension and GitHub Codespaces · GitHub
A repository of development container definitions for the VS Code Remote - Containers extension and GitHub CodespacesA repository of development container definitions for the VS Code Remote - Containers extension and GitHub Codespaces - mysmartspace/container-templates
Author   mysmartspace
🌐
Stack Overflow
stackoverflow.com › questions › 67090604 › remote-containers-extension-of-vs-code-not-able-to-execute-docker-commands
Remote-Containers Extension of VS Code not able to execute docker commands - Stack Overflow
First, I thought that the Remote-Containers extension wants to execute the docker commands inside windows and not WSL2. Since I don't have Docker Desktop installed on Windows, it is impossible to execute docker commands in Windows.
🌐
GitHub
github.com › egekocabas › remote-docker
GitHub - egekocabas/remote-docker: A Docker Desktop extension for managing and monitoring remote Docker environments via SSH tunneling.
A Docker Desktop extension for managing and monitoring remote Docker environments via SSH tunneling. - egekocabas/remote-docker
Starred by 41 users
Forked by 9 users
Languages   TypeScript 70.4% | Go 26.1% | Dockerfile 2.4% | TypeScript 70.4% | Go 26.1% | Dockerfile 2.4%
🌐
NixOS Discourse
discourse.nixos.org › help
Visual Studio Code: How to install remote-containers plugin? - Help - NixOS Discourse
August 24, 2021 - I’m trying to use the VS Code Remote Containers extension on NixOS. The extension gets installed, but it remains greyed out / disabled. I’m wondering how I could get it to work. To install it, I’ve added the following to my environment.systemPath: let extensions = (with pkgs.vscode-extensions; [ github.vscode-pull-request-github editorconfig.editorconfig ms-python.python ms-azuretools.vscode-docker ms-vscode-remote.remote-ssh esbenp.prettier-vscode dbaeumer.vsco...