Any local terminal launched within a remote window will now have a special indicator in the dropdown or terminal tab and will also display a warning message to help differentiate them from remote terminals.
Ports in the Ports view that are associated with a running process have a filled circle icon that is now themable with the theme id ports.iconRunningProcessforeground
.
The remote indicator menu shows when clicking on the remote indicator in the bottom left corner.
The labels in the remote menu no longer start with Remote-XY. Instead this is now shown as group label.
Any extension can now contribute commands to the Remote Indicator menu. See the Extension authoring section in the Visual Studio Code April 2021 Release Notes.
Version 0.177.2 of the Remote-Containers extension includes a fix for a security issue in how cloning a repository in a Docker volume can execute code from that repository without the user necessarily being aware of this. Details are in CVE-2021-31213.
The commands Remote-Containers: Clone Repository in Container Volume and Remote-Containers: Clone GitHub Pull Request in Container Volume create a Docker volume for the cloned repository. The Remote Explorer now shows a new DEVVOLUMES view, where you can inspect and manage these volumes.
From the context menu shown for volumes, you can:
- Explore the contents of a volume in a new development container.
- Inspect the Docker meta data for a volume,
- Remove the volume.
The DEVVOLUMES toolbar provides commands to clone a repository in a container volume and to remove unused volumes. In addition, the hover provides additional information about the volume:
- The cloned repository.
- The branch name or pull request ID.
- The time when the volume was last used.
- The containers that are using the volume.
The advanced scenario where multiple repositories are cloned in a single volume is still supported. The command Remote-Containers: Clone Repository in Named Container Volume allows you to pick an existing or create a new volume for a cloned repository.
On Windows and macOS, the Remote - Containers extension offers to download and launch the Docker Desktop installer when Docker is not installed yet.
The most common case for containers is to have only one folder per container. The CONTAINERS view in the Remote Explorer now takes advantage of this by only showing folders listed under each container when you have opened more than one folder in that container. The hover for containers has also been simplified with the use of icons.
Previously, the setting remote.autoForwardPortsSource
would be set to "output"
as a machine setting when connecting to a remote with the Remote - SSH extension. Now, instead of actively setting the value, the autoForwardPortSource
default is "output"
so that your machine settings aren't changed.
- 4759: UI blocked on port updates