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.

Docker for GitHub Copilot · GitHub Marketplace · GitHub


Click on the Run Some AI Magic button and choose an AI action to run on this article