Skip to content

Commit 414c77d

Browse files
authored
ENGDOCS-2405a (#21917)
<!--Delete sections as needed --> ## Description Add new DD CLI command for 4.38 ## Related issues or tickets <!-- Related issues, pull requests, or Jira tickets --> ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
1 parent 399a363 commit 414c77d

File tree

5 files changed

+50
-1
lines changed

5 files changed

+50
-1
lines changed

content/manuals/desktop/features/desktop-cli.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ docker desktop COMMAND [OPTIONS]
3535
| `restart` | Restarts Docker Desktop |
3636
| `status` | Displays whether Docker Desktop is running or stopped. |
3737
| `engine ls` | Lists available engines (Windows only) |
38-
| `engine use` | Switch between Linux and Windows containers (Windows only) |
38+
| `engine use` | Switch between Linux and Windows containers (Windows only) |
39+
| `update` | Manage Docker Desktop updates. Available for Mac only and with Docker Desktop version 4.38 and later. |
40+
3941

4042
For more details on each command, see the [Docker Desktop CLI reference](/reference/cli/docker/desktop/_index.md).
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
datafolder: desktop-cli
3+
datafile: docker_desktop_update
4+
title: docker desktop update
5+
layout: cli
6+
---
7+
8+
{{< summary-bar feature_name="Docker Desktop CLI update" >}}

data/desktop-cli/docker_desktop.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ cname:
1010
- docker desktop restart
1111
- docker desktop status
1212
- docker desktop engine
13+
- docker desktop update
1314
clink:
1415
- docker_desktop_start.yaml
1516
- docker_desktop_stop.yaml
1617
- docker_desktop_restart.yaml
1718
- docker_desktop_status.yaml
1819
- docker_desktop_engine.yaml
20+
- docker_desktop_update.yaml
1921
deprecated: false
2022
hidden: false
2123
experimental: false
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
command: docker desktop update
2+
short: Manage Docker Desktop updates (Mac only)
3+
usage: docker desktop update [OPTIONS]
4+
pname: docker desktop
5+
plink: docker_desktop.yaml
6+
options:
7+
- option: check-only
8+
shorthand: k
9+
value_type: bool
10+
default_value: false
11+
description: Check for updates without applying them
12+
deprecated: false
13+
hidden: false
14+
experimental: false
15+
experimentalcli: false
16+
kubernetes: false
17+
swarm: false
18+
- option: quiet
19+
shorthand: q
20+
value_type: bool
21+
default_value: false
22+
description: Queitly check and apply updates
23+
deprecated: false
24+
hidden: false
25+
experimental: false
26+
experimentalcli: false
27+
kubernetes: false
28+
swarm: false
29+
deprecated: false
30+
hidden: false
31+
experimental: false
32+
experimentalcli: false
33+
kubernetes: false
34+
swarm: false

data/summary.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ Docker Desktop Archlinux:
115115
Docker Desktop CLI:
116116
availability: Beta
117117
requires: Docker Desktop [4.37](/manuals/desktop/release-notes.md#4370) and later
118+
Docker Desktop CLI update:
119+
requires: Docker Desktop 4.38 and later
120+
requires:
118121
Docker GitHub Copilot:
119122
availability: Early access
120123
Docker Scout exceptions:

0 commit comments

Comments
 (0)