mirror of https://github.com/docker/cli.git
docs: deprecate daemon's api-cors-header flag
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
This commit is contained in:
parent
57a1180c52
commit
9d9bb19f01
|
@ -50,6 +50,7 @@ The table below provides an overview of the current status of deprecated feature
|
||||||
|
|
||||||
| Status | Feature | Deprecated | Remove |
|
| Status | Feature | Deprecated | Remove |
|
||||||
|------------|------------------------------------------------------------------------------------------------------------------------------------|------------|--------|
|
|------------|------------------------------------------------------------------------------------------------------------------------------------|------------|--------|
|
||||||
|
| Deprecated | [API CORS headers](#api-cors-headers) | v27.0 | v28.0 |
|
||||||
| Deprecated | [Unauthenticated TCP connections](#unauthenticated-tcp-connections) | v26.0 | v27.0 |
|
| Deprecated | [Unauthenticated TCP connections](#unauthenticated-tcp-connections) | v26.0 | v27.0 |
|
||||||
| Deprecated | [`Container` and `ContainerConfig` fields in Image inspect](#container-and-containerconfig-fields-in-image-inspect) | v25.0 | v26.0 |
|
| Deprecated | [`Container` and `ContainerConfig` fields in Image inspect](#container-and-containerconfig-fields-in-image-inspect) | v25.0 | v26.0 |
|
||||||
| Deprecated | [Deprecate legacy API versions](#deprecate-legacy-api-versions) | v25.0 | v26.0 |
|
| Deprecated | [Deprecate legacy API versions](#deprecate-legacy-api-versions) | v25.0 | v26.0 |
|
||||||
|
@ -112,6 +113,26 @@ The table below provides an overview of the current status of deprecated feature
|
||||||
| Removed | [`--run` flag on `docker commit`](#--run-flag-on-docker-commit) | v0.10 | v1.13 |
|
| Removed | [`--run` flag on `docker commit`](#--run-flag-on-docker-commit) | v0.10 | v1.13 |
|
||||||
| Removed | [Three arguments form in `docker import`](#three-arguments-form-in-docker-import) | v0.6.7 | v1.12 |
|
| Removed | [Three arguments form in `docker import`](#three-arguments-form-in-docker-import) | v0.6.7 | v1.12 |
|
||||||
|
|
||||||
|
### API CORS headers
|
||||||
|
|
||||||
|
**Deprecated in Release: v27.0**
|
||||||
|
**Target For Removal In Release: v28.0**
|
||||||
|
|
||||||
|
The `api-cors-header` configuration option for the Docker daemon is insecure,
|
||||||
|
and is therefore deprecated and scheduled for removal.
|
||||||
|
Incorrectly setting this option could leave a window of opportunity
|
||||||
|
for unauthenticated cross-origin requests to be accepted by the daemon.
|
||||||
|
|
||||||
|
Starting in Docker Engine v27.0, this flag can still be set,
|
||||||
|
but it has no effect unless the environment variable
|
||||||
|
`DOCKERD_DEPRECATED_CORS_HEADER` is also set to a non-empty value.
|
||||||
|
|
||||||
|
This flag will be removed altogether in v28.0.
|
||||||
|
|
||||||
|
This is a breaking change for authorization plugins and other programs
|
||||||
|
that depend on this option for accessing the Docker API from a browser.
|
||||||
|
If you need to access the API through a browser, use a reverse proxy.
|
||||||
|
|
||||||
### Unauthenticated TCP connections
|
### Unauthenticated TCP connections
|
||||||
|
|
||||||
**Deprecated in Release: v26.0**
|
**Deprecated in Release: v26.0**
|
||||||
|
|
Loading…
Reference in New Issue