Docker for GitHub Copilot · GitHub Marketplace · GitHub


GitHub Copilot's Docker extension streamlines containerization by generating Dockerfiles, docker-compose files, and assisting with vulnerability scanning.
AI Summary available — skim the key points instantly. Show AI Generated Summary
Show AI Generated Summary

Developers can use @docker to learn about containerization, for generating Docker assets for local development workflows, or analyzing project vulnerabilities with Docker Scout.

Docker in GitHub Copilot

  • 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 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?”

Docker for GitHub Copilot in early access. Have feedback? Please file an issue.

Was this article displayed correctly? Not happy with what you see?

We located an Open Access version of this article, legally shared by the author or publisher. Open It
Tabs Reminder: Tabs piling up in your browser? Set a reminder for them, close them and get notified at the right time.

Try our Chrome extension today!


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device


Share this article with your
friends and colleagues.
Earn points from views and
referrals who sign up.
Learn more

Facebook

Save articles to reading lists
and access them on any device