11---
22title : Ask Gordon
3- description : Learn how to streamline your workflow with Docker's AI-powered assistant.
3+ description : Streamline your workflow with Docker's AI-powered assistant in Docker Desktop and CLI .
44weight : 10
55params :
66 sidebar :
77 badge :
88 color : blue
99 text : Beta
1010 group : AI
11- aliases :
11+ aliases :
1212 - /desktop/features/gordon/
1313---
1414
@@ -37,16 +37,15 @@ Ask Gordon is not enabled by default, and is not
3737production-ready. You may also encounter the term "Docker AI" as a broader
3838reference to this technology.
3939
40- > [ !NOTE]
40+ > [ !NOTE]
4141>
4242> Ask Gordon is powered by Large Language Models (LLMs). Like all
4343> LLM-based tools, its responses may sometimes be inaccurate. Always verify the
4444> information provided.
4545
4646### What data does Gordon access?
4747
48- When you use Ask Gordon, the data it accesses depends on the context of your
49- query:
48+ When you use Ask Gordon, the data it accesses depends on your query:
5049
5150- Local files: If you use the ` docker ai ` command, Ask Gordon can access files
5251 and directories in the current working directory where the command is
@@ -57,19 +56,18 @@ query:
5756 registry.
5857
5958To provide accurate responses, Ask Gordon may send relevant files, directories,
60- or image metadata to the Gordon backend along with your query. This data
61- transfer occurs over the network but is never stored persistently or shared with
62- third parties. It is used exclusively to process your request and formulate a
63- response. For more information about privacy terms and conditions for Docker AI,
64- review [ Gordon's Supplemental
65- Terms] ( https://www.docker.com/legal/docker-ai-supplemental-terms/ ) .
59+ or image metadata to the Gordon backend with your query. This data transfer
60+ occurs over the network but is never stored persistently or shared with third
61+ parties. It is used only to process your request and formulate a response. For
62+ details about privacy terms and conditions for Docker AI, review [ Gordon's
63+ Supplemental Terms] ( https://www.docker.com/legal/docker-ai-supplemental-terms/ ) .
6664
6765All data transferred is encrypted in transit.
6866
6967### How your data is collected and used
7068
7169Docker collects anonymized data from your interactions with Ask Gordon to
72- enhance the service. This includes the following :
70+ improve the service. This includes:
7371
7472- Your queries: Questions you ask Gordon.
7573- Responses: Answers provided by Gordon.
@@ -81,45 +79,44 @@ To ensure privacy and security:
8179- Docker does not use this data to train AI models or share it with third
8280 parties.
8381
84- By using Ask Gordon, you help improve Docker AI's reliability and accuracy,
85- making it more effective for all users .
82+ By using Ask Gordon, you help improve Docker AI's reliability and accuracy for
83+ everyone .
8684
8785If you have concerns about data collection or usage, you can
8886[ disable] ( #disable-ask-gordon ) the feature at any time.
8987
9088## Enable Ask Gordon
9189
92901 . Sign in to your Docker account.
93- 2 . Navigate to the ** Beta features** tab in settings.
94- 3 . Check the ** Enable Docker AI** checkbox.
91+ 1 . Go to the ** Beta features** tab in settings.
92+ 1 . Check the ** Enable Docker AI** checkbox.
9593
96- The Docker AI terms of service agreement is displayed . You must agree to the
97- terms before you can enable the feature. Review the terms and select ** Accept
98- and enable** to continue.
94+ The Docker AI terms of service agreement appears . You must agree to the terms
95+ before you can enable the feature. Review the terms and select ** Accept and
96+ enable** to continue.
9997
100- 4 . Select ** Apply** .
98+ 1 . Select ** Apply** .
10199
102100> [ !IMPORTANT]
103101>
104- > For Docker Desktop versions 4.41 and earlier, this settings lived under the ** Experimental features** tab on the ** Features in development** page.
102+ > For Docker Desktop versions 4.41 and earlier, this setting is under the
103+ > ** Experimental features** tab on the ** Features in development** page.
105104
106105## Using Ask Gordon
107106
108107You can access Gordon:
109108
110109- In Docker Desktop, in the ** Ask Gordon** view.
111- - Via the Docker CLI, with the ` docker ai ` CLI command.
110+ - In the Docker CLI, with the ` docker ai ` command.
112111
113- Once you've enabled the Docker AI features, you'll also find references to ** Ask
114- Gordon** in various other places throughout the Docker Desktop user interface.
115- Whenever you encounter a button with the ** Sparkles** (✨) icon in the user
116- interface, you can use the button to get contextual support from Ask Gordon.
112+ After you enable Docker AI features, you will also see ** Ask Gordon** in other
113+ places in Docker Desktop. Whenever you see a button with the ** Sparkles** (✨)
114+ icon, you can use it to get contextual support from Ask Gordon.
117115
118116## Example workflows
119117
120- Ask Gordon is a general-purpose AI assistant created to help you with all your
121- Docker-related tasks and workflows. If you need some inspiration, here are a few
122- ways things you can try:
118+ Ask Gordon is a general-purpose AI assistant for Docker tasks and workflows. Here
119+ are some things you can try:
123120
124121- [ Troubleshoot a crashed container] ( #troubleshoot-a-crashed-container )
125122- [ Get help with running a container] ( #get-help-with-running-a-container )
@@ -134,9 +131,9 @@ $ docker ai "What can you do?"
134131
135132### Troubleshoot a crashed container
136133
137- If you try to start a container with an invalid configuration or command, you
138- can use Ask Gordon to troubleshoot the error. For example, try starting a
139- Postgres container without specifying a database password:
134+ If you start a container with an invalid configuration or command, use Ask Gordon
135+ to troubleshoot the error. For example, try starting a Postgres container without
136+ a database password:
140137
141138``` console
142139$ docker run postgres
@@ -156,17 +153,16 @@ container's name, or inspect the container and open the **Ask Gordon** tab.
156153
157154### Get help with running a container
158155
159- If you want to run a specific image but you're not sure how, Gordon might be
160- able to help you get set up:
156+ If you want to run a specific image but are not sure how, Gordon can help you get
157+ set up:
161158
1621591 . Pull an image from Docker Hub (for example, ` postgres ` ).
163- 2 . Open the ** Images** view in Docker Desktop and select the image.
164- 3 . Select the ** Run** button.
160+ 1 . Open the ** Images** view in Docker Desktop and select the image.
161+ 1 . Select the ** Run** button.
165162
166- In the ** Run a new container** dialog, you should see a message about
167- ** Ask Gordon** .
163+ In the ** Run a new container** dialog, you see a message about ** Ask Gordon** .
168164
169- ![ Ask Gordon hint in Docker Desktop] ( ../../images/gordon-run-ctr.png )
165+ ![ Screenshot showing Ask Gordon hint in Docker Desktop. ] ( ../../images/gordon-run-ctr.png )
170166
171167The linked text in the hint is a suggested prompt to start a conversation with
172168Ask Gordon.
@@ -176,13 +172,13 @@ Ask Gordon.
176172Gordon can analyze your Dockerfile and suggest improvements. To have Gordon
177173evaluate your Dockerfile using the ` docker ai ` command:
178174
179- 1 . Navigate to your project directory:
175+ 1 . Go to your project directory:
180176
181177 ``` console
182- $ cd path/to/my/ project
178+ $ cd < path-to-your- project>
183179 ```
184180
185- 2 . Use the ` docker ai ` command to rate your Dockerfile:
181+ 1 . Use the ` docker ai ` command to rate your Dockerfile:
186182
187183 ``` console
188184 $ docker ai rate my Dockerfile
@@ -202,8 +198,8 @@ across several dimensions:
202198
203199### Migrate a Dockerfile to DHI
204200
205- Migrating your Dockerfile to use [ Docker Hardened Images] ( /manuals/dhi/_index.md ) helps you build
206- more secure, minimal, and production-ready containers. DHIs are designed to
201+ Migrating your Dockerfile to use [ Docker Hardened Images] ( /manuals/dhi/_index.md )
202+ helps you build more secure, minimal, and production-ready containers. DHIs
207203reduce vulnerabilities, enforce best practices, and simplify compliance, making
208204them a strong foundation for secure software supply chains.
209205
@@ -218,16 +214,15 @@ To request Gordon's help for the migration:
218214If you've enabled Ask Gordon and you want to disable it again:
219215
2202161 . Open the ** Settings** view in Docker Desktop.
221- 2 . Navigate to ** Beta features** .
222- 3 . Clear the ** Enable Docker AI** checkbox.
223- 4 . Select ** Apply** .
217+ 1 . Go to ** Beta features** .
218+ 1 . Clear the ** Enable Docker AI** checkbox.
219+ 1 . Select ** Apply** .
224220
225221### For organizations
226222
227- If you want to disable Ask Gordon for your entire Docker organization, using
228- [ Settings
229- Management] ( /manuals/enterprise/security/hardened-desktop/settings-management/_index.md ) ,
230- add the following property to your ` admin-settings.json ` file:
223+ To disable Ask Gordon for your entire Docker organization, use [ Settings
224+ Management] ( /manuals/enterprise/security/hardened-desktop/settings-management/_index.md )
225+ and add this property to your ` admin-settings.json ` file:
231226
232227``` json
233228{
@@ -238,8 +233,7 @@ add the following property to your `admin-settings.json` file:
238233}
239234```
240235
241- Alternatively, you can disable all Beta features by setting ` allowBetaFeatures `
242- to false:
236+ Or disable all Beta features by setting ` allowBetaFeatures ` to false:
243237
244238``` json
245239{
0 commit comments