Skip to content

Commit 9b69e54

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

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

content/manuals/copilot/examples.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,35 @@ 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

2831
- `@docker can you help create a compose file for this project?`
2932
- `@docker can you create a Dockerfile for this project?`
3033

34+
#### Opening pull requests
35+
3136
The Docker agent will analyze your project, generate the necessary files, and,
32-
if applicable, offer to [raise a pull request](#performing-actions-on-your-behalf)
33-
with the necessary Docker assets.
37+
if applicable, offer to raise a pull request with the necessary Docker assets.
38+
39+
Automatically opening pull requests against your repositories is only available
40+
when the agent generates new Docker assets.
3441

35-
## Analyze a project for vulnerabilities
42+
### Analyze a project for vulnerabilities
3643

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

0 commit comments

Comments
 (0)