|
| 1 | +--- |
| 2 | +title: Docker for GitHub Copilot |
| 3 | +params: |
| 4 | + sidebar: |
| 5 | + badge: |
| 6 | + color: violet |
| 7 | + text: EA |
| 8 | +weight: 100 |
| 9 | +description: | |
| 10 | + Learn how to streamline Docker-related tasks with the Docker for GitHub |
| 11 | + Copilot extension. This integration helps you generate Docker assets, analyze |
| 12 | + vulnerabilities, and automate containerization through GitHub Copilot Chat in |
| 13 | + various development environments. |
| 14 | +keywords: Docker, GitHub Copilot, extension, Visual Studio Code, chat, ai, containerization |
| 15 | +--- |
| 16 | + |
| 17 | +{{% restricted title="Early Access" %}} |
| 18 | +The Docker for GitHub Copilot extension is an [early access](/release-lifecycle#early-access-ea) product. |
| 19 | +{{% /restricted %}} |
| 20 | + |
| 21 | +The [Docker for GitHub Copilot](https://github.com/marketplace/docker-for-github-copilot) |
| 22 | +extension integrates Docker's capabilities with GitHub Copilot, providing |
| 23 | +assistance with containerizing applications, generating Docker assets, and |
| 24 | +analyzing project vulnerabilities. This extension helps you streamline |
| 25 | +Docker-related tasks wherever GitHub Copilot Chat is available. |
| 26 | + |
| 27 | +## Key features |
| 28 | + |
| 29 | +Key features of the Docker for GitHub Copilot extension include: |
| 30 | + |
| 31 | +- Ask questions and receive responses about containerization in any context |
| 32 | + where GitHub Copilot Chat is available, such as on GitHub.com and in Visual Studio Code. |
| 33 | +- Automatically generate Dockerfiles, Docker Compose files, and `.dockerignore` |
| 34 | + files for a project. |
| 35 | +- Open pull requests with generated Docker assets directly from the chat |
| 36 | + interface. |
| 37 | +- Get summaries of project vulnerabilities from [Docker |
| 38 | + Scout](/manuals/scout/_index.md) and receive next steps via the CLI. |
| 39 | + |
| 40 | +## Data Privacy |
| 41 | + |
| 42 | +The Docker agent is trained exclusively on Docker's documentation and tools to |
| 43 | +assist with containerization and related tasks. It does not have access to your |
| 44 | +project's data outside the context of the questions you ask. |
| 45 | + |
| 46 | +When using the Docker Extension for GitHub Copilot, GitHub Copilot may include |
| 47 | +a reference to the currently open file in its request if authorized by the |
| 48 | +user. The Docker agent can read the file to provide context-aware responses. |
| 49 | + |
| 50 | +If the agent is requested to check for vulnerabilities or generate |
| 51 | +Docker-related assets, it will clone the referenced repository into in-memory |
| 52 | +storage to perform the necessary actions. |
| 53 | + |
| 54 | +Source code or project metadata is never persistently stored. Questions and |
| 55 | +answers are retained for analytics and troubleshooting. Data processed by the |
| 56 | +Docker agent is never shared with third parties. |
| 57 | + |
| 58 | +## Supported languages |
| 59 | + |
| 60 | +The Docker Extension for GitHub Copilot supports the following programming |
| 61 | +languages for tasks involving containerizing a project from scratch: |
| 62 | + |
| 63 | +- Go |
| 64 | +- Java |
| 65 | +- JavaScript |
| 66 | +- Python |
| 67 | +- Rust |
| 68 | +- TypeScript |
0 commit comments