Skip to content

Commit 1a0e320

Browse files
committed
docs: dockerd: remove --api-cors-header (deprecated)
Updates 9d9bb19 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 9bfd0e1 commit 1a0e320

2 files changed

Lines changed: 5 additions & 6 deletions

File tree

docs/deprecated.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following table provides an overview of the current status of deprecated fea
5454
| Status | Feature | Deprecated | Remove |
5555
|------------|------------------------------------------------------------------------------------------------------------------------------------|------------|--------|
5656
| Deprecated | [Non-standard fields in image inspect](#non-standard-fields-in-image-inspect) | v27.0 | v28.0 |
57-
| Deprecated | [API CORS headers](#api-cors-headers) | v27.0 | v28.0 |
57+
| Removed | [API CORS headers](#api-cors-headers) | v27.0 | v28.0 |
5858
| Deprecated | [Graphdriver plugins (experimental)](#graphdriver-plugins-experimental) | v27.0 | v28.0 |
5959
| Deprecated | [Unauthenticated TCP connections](#unauthenticated-tcp-connections) | v26.0 | v28.0 |
6060
| Deprecated | [`Container` and `ContainerConfig` fields in Image inspect](#container-and-containerconfig-fields-in-image-inspect) | v25.0 | v26.0 |
@@ -177,18 +177,19 @@ and a custom [snapshotter](https://github.com/containerd/containerd/tree/v1.7.18
177177
### API CORS headers
178178

179179
**Deprecated in Release: v27.0**
180-
**Target For Removal In Release: v28.0**
180+
**Disabled by default in Release: v27.0**
181+
**Removed in release: v28.0**
181182

182183
The `api-cors-header` configuration option for the Docker daemon is insecure,
183184
and is therefore deprecated and scheduled for removal.
184185
Incorrectly setting this option could leave a window of opportunity
185186
for unauthenticated cross-origin requests to be accepted by the daemon.
186187

187-
Starting in Docker Engine v27.0, this flag can still be set,
188+
In Docker Engine v27.0, this flag can still be set,
188189
but it has no effect unless the environment variable
189190
`DOCKERD_DEPRECATED_CORS_HEADER` is also set to a non-empty value.
190191

191-
This flag will be removed altogether in v28.0.
192+
This flag has been removed altogether in v28.0.
192193

193194
This is a breaking change for authorization plugins and other programs
194195
that depend on this option for accessing the Docker API from a browser.

docs/reference/dockerd.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ A self-sufficient runtime for containers.
2525
Options:
2626
--add-runtime runtime Register an additional OCI compatible runtime (default [])
2727
--allow-nondistributable-artifacts list Allow push of nondistributable artifacts to registry
28-
--api-cors-header string Set CORS headers in the Engine API
2928
--authorization-plugin list Authorization plugins to load
3029
--bip string Specify network bridge IP
3130
-b, --bridge string Attach containers to a network bridge
@@ -1015,7 +1014,6 @@ The following is a full example of the allowed configuration options on Linux:
10151014
```json
10161015
{
10171016
"allow-nondistributable-artifacts": [],
1018-
"api-cors-header": "",
10191017
"authorization-plugins": [],
10201018
"bip": "",
10211019
"bridge": "",

0 commit comments

Comments
 (0)