Skip to content

Commit 52fbf9d

Browse files
authored
Turn Docker extension into an extension pack (#4567)
1 parent 9a7d150 commit 52fbf9d

314 files changed

Lines changed: 1703 additions & 31446 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 0 additions & 65 deletions
This file was deleted.

.gitattributes

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
1-
# Stop git from breaking this script by putting CRLF in place of LF
2-
resources/netCore/vsdbg text eol=lf
3-
41
# Mark some files as generated to prevent them from showing in the repo's language stats
52
NOTICE.html linguist-vendored=true

.github/workflows/main.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

.vscode/extensions.json

Lines changed: 0 additions & 6 deletions
This file was deleted.

.vscode/launch.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

.vscode/tasks.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## 2.0.0 - 15 May 2025
2+
### Changed
3+
* Nearly all features have been moved to the [Container Tools extension](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-containers). The Docker extension will remain as an extension pack containing it.
4+
* Setting IDs and names have changed. These will be migrated automatically for you.
5+
* Command IDs and names have changed. This may affect your keybindings.
6+
* Container registry connections will not be migrated due to technical limitations.
7+
18
## 1.29.6 - 23 April 2025
29
### Added
310
* The Docker extension is becoming the Container Tools extension. A toast notification will appear offering to install the Container Tools extension. You can choose to install, get a reminder later, or not be notified again. Learn more [here](https://aka.ms/vscode-container-tools-learn-more). [#4562](https://github.com/microsoft/vscode-docker/pull/4562)

CONTRIBUTING.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
# Contributing to Docker extension for VS Code
2-
3-
Welcome, and thank you for your interest in contributing to Docker extension for VS Code!. There are several of ways you can contribute to this extension.
1+
# Contributing to the Docker Extension Pack for VS Code
2+
Welcome, and thank you for your interest in contributing to the Docker Extension Pack for VS Code!. There are several of ways you can contribute to this extension.
43

54
## Ideas, feature requests, and bugs
65
We are open to all ideas and we want to get rid of bugs! Use the Issues section to either report a new issue, provide your ideas or contribute to existing threads.
76

87
## Documentation
98
The primary documentation for the extension is available at the [VS Code documentation website](https://code.visualstudio.com/docs/containers/overview). If something is unclear or does not ring true, tell us using "unhelpful documentation" link that you can find at the bottom of every page.
109

11-
If something seems wrong with [the README file](README.md) or [the Docker extension wiki](https://github.com/microsoft/vscode-docker/wiki), please open an issue, or submit a PR with correction!
10+
If something seems wrong with [the README file](README.md) or [the Docker Extension Pack wiki](https://github.com/microsoft/vscode-docker/wiki), please open an issue, or submit a PR with correction!
1211

1312
## Code
1413
To contribute bug fixes, features, or design changes:

README.md

Lines changed: 6 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -1,93 +1,11 @@
1-
## Docker for Visual Studio Code [![Version](https://img.shields.io/visual-studio-marketplace/v/ms-azuretools.vscode-docker)](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker) [![Installs](https://img.shields.io/visual-studio-marketplace/i/ms-azuretools.vscode-docker)](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker)
1+
# Docker Extension Pack for Visual Studio Code
2+
The Docker Extension Pack makes it easy to build, manage, and deploy containerized applications from Visual Studio Code.
23

3-
The Docker extension makes it easy to build, manage, and deploy containerized applications from Visual Studio Code. It also provides one-click debugging of Node.js, Python, and .NET inside a container.
4+
## Overview
5+
The Docker extension has become the Docker Extension Pack. It currently contains one extension.
46

5-
![Docker extension overview](resources/readme/overview.gif)
6-
7-
**Check out the [Working with containers](https://aka.ms/AA7arez) topic on the Visual Studio Code documentation site to get started**.
8-
9-
[The Docker extension wiki](https://github.com/Microsoft/vscode-docker/wiki) has troubleshooting tips and additional technical information.
10-
11-
## Installation
12-
13-
[Install Docker](https://docs.docker.com/install/) on your machine and add it to the system path.
14-
15-
On Linux, you should [enable rootless Docker](https://docs.docker.com/engine/security/rootless/) and set the generated Docker context to "rootless" (more secure) or [enable Docker CLI for the non-root user account](https://docs.docker.com/install/linux/linux-postinstall/#manage-docker-as-a-non-root-user) (less secure) that will be used to run VS Code.
16-
17-
To install the extension, open the Extensions view, search for `docker` to filter results and select Docker extension authored by Microsoft.
18-
19-
## Overview of the extension features
20-
21-
### Editing Docker files
22-
23-
You can get IntelliSense when editing your `Dockerfile` and `docker-compose.yml` files, with completions and syntax help for common commands.
24-
25-
![IntelliSense for Dockerfiles](resources/readme/dockerfile-intellisense.png)
26-
27-
In addition, you can use the Problems panel (<kbd>Ctrl+Shift+M</kbd> on Windows/Linux, <kbd>Shift+Command+M</kbd> on Mac) to view common errors for `Dockerfile` and `docker-compose.yml` files.
28-
29-
### Generating Docker files
30-
31-
You can add Docker files to your workspace by opening the Command Palette (<kbd>F1</kbd>) and using **Docker: Add Docker Files to Workspace** command. The command will generate a `Dockerfile` and `.dockerignore` file and add them to your workspace. The command will also ask you if you want to add Docker Compose files as well, but this is optional.
32-
33-
The extension can scaffold Docker files for most popular development languages (C#, Node.js, Python, Ruby, Go, and Java) and customizes the generated Docker files accordingly. When these files are created, we also create the necessary artifacts to provide first-class debugging support for Node.js, Python, and .NET (C#).
34-
35-
### Docker Explorer
36-
37-
The Docker extension contributes a Docker Explorer view to VS Code. The Docker Explorer lets you examine and manage Docker assets: containers, images, volumes, networks, and container registries.
38-
39-
The right-click menu provides access to commonly used commands for each type of asset.
40-
41-
![Docker view context menu](resources/readme/docker-view-context-menu.gif)
42-
43-
You can rearrange the Docker view panes by dragging them up or down with a mouse and use the context menu to hide or show them.
44-
45-
![Customize Docker view](resources/readme/docker-view-rearrange.gif)
46-
47-
### Docker commands
48-
49-
Many of the most common Docker commands are built right into the Command Palette:
50-
51-
![Docker commands](resources/readme/command-palette.png)
52-
53-
You can run Docker commands to manage [images](https://docs.docker.com/engine/reference/commandline/image/), [networks](https://docs.docker.com/engine/reference/commandline/network/), [volumes](https://docs.docker.com/engine/reference/commandline/volume/), [image registries](https://docs.docker.com/engine/reference/commandline/push/), and [Docker Compose](https://docs.docker.com/compose/reference/overview/). In addition, the **Docker: Prune System** command will remove stopped containers, dangling images, and unused networks and volumes.
54-
55-
56-
### Docker Compose
57-
58-
[Docker Compose](https://docs.docker.com/compose/) lets you define and run multi-container applications with Docker. Our [Compose Language Service](https://github.com/microsoft/compose-language-service) in the Docker extension gives you IntelliSense and tab completions when authoring `docker-compose.yml` files. Press `Ctrl+Space` to see a list of valid Compose directives.
59-
60-
![Docker Compose IntelliSense](resources/readme/tab-completions.gif)
61-
62-
63-
We also provide tooltips when you hover over a Docker Compose YAML attribute.
64-
65-
![Docker Compose Tooltips](resources/readme/hover-support.png)
66-
67-
68-
While `Compose Up` allows you to run all of your services at once, our new feature `Compose Up - Select Services` lets you select any combination of the services you want to run.
69-
70-
![Docker Compose Up - Select Subset](resources/readme/select-subset.gif)
71-
72-
Once your `Compose Up` command completes, navigate to the Docker Explorer to view your services as a Compose Group. This allows you to start, stop, and view the logs of each service as a group.
73-
74-
![Docker Compose Groups](resources/readme/compose-group.png)
75-
76-
### Using image registries
77-
78-
You can display the content and push, pull, or delete images from [Docker Hub](https://hub.docker.com/) and [Azure Container Registry](https://docs.microsoft.com/azure/container-registry/):
79-
80-
![Azure Container Registry content](resources/readme/container-registry.png)
81-
82-
An image in an Azure Container Registry can be deployed to Azure App Service directly from VS Code. See [Deploy images to Azure App Service](https://aka.ms/AA7arf8) to get started. For more information about how to authenticate to and work with registries, see [Using container registries](https://aka.ms/AA7arf9).
83-
84-
### Debugging services running inside a container
85-
86-
You can debug services built using Node.js, Python, or .NET (C#) that are running inside a container. The extension offers custom tasks that help with launching a service under the debugger and with attaching the debugger to a running service instance. For more information, see [Debug containerized apps](https://aka.ms/AA7arfb) and [Customize the Docker extension](https://aka.ms/AA7ay8l).
87-
88-
### Azure CLI integration
89-
90-
You can start Azure CLI (command-line interface) in a standalone, Linux-based container with **Docker Images: Run Azure CLI** command. This gives you access to the full Azure CLI command set in an isolated environment. For more information on available commands, see [Get started with Azure CLI](https://docs.microsoft.com/cli/azure/get-started-with-azure-cli?view=azure-cli-latest#sign-in).
7+
### Container Tools
8+
The [Container Tools](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-containers) extension replaces the Docker extension for Visual Studio Code. It contains all the functionality of the Docker extension, with additional Podman support and other features. If you want, you can uninstall this extension pack, keeping only Container Tools.
919

9210
## Contributing
9311

main.js

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)