Skip to content

Commit 0d5196d

Browse files
Merge pull request #22094 from craig-osterhout/init-debug-callout
desktop: update init and debug cli
1 parent 04da171 commit 0d5196d

File tree

5 files changed

+11
-16
lines changed

5 files changed

+11
-16
lines changed

content/reference/cli/docker/debug.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ layout: cli
66
aliases:
77
- /engine/reference/commandline/debug/
88
---
9+
10+
{{< summary-bar feature_name="Docker Debug" >}}

content/reference/cli/docker/init.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,4 @@ aliases:
77
- /engine/reference/commandline/init/
88
---
99

10-
<!--
11-
This page is automatically generated from Docker's source code. If you want to
12-
suggest a change to the text that appears here, open a ticket or pull request
13-
in the source repository on GitHub:
14-
15-
https://github.com/docker/docker-init
16-
-->
10+
{{< summary-bar feature_name="Docker Init" >}}

data/debug-cli/docker_debug.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
command: docker debug
22
short: Get a shell into any container or image. An alternative to debugging with `docker exec`.
33
long: |-
4-
> **Note**
5-
>
6-
> Docker Debug requires a [Pro, Team, or Business subcription](/subscription/details/).
7-
> You must [sign in](/desktop/get-started/) to use this command.
8-
94
Docker Debug is a CLI command that helps you follow best practices by keeping your images small and secure.
105
With Docker Debug, you can debug your images while they contain the bare minimum to run your application.
116
It does this by letting you create and work with slim images or containers that are often difficult to debug because all tools have been removed.
@@ -27,7 +22,7 @@ long: |-
2722
- `entrypoint`: Print, lint, or run the entrypoint, see [example](#understanding-the-default-startup-command-of-a-container-entry-points).
2823
- `builtins`: Show custom builtin tools.
2924
30-
> **Note**
25+
> [!NOTE]
3126
>
3227
> For images and stopped containers, all changes are discarded when leaving the shell.
3328
> At no point, do changes affect the actual image or container.

data/init-cli/docker_init.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,11 @@ long: |-
1616
init` can overwrite it, using `docker-compose.yaml` as the name for the
1717
Compose file.
1818
19-
> **Warning**
19+
> [!WARNING]
2020
>
2121
> You can't recover overwritten files.
2222
> To back up an existing file before selecting to overwrite it, rename the file or copy it to another directory.
23-
{ .warning }
24-
23+
2524
After running `docker init`, you can choose one of the following templates:
2625
2726
* ASP.NET Core: Suitable for an ASP.NET Core application.

data/summary.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ Docker CLI OpenTelemetry:
122122
requires: Docker Engine [26.1.0](/manuals/engine/release-notes/26.1.md#2610) and later
123123
docker compose alpha:
124124
availability: Experimental
125+
Docker Debug:
126+
subscription: [Pro, Team, Business]
127+
requires: Docker Desktop [4.33.0](/manuals/desktop/release-notes.md#4330) and later
125128
Docker Desktop Archlinux:
126129
availability: Experimental
127130
Docker Desktop CLI:
@@ -131,6 +134,8 @@ Docker Desktop CLI update:
131134
requires: Docker Desktop 4.38 and later
132135
Docker GitHub Copilot:
133136
availability: Early Access
137+
Docker Init:
138+
requires: Docker Desktop [4.27](/manuals/desktop/release-notes.md#4270) and later
134139
Docker Scout exceptions:
135140
availability: Experimental
136141
requires: Docker Scout CLI [1.15.0](/manuals/scout/release-notes/cli.md#1150) and later

0 commit comments

Comments
 (0)