File tree Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change @@ -101,9 +101,10 @@ If you have concerns about data collection or usage, you can
101
101
102
102
## Using Ask Gordon
103
103
104
- The primary interfaces to Docker's AI capabilities are through the ** Ask
105
- Gordon** view in Docker Desktop, or if you prefer to use the CLI: the `docker
106
- ai` CLI command.
104
+ You can access Gordon:
105
+
106
+ - In Docker Desktop, in the ** Ask Gordon** view.
107
+ - Via the Docker CLI, with the ` docker ai ` CLI command.
107
108
108
109
Once you've enabled the Docker AI features, you'll also find references to ** Ask
109
110
Gordon** in various other places throughout the Docker Desktop user interface.
@@ -119,6 +120,7 @@ ways things you can try:
119
120
- [ Troubleshoot a crashed container] ( #troubleshoot-a-crashed-container )
120
121
- [ Get help with running a container] ( #get-help-with-running-a-container )
121
122
- [ Improve a Dockerfile] ( #improve-a-dockerfile )
123
+ - [ Migrate a Dockerfile to DHI] ( #migrate-a-dockerfile-to-dhi )
122
124
123
125
For more examples, try asking Gordon directly. For example:
124
126
@@ -194,6 +196,10 @@ across several dimensions:
194
196
- Portability
195
197
- Resource efficiency
196
198
199
+ ### Migrate a Dockerfile to DHI
200
+
201
+ See [ Use Gordon AI] ( /manuals/dhi/how-to/migrate.md#use-gordon-ai ) in the DHI section.
202
+
197
203
## Disable Ask Gordon
198
204
199
205
### For individual users
Original file line number Diff line number Diff line change @@ -240,3 +240,22 @@ ENTRYPOINT [ "python", "/app/image.py" ]
240
240
241
241
{{< /tab >}}
242
242
{{< /tabs >}}
243
+
244
+ ### Use Gordon AI
245
+
246
+ Alternatively, you can request assistance to
247
+ [ Gordon] ( /manuals/ai/gordon/_index.md ) , Docker's AI feature, to migrate your
248
+ Dockerfile:
249
+
250
+ 1 . In the terminal, navigate to the directory containing your Dockerfile.
251
+ 1 . Run:
252
+
253
+ ``` bash
254
+ docker ai " Migrate my dockerfile to DHI"
255
+ ```
256
+
257
+ 1 . Follow the conversation with Gordon. When it requests access to the filesystem,
258
+ type ` yes ` to enable it to update the file.
259
+
260
+ > [ !IMPORTANT]
261
+ > As with any AI tool, you must verify Gordon's edits and test your image.
You can’t perform that action at this time.
0 commit comments