---
title: Ask Gordon
description: Learn how to streamline your workflow with Docker's AI-powered assistant.
weight: 10
params:
sidebar:
badge:
color: blue
text: Beta
group: AI
aliases:
- /desktop/features/gordon/
---
{{< summary-bar feature_name="Ask Gordon" >}}
Ask Gordon is your personal AI assistant embedded in Docker Desktop and the
Docker CLI. It's designed to streamline your workflow and help you make the most
of the Docker ecosystem.
## What is Ask Gordon?
Ask Gordon provides AI-powered assistance in Docker tools. It offers contextual help for tasks like:
- Improving Dockerfiles
- Running and troubleshooting containers
- Interacting with your images and code
- Finding vulnerabilities or configuration issues
It understands your local environment, including source code, Dockerfiles, and images, to provide personalized and actionable guidance.
These features are not enabled by default, and are not
production-ready. You may also encounter the term "Docker AI" as a broader
reference to this technology.
> [!NOTE]
>
> Ask Gordon is powered by Large Language Models (LLMs). Like all
> LLM-based tools, its responses may sometimes be inaccurate. Always verify the
> information provided.
### What data does Gordon access?
When you use Ask Gordon, the data it accesses depends on the context of your
query:
- Local files: If you use the `docker ai` command, Ask Gordon can access files
and directories in the current working directory where the command is
executed. In Docker Desktop, if you ask about a specific file or directory in
the **Ask Gordon** view, you'll be prompted to select the relevant context.
- Local images: Gordon integrates with Docker Desktop and can view all images in
your local image store. This includes images you've built or pulled from a
registry.
To provide accurate responses, Ask Gordon may send relevant files, directories,
or image metadata to the Gordon backend along with your query. This data
transfer occurs over the network but is never stored persistently or shared with
third parties. It is used exclusively to process your request and formulate a
response. For more information about privacy terms and conditions for Docker AI,
review [Gordon's Supplemental
Terms](https://www.docker.com/legal/docker-ai-supplemental-terms/).
All data transferred is encrypted in transit.
### How your data is collected and used
Docker collects anonymized data from your interactions with Ask Gordon to
enhance the service. This includes the following:
- Your queries: Questions you ask Gordon.
- Responses: Answers provided by Gordon.
- Feedback: Thumbs-up and thumbs-down ratings.
To ensure privacy and security:
- Data is anonymized and cannot be traced back to you or your account.
- Docker does not use this data to train AI models or share it with third
parties.
By using Ask Gordon, you help improve Docker AI's reliability and accuracy,
making it more effective for all users.
If you have concerns about data collection or usage, you can
[disable](#disable-ask-gordon) the feature at any time.
## Enable Ask Gordon
1. Sign in to your Docker account.
2. Navigate to the **Beta features** tab in settings.
3. Check the **Enable Docker AI** checkbox.
The Docker AI terms of service agreement is displayed. You must agree to the
terms before you can enable the feature. Review the terms and select **Accept
and enable** to continue.
4. Select **Apply & restart**.
> [!IMPORTANT]
>
> For Docker Desktop versions 4.41 and earlier, this settings lived under the **Experimental features** tab on the **Features in development** page.
## Using Ask Gordon
The primary interfaces to Docker's AI capabilities are through the **Ask
Gordon** view in Docker Desktop, or if you prefer to use the CLI: the `docker
ai` CLI command.
Once you've enabled the Docker AI features, you'll also find references to **Ask
Gordon** in various other places throughout the Docker Desktop user interface.
Whenever you encounter a button with the **Sparkles** (✨) icon in the user