diff --git a/content/manuals/copilot/examples.md b/content/manuals/copilot/examples.md index cca3063747..e7c498cfc0 100644 --- a/content/manuals/copilot/examples.md +++ b/content/manuals/copilot/examples.md @@ -11,28 +11,35 @@ weight: 30 The Docker for GitHub Copilot extension is an [early access](/release-lifecycle#early-access-ea) product. {{% /restricted %}} +## Use cases + Here are some examples of the types of questions you can ask the Docker agent: -## Ask general Docker questions +### Ask general Docker questions You can ask general question about Docker. For example: - `@docker what is a Dockerfile?` - `@docker how do I build a Docker image?` - `@docker how do I run a Docker container?` +- `@docker what does 'docker buildx imagetools inspect' do?` -## Get help containerizing your project +### Get help containerizing your project You can ask the agent to help you containerize your existing project: - `@docker can you help create a compose file for this project?` - `@docker can you create a Dockerfile for this project?` -The Docker agent will analyze your project, generate the necessary files, and, -if applicable, offer to [raise a pull request](#performing-actions-on-your-behalf) -with the necessary Docker assets. +#### Opening pull requests -## Analyze a project for vulnerabilities +The Docker agent will analyze your project, generate the necessary files, and, +if applicable, offer to raise a pull request with the necessary Docker assets. + +Automatically opening pull requests against your repositories is only available +when the agent generates new Docker assets. + +### Analyze a project for vulnerabilities The agent can help you improve your security posture with [Docker Scout](/manuals/scout/_index.md):