You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2023. It is now read-only.
Fix whitespace that caused short-format in generated YAML
If the markdown contains trailing spaces, or has tabs included,
the YAML generator uses a compact format for the text (using `\n`
and `\t`, instead of plain newlines).
The compact format makes it difficult to review changes in the
yaml docs when vendoring in the documentation repository.
This patch:
- removes trailing whitespace
- replaces tabs for spaces
- fixes some minor formatting and markdown issues
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit f912deeec7fcabfba2d6c833854275231bf746cd)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Upstream-commit: 9fd323afdcec35e57272a4bafb882f71a2b39e0f
Component: cli
The manifest command interacts solely with a Docker registry. Because of this, it has no way to query the engine for the list of allowed insecure registries. To allow the CLI to interact with an insecure registry, some `docker manifest` commands have an `--insecure` flag. For each transaction, such as a `create`, which queries a registry, the `--insecure` flag must be specified. This flag tells the CLI that this registry call may ignore security concerns like missing or self-signed certificates. Likewise, on a `manifest push` to an insecure registry, the `--insecure` flag must be specified. If this is not used with an insecure registry, the manifest command fails to find a registry that meets the default requirements.
109
+
The manifest command interacts solely with a Docker registry. Because of this,
110
+
it has no way to query the engine for the list of allowed insecure registries.
111
+
To allow the CLI to interact with an insecure registry, some `docker manifest`
112
+
commands have an `--insecure` flag. For each transaction, such as a `create`,
113
+
which queries a registry, the `--insecure` flag must be specified. This flag
114
+
tells the CLI that this registry call may ignore security concerns like missing
115
+
or self-signed certificates. Likewise, on a `manifest push` to an insecure
116
+
registry, the `--insecure` flag must be specified. If this is not used with an
117
+
insecure registry, the manifest command fails to find a registry that meets the
118
+
default requirements.
108
119
109
120
## Examples
110
121
111
122
### Inspect an image's manifest object
112
-
123
+
113
124
```bash
114
125
$ docker manifest inspect hello-world
115
126
{
@@ -136,7 +147,7 @@ The `docker manifest inspect` command takes an optional `--verbose` flag
136
147
that gives you the image's name (Ref), and architecture and os (Platform).
137
148
138
149
Just as with other docker commands that take image names, you can refer to an image with or
139
-
without a tag, or by digest (e.g. hello-world@sha256:f3b3b28a45160805bb16542c9531888519430e9e6d6ffc09d72261b0d26ff74f).
150
+
without a tag, or by digest (e.g. `hello-world@sha256:f3b3b28a45160805bb16542c9531888519430e9e6d6ffc09d72261b0d26ff74f`).
140
151
141
152
Here is an example of inspecting an image's manifest with the `--verbose` flag:
Note that the `--insecure` flag is not required to annotate a manifest list, since annotations are to a locally-stored copy of a manifest list. You may also skip the `--insecure` flag if you are performing a `docker manifest inspect` on a locally-stored manifest list. Be sure to keep in mind that locally-stored manifest lists are never used by the engine on a `docker pull`.
287
+
> **Note**: the `--insecure` flag is not required to annotate a manifest list,
288
+
> since annotations are to a locally-stored copy of a manifest list. You may also
289
+
> skip the `--insecure` flag if you are performing a `docker manifest inspect`
290
+
> on a locally-stored manifest list. Be sure to keep in mind that locally-stored
291
+
> manifest lists are never used by the engine on a `docker pull`.
0 commit comments