2.6 KiB
title | linkTitle | description | weight |
---|---|---|---|
Using the Docker for GitHub Copilot extension | Usage | Learn how to use the Docker for GitHub Copilot extension to interact with the Docker agent, get help Dockerizing projects, and ask Docker-related questions directly from your IDE or GitHub.com. | 20 |
{{% restricted title="Early Access" %}} The Docker for GitHub Copilot extension is an early access product. {{% /restricted %}}
The Docker Extension for GitHub Copilot provides a chat interface that you can use to interact with the Docker agent. You can ask questions and get help Dockerizing your project.
The Docker agent is trained to understand Docker-related questions, and provide guidance on Dockerfiles, Docker Compose files, and other Docker assets.
Setup
Before you can start interacting with the Docker agent, make sure you've installed the extension for your organization.
Enable GitHub Copilot chat in your editor or IDE
For instructions on how to use the Docker Extension for GitHub Copilot in your editor, see:
Verify the setup
You can verify that the extension has been properly installed by typing
@docker
in the Copilot Chat window. As you type, you should see the Docker
agent appear in the chat interface.
The first time you interact with the agent, you're prompted to sign in and authorize the Copilot extension with your Docker account.
Asking Docker questions in your editor
To interact with the Docker agent from within your editor or IDE:
- Open your project in your editor.
- Open the Copilot chat interface.
- Interact with the Docker agent by tagging
@docker
, followed by your question.
Asking Docker questions on GitHub.com
To interact with the Docker agent from the GitHub web interface:
-
Go to github.com and sign in to your account.
-
Go to any repository.
-
Select the Copilot logo in the site menu, or select the floating Copilot widget, to open the chat interface.
-
Interact with the Docker agent by tagging
@docker
, followed by your question.