Skip to content

Commit 3471d1c

Browse files
committed
copilot: restructure examples section
Signed-off-by: David Karlsson <[email protected]>
1 parent 1eb393b commit 3471d1c

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

content/manuals/copilot/examples.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,20 @@ weight: 30
1111
The Docker for GitHub Copilot extension is an [early access](/release-lifecycle#early-access-ea) product.
1212
{{% /restricted %}}
1313

14+
## Use cases
15+
1416
Here are some examples of the types of questions you can ask the Docker agent:
1517

16-
## Ask general Docker questions
18+
### Ask general Docker questions
1719

1820
You can ask general question about Docker. For example:
1921

2022
- `@docker what is a Dockerfile?`
2123
- `@docker how do I build a Docker image?`
2224
- `@docker how do I run a Docker container?`
25+
- `@docker what does 'docker buildx imagetools inspect' do?`
2326

24-
## Get help containerizing your project
27+
### Get help containerizing your project
2528

2629
You can ask the agent to help you containerize your existing project:
2730

@@ -32,7 +35,13 @@ The Docker agent will analyze your project, generate the necessary files, and,
3235
if applicable, offer to [raise a pull request](#performing-actions-on-your-behalf)
3336
with the necessary Docker assets.
3437

35-
## Analyze a project for vulnerabilities
38+
#### Opening pull requests
39+
40+
If you request the agent to generate Docker assets, it will offer to open a
41+
pull request for you. Automatically opening pull requests against your
42+
repositories is only available when the agent generates new Docker assets.
43+
44+
### Analyze a project for vulnerabilities
3645

3746
The agent can help you improve your security posture with [Docker
3847
Scout](/manuals/scout/_index.md):

0 commit comments

Comments
 (0)