docker
GitHub App
docker
GitHub App
Docker in GitHub Copilot
Description
The Docker extension for GitHub Copilot (@docker
) is an integration that extends GitHub Copilot's technology to assist developers in working with Docker. Developers can use @docker
to learn about containerization, for generating Docker assets for inner loop workflows, or analyzing project vulnerabilities with Docker Scout.
Prerequisites and Setup
- User is a member of GitHub
- User is part of an organization that has a Copilot license
Installation, Sign-In & Auth
- Installation only needs to happen once (likely by an Admin), however Authorization needs to happen for each user
- Sign into GitHub with the account you want to link
- Authorize through the flow
-Once authorized, go to the Copilot chat window and@docker
in the chat interface
Use-cases & example prompts to get started
Here’s a quick overview of what’s possible today:
- Initiate a conversation with the Docker extension: In GitHub Copilot Chat, get in the extension context by using “
@docker
” at the beginning of your session. - Refer to documentation from your current context: Access docs.docker.com right from within Copilot Chat by asking questions like “
@docker
, What does containerizing an application mean?” or even “@docker
how can I start a container with a volume?” - Generate the right Docker assets for your project: Get help containerizing your application and watch it generate the
Dockerfile
,docker-compose.yml
, and.dockerignore
files tailored to your project’s languages and file structure: “@docker
How would I use Docker to containerize this project?” - Open a Pull Request with the assets to save you time: With your consent, the Docker extension can even ask if you want to open a PR with these generated Docker assets on GitHub, allowing you to review and merge them at your convenience.
- Find project vulnerabilities with Docker Scout: The Docker extension also integrates with Docker Scout to surface a high-level summary of detected vulnerabilities and provide the next steps to continue using Scout in your terminal via CLI: “
@docker
can you help me find vulnerabilities in my project?”
Support
For help with this GitHub Copilot extension, contact copilot-support@docker.com.
Docker Legal Terms
Docker AI supplemental terms
Vulnerability Disclosure Policy
Developer
docker is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.
Report abuse