Releases: microsoft/vscode-docker
Releases · microsoft/vscode-docker
v1.12.0
Added
- The extension now targets Docker Compose commands to files matching the
dockercompose
language ID. This raises the minimum required VS Code version to 1.55.0. #2761 - .NET apps will now scaffold using a non-root user. #1835
- Deployments from Azure Container Registry to Azure App Service now no longer require the admin credentials enabled on the ACR. This will now use a system-assigned Managed Service Identity. #1685
- The "Docker Containers: Compose Logs" command can now be used from the palette, as long as the grouping in the containers panel is set to the default of "Compose Project Name". #2770
- The contexts panel now has a "Use" button directly in the tree item, saving a click. #2719
Fixed
- ACI contexts should now work in sovereign clouds. #2775
- Better information on both Python and .NET Dockerfiles about running as a non-root user. #2724
- Generic registry auth will now try both
POST
andGET
to obtain a token. #2735 - Commands launched on compose groups from the containers panel now use the compose project name. #2755
- Containers will now more reliably be removed after debugging when using the Restart option. #2676
v1.11.0
Added
Fixed
- The use of keytar has been removed since VS Code now has a secret storage API. Users will need to log in to their registries again. #2699
- In the files explorer, folders containing spaces should work. #2739
- Adding Dockerfiles to a (ASP).NET app will now automatically generate the required .NET build task, using the C# extension. #2669
- Python
docker-run
tasks should now respect thedockerRun
command
option in tasks.json. #2725 - Microsoft Container Registry (MCR) images were sometimes incorrectly being flagged as out-of-date. #2730
v1.10.0
Added
- Added tooltips to the various explorer views, which will show a great deal of helpful information. For example, the containers tooltips show connected volumes, networks, ports, and more. #1002, #2538, #2592
- Editing files in a running Linux container is now possible. #2465
COPY
andADD
statements in Dockerfiles now support the--chmod
option. #2624- In
docker-build
anddocker-run
tasks, thedocker.host
setting is now honored. #2590 - The preferred file name for Docker Compose files is now "compose.yaml". Scaffolding will still use "docker-compose.yml" for now, but "compose.yaml" files will be recognized as Compose files, allowing for right click -> Compose Up, etc. #2618
- Codicons are now used for almost all icons. #2654
Fixed
- The previously available feature for checking if images are out of date has been re-enabled by default. The behavior now uses HEAD requests which are not subject to Docker Hub's rate limiting. This feature can be disabled with the setting
docker.images.checkForOutdatedImages
. #2691 - GitLab registry connection now supports--and requires--using personal access tokens. Users previously connecting with username and password will need to reconnect with a personal access token. Refer to the GitLab documentation on creating personal access tokens for information on how to do so. #1968, #2688
- Debugging Python apps in WSL should now work correctly. #2641
- On OS X Big Sur,
docker
was frequently missing from thePATH
environment variable for unknown reasons. This issue should now be mitigated. #2578
Experiments (may not be visible to all users)
- In context menus for Docker Compose files, a new option has been added to allow choosing a subset of the services in the Compose file to start--"Compose Up - Choose Services". This is equivalent to running the Compose Up command with the
${serviceList}
magic property in place. #2646
v1.9.1
Fixed
- Debugging .NET and Python is now possible in GitHub Codespaces! #2389, #2565
- Prompt to open a folder or workspace when executing commands that require one--instead of Report Issue button. #2512
- Fixed "object null is not iterable" error when scaffolding Dockerfiles for .NET apps. #2572
- Fixed some issues with understanding the state of containers in Azure Container Instances. #2602
v1.9.0
v1.8.1
Fixed
- This update fixes an issue that prevented debugging Python applications in Docker containers. The latest version of the Python extension is also required. #2455
- Fixed an issue where the logo was hard to see in the extension gallery page in the browser. #2499
v1.8.0
Added
- Added a read-only file explorer for running containers, this can be seen in the Docker Explorer tab. #2333
- In ACI contexts, volumes are now visible. #2315
- A start page will now open on install / upgrade with some pointers on where to begin. The automatic opening can be disabled with a checkbox on the page. #1895
- New extension icon! #2475
Fixed
- Activation performance has been improved. #2371
- .NET Core image names below 5.0 can now be pulled without
/core
. The scaffolding code has been updated to reflect this. #2429 - Output looked bad for BuildKit builds. #2451
Removed
- UI mode has been removed for the purposes of remoting, but it can be manually re-enabled. This change significantly improves the user experience when using remote features. #2356
v1.7.0
Added
- The containers view is now grouped by compose project by default. This can be changed by settings. #2324
- On compose project grouping nodes, the commands "Compose Down" and "Compose Restart" can be used from context menu. #2304
- A
docker.context
setting is added, similar todocker.host
, used for controlling theDOCKER_CONTEXT
environment variable. #2264 - The checking for outdated images now applies to images from Microsoft Container Registry (MCR), including .NET and ASP.NET images. #2165
- The
docker-build
anddocker-run
tasks now have acustomOptions
flag, which can be used to add any arbitrary command line parameters to thedocker build
anddocker run
commands, respectively. #2259, #2271
Fixed
- The outdated image checking feature now will run at most once per day in order to conserve rate limits. The feature remains disabled by default but can be enabled in settings, with
docker.images.checkForOutdatedImages
. #2272 - Fixed an issue with Django project debugging not working on Linux. #2313
- Support for environment variables (like
${env:HOME}
) in launch configurations has been added. In general, any variables VS Code supports should work. #1961 - Node.js applications in subfolders should now be scaffolded correctly for building and debugging in Docker. #2057
Removed
- The deprecated
docker-coreclr
debug configuration has been removed. It is replaced by thedocker
debug configuration. #2197
v1.6.0
Added
- Deployments to Azure Container Instances can be made directly from images in Docker Hub and Azure Container Registries in the Registries view. #1718
- ACI containers can now be stopped and started from the Explorer view. #2265
- Templates for scaffolding can be provided with the new
docker.scaffolding.templatePath
setting. #1617 - The scaffolding experience is now a wizard, which has improved UX. #1642
Changed
- The outdated image check feature has been turned off by default. It can still be turned on in settings but may result in rate limiting from Docker Hub. For more information see #2272.
Removed
- The command
vscode-docker.api.configure
has been removed. The commandvscode-docker.configure
can still be used to programmatically scaffold Dockerfiles. #2267
v1.5.0
Added
- The applicable Docker context types can be set on customized commands. #2168
- Image size has been added in the Explorer view as an optional property for labels and sorting. #2047
Fixed
- Terminal windows will be reused, instead of opening a new terminal window every time. #251
- The recommended exec form of CMD directives is now used wherever possible. #2090
- Debugging no longer stops on hot reload in Python. #2148
- Grouping containers by networks used is not working #2185
- Activation errors due to filesystem permissions #2204
- Prompt to copy debugger into container shows up repeatedly #2186
- Allow logging to container registries without gnome-keyring installed #722
Removed
- The
docker.attachShellCommand.Windows
anddocker.attachShellCommand.Linux
settings have been removed. Command customization replaces this functionality.