Skip to content

Commit f568055

Browse files
AI: freshness (#23190)
Apply freshness updates to AI pages. --------- Co-authored-by: Allie Sadler <[email protected]>
1 parent 081dcfd commit f568055

File tree

13 files changed

+378
-319
lines changed

13 files changed

+378
-319
lines changed

.github/prompts/freshness-tier1.prompt.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@ how fresh and up to date it is. Apply the following:
1212
5. Ensure all the components formatted correctly.
1313
6. Improve the SEO keywords.
1414
7. If you find numbered lists, make sure their numbering only uses 1's.
15+
8. Ensure each line is limited to 80 characters.
1516

1617
Do your best and don't be lazy.

.github/prompts/freshness-tier2.prompt.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ how fresh and up to date it is. Apply the following:
1818
5. Try to add some helpful next steps to the end of the document, but only if there are no *Next steps* or *Related pages* section, already.
1919
6. Try to clarify, shorten or improve the efficiency of some sentences.
2020
7. Check for LLM readibility.
21+
8. Ensure each line is limited to 80 characters.
2122

2223
Do your best and don't be lazy.

content/includes/gordondhi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
1. Ensure Gordon is [enabled](/manuals/ai/gordon.md#enable-ask-gordon).
2-
1. In Gordon's Toolbox, ensure Gordon's [Developer MCP toolkit is enabled](/manuals/ai/gordon/mcp/built-in-tools.md#configuration).
2+
1. In Gordon's Toolbox, ensure Gordon's [Developer MCP Toolkit is enabled](/manuals/ai/gordon/mcp/built-in-tools.md#configuration).
33
1. In the terminal, navigate to the directory containing your Dockerfile.
44
1. Start a conversation with Gordon:
55
```bash

content/manuals/ai/gordon/_index.md

Lines changed: 47 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
title: 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.
44
weight: 10
55
params:
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
3737
production-ready. You may also encounter the term "Docker AI" as a broader
3838
reference 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

5958
To 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

6765
All data transferred is encrypted in transit.
6866

6967
### How your data is collected and used
7068

7169
Docker 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

8785
If 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

9290
1. 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

108107
You 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

162159
1. 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

171167
The linked text in the hint is a suggested prompt to start a conversation with
172168
Ask Gordon.
@@ -176,13 +172,13 @@ Ask Gordon.
176172
Gordon can analyze your Dockerfile and suggest improvements. To have Gordon
177173
evaluate 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
207203
reduce vulnerabilities, enforce best practices, and simplify compliance, making
208204
them a strong foundation for secure software supply chains.
209205

@@ -218,16 +214,15 @@ To request Gordon's help for the migration:
218214
If you've enabled Ask Gordon and you want to disable it again:
219215

220216
1. 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
{

content/manuals/ai/gordon/mcp/_index.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
2-
title: MCP
3-
description: Learn how to use MCP servers with Gordon
4-
keywords: ai, mcp, gordon, docker desktop, docker, llm,
2+
title: Model Context Protocol (MCP)
3+
description: Learn how to use Model Context Protocol (MCP) servers with Gordon to extend AI capabilities in Docker Desktop.
4+
keywords: ai, mcp, gordon, docker desktop, docker, llm, model context protocol
55
grid:
66
- title: Built-in tools
77
description: Use the built-in tools.
@@ -15,16 +15,14 @@ aliases:
1515
- /desktop/features/gordon/mcp/
1616
---
1717

18-
## What is MCP?
19-
2018
[Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) is
21-
an open protocol that standardizes how applications provide context and extra
22-
functionality to large language models. MCP functions as a client-server
23-
protocol, where the client, for example an application like Gordon, sends
24-
requests, and the server processes those requests to deliver the necessary
25-
context to the AI. This context may be gathered by the MCP server by executing
26-
some code to perform an action and getting the result of the action, calling
27-
external APIs, etc.
19+
an open protocol that standardizes how applications provide context and
20+
additional functionality to large language models. MCP functions as a
21+
client-server protocol, where the client, for example an application like
22+
Gordon, sends requests, and the server processes those requests to deliver the
23+
necessary context to the AI. This context may be gathered by the MCP server by
24+
executing code to perform an action and retrieving the result, calling external
25+
APIs, or other similar operations.
2826

2927
Gordon, along with other MCP clients like Claude Desktop or Cursor, can interact
3028
with MCP servers running as containers.

0 commit comments

Comments
 (0)