mirror of https://github.com/docker/docs.git
copilot: restructure examples section
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
parent
f3a1142f52
commit
51acb80f1f
|
@ -11,28 +11,35 @@ weight: 30
|
||||||
The Docker for GitHub Copilot extension is an [early access](/release-lifecycle#early-access-ea) product.
|
The Docker for GitHub Copilot extension is an [early access](/release-lifecycle#early-access-ea) product.
|
||||||
{{% /restricted %}}
|
{{% /restricted %}}
|
||||||
|
|
||||||
|
## Use cases
|
||||||
|
|
||||||
Here are some examples of the types of questions you can ask the Docker agent:
|
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:
|
You can ask general question about Docker. For example:
|
||||||
|
|
||||||
- `@docker what is a Dockerfile?`
|
- `@docker what is a Dockerfile?`
|
||||||
- `@docker how do I build a Docker image?`
|
- `@docker how do I build a Docker image?`
|
||||||
- `@docker how do I run a Docker container?`
|
- `@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:
|
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 help create a compose file for this project?`
|
||||||
- `@docker can you create a Dockerfile for this project?`
|
- `@docker can you create a Dockerfile for this project?`
|
||||||
|
|
||||||
The Docker agent will analyze your project, generate the necessary files, and,
|
#### Opening pull requests
|
||||||
if applicable, offer to [raise a pull request](#performing-actions-on-your-behalf)
|
|
||||||
with the necessary Docker assets.
|
|
||||||
|
|
||||||
## 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
|
The agent can help you improve your security posture with [Docker
|
||||||
Scout](/manuals/scout/_index.md):
|
Scout](/manuals/scout/_index.md):
|
||||||
|
|
Loading…
Reference in New Issue