Skip to content

Commit 315764b

Browse files
desktop: update init and debug cli
Signed-off-by: Craig <[email protected]>
1 parent d9eb233 commit 315764b

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
@@ -118,6 +118,9 @@ Docker CLI OpenTelemetry:
118118
requires: Docker Engine [26.1.0](/manuals/engine/release-notes/26.1.md#2610) and later
119119
docker compose alpha:
120120
availability: Experimental
121+
Docker Debug:
122+
subscription: [Pro, Team, Business]
123+
requires: Docker Desktop [4.33.0](/manuals/desktop/release-notes.md#4330) and later
121124
Docker Desktop Archlinux:
122125
availability: Experimental
123126
Docker Desktop CLI:
@@ -127,6 +130,8 @@ Docker Desktop CLI update:
127130
requires: Docker Desktop 4.38 and later
128131
Docker GitHub Copilot:
129132
availability: Early Access
133+
Docker Init:
134+
requires: Docker Desktop [4.27](/manuals/desktop/release-notes.md#4270) and later
130135
Docker Scout exceptions:
131136
availability: Experimental
132137
requires: Docker Scout CLI [1.15.0](/manuals/scout/release-notes/cli.md#1150) and later

0 commit comments

Comments
 (0)