Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 293ca94

Browse files
committed
docs: sort "deprecated.md" by deprecation release
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit b6875ad6909753f692db951efd7cf338fe61e66b) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: c8308ecf6c5fedc50471ebb6dfe9a745831258d1 Component: cli
1 parent 8ac182f commit 293ca94

1 file changed

Lines changed: 95 additions & 81 deletions

File tree

components/cli/docs/deprecated.md

Lines changed: 95 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,26 @@ format is deprecated in favor of the
3232

3333
If the registry you are using still supports v2 schema 1, urge their administrators to move to v2 schema 2.
3434

35+
36+
### AuFS storage driver
37+
38+
**Deprecated in Release: v19.03.0**
39+
40+
The `aufs` storage driver is deprecated in favor of `overlay2`, and will
41+
be removed in a future release. Users of the `aufs` storage driver are
42+
recommended to migrate to a different storage driver, such as `overlay2`, which
43+
is now the default storage driver.
44+
45+
The `aufs` storage driver facilitates running Docker on distros that have no
46+
support for OverlayFS, such as Ubuntu 14.04 LTS, which originally shipped with
47+
a 3.14 kernel.
48+
49+
Now that Ubuntu 14.04 is no longer a supported distro for Docker, and `overlay2`
50+
is available to all supported distros (as they are either on kernel 4.x, or have
51+
support for multiple lowerdirs backported), there is no reason to continue
52+
maintenance of the `aufs` storage driver.
53+
54+
3555
### Legacy "overlay" storage driver
3656

3757
**Deprecated in Release: v18.09.0**
@@ -63,23 +83,6 @@ Now that support for `overlay2` is added to all supported distros (as they are
6383
either on kernel 4.x, or have support for multiple lowerdirs backported), there
6484
is no reason to continue maintenance of the `devicemapper` storage driver.
6585

66-
### AuFS storage driver
67-
68-
**Deprecated in Release: v19.03.0**
69-
70-
The `aufs` storage driver is deprecated in favor of `overlay2`, and will
71-
be removed in a future release. Users of the `aufs` storage driver are
72-
recommended to migrate to a different storage driver, such as `overlay2`, which
73-
is now the default storage driver.
74-
75-
The `aufs` storage driver facilitates running Docker on distros that have no
76-
support for OverlayFS, such as Ubuntu 14.04 LTS, which originally shipped with
77-
a 3.14 kernel.
78-
79-
Now that Ubuntu 14.04 is no longer a supported distro for Docker, and `overlay2`
80-
is available to all supported distros (as they are either on kernel 4.x, or have
81-
support for multiple lowerdirs backported), there is no reason to continue
82-
maintenance of the `aufs` storage driver.
8386

8487
### Reserved namespaces in engine labels
8588

@@ -91,6 +94,38 @@ were always documented to be reserved, but there was never any enforcement.
9194
Usage of these namespaces will now cause a warning in the engine logs to discourage their
9295
use, and will error instead in v20.03.0 and above.
9396

97+
98+
### `--disable-legacy-registry` override daemon option
99+
100+
**Disabled In Release: v17.12**
101+
102+
**Target For Removal In Release: v18.03**
103+
104+
The `--disable-legacy-registry` flag was disabled in Docker 17.12 and will print
105+
an error when used. For this error to be printed, the flag itself is still present,
106+
but hidden. The flag will be removed in Docker 18.03.
107+
108+
109+
### Interacting with V1 registries
110+
111+
**Disabled By Default In Release: v17.06**
112+
113+
**Removed In Release: v17.12**
114+
115+
Version 1.8.3 added a flag (`--disable-legacy-registry=false`) which prevents the
116+
docker daemon from `pull`, `push`, and `login` operations against v1
117+
registries. Though enabled by default, this signals the intent to deprecate
118+
the v1 protocol.
119+
120+
Support for the v1 protocol to the public registry was removed in 1.13. Any
121+
mirror configurations using v1 should be updated to use a
122+
[v2 registry mirror](https://docs.docker.com/registry/recipes/mirror/).
123+
124+
Starting with Docker 17.12, support for V1 registries has been removed, and the
125+
`--disable-legacy-registry` flag can no longer be used, and `dockerd` will fail to
126+
start when set.
127+
128+
94129
### Asynchronous `service create` and `service update` as default
95130

96131
**Deprecated In Release: v17.05.0**
@@ -199,12 +234,16 @@ to 17.12, a warning will be printed.
199234
Please also refer to [#27358](https://github.com/docker/docker/issues/27358) for
200235
further information.
201236

202-
### Three arguments form in `docker import`
203-
**Deprecated In Release: [v0.6.7](https://github.com/docker/docker/releases/tag/v0.6.7)**
204237

205-
**Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
238+
### `--automated` and `--stars` flags on `docker search`
239+
240+
**Deprecated in Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
241+
242+
**Target For Removal In Release: v17.09**
243+
244+
The `docker search --automated` and `docker search --stars` options are deprecated.
245+
Use `docker search --filter=is-automated=...` and `docker search --filter=stars=...` instead.
206246

207-
The `docker import` command format `file|URL|- [REPOSITORY [TAG]]` is deprecated since November 2013. It's no more supported.
208247

209248
### `-h` shorthand for `--help`
210249

@@ -231,14 +270,6 @@ The docker login command is removing the ability to automatically register for a
231270

232271
The flag `--security-opt` doesn't use the colon separator (`:`) anymore to divide keys and values, it uses the equal symbol (`=`) for consistency with other similar flags, like `--storage-opt`.
233272

234-
### `/containers/(id or name)/copy` endpoint
235-
236-
**Deprecated In Release: [v1.8.0](https://github.com/docker/docker/releases/tag/v1.8.0)**
237-
238-
**Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
239-
240-
The endpoint `/containers/(id or name)/copy` is deprecated in favor of `/containers/(id or name)/archive`.
241-
242273
### Ambiguous event fields in API
243274
**Deprecated In Release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**
244275

@@ -269,14 +300,6 @@ defining it at container creation (`POST /containers/create`).
269300
The `docker ps --before` and `docker ps --since` options are deprecated.
270301
Use `docker ps --filter=before=...` and `docker ps --filter=since=...` instead.
271302

272-
### `--automated` and `--stars` flags on `docker search`
273-
274-
**Deprecated in Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
275-
276-
**Target For Removal In Release: v17.09**
277-
278-
The `docker search --automated` and `docker search --stars` options are deprecated.
279-
Use `docker search --filter=is-automated=...` and `docker search --filter=stars=...` instead.
280303

281304
### Driver-specific log tags
282305
**Deprecated In Release: [v1.9.0](https://github.com/docker/docker/releases/tag/v1.9.0)**
@@ -293,13 +316,35 @@ docker --log-driver=syslog --log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}"
293316
{% endraw %}
294317
```
295318

319+
320+
### Docker Content Trust ENV passphrase variables name change
321+
**Deprecated In Release: [v1.9.0](https://github.com/docker/docker/releases/tag/v1.9.0)**
322+
323+
**Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
324+
325+
Since 1.9, Docker Content Trust Offline key has been renamed to Root key and the Tagging key has been renamed to Repository key. Due to this renaming, we're also changing the corresponding environment variables
326+
327+
- DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE is now named DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE
328+
- DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE is now named DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE
329+
330+
331+
### `/containers/(id or name)/copy` endpoint
332+
333+
**Deprecated In Release: [v1.8.0](https://github.com/docker/docker/releases/tag/v1.8.0)**
334+
335+
**Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
336+
337+
The endpoint `/containers/(id or name)/copy` is deprecated in favor of `/containers/(id or name)/archive`.
338+
339+
296340
### LXC built-in exec driver
297341
**Deprecated In Release: [v1.8.0](https://github.com/docker/docker/releases/tag/v1.8.0)**
298342

299343
**Removed In Release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**
300344

301345
The built-in LXC execution driver, the lxc-conf flag, and API fields have been removed.
302346

347+
303348
### Old Command Line Options
304349
**Deprecated In Release: [v1.8.0](https://github.com/docker/docker/releases/tag/v1.8.0)**
305350

@@ -358,61 +403,30 @@ The single-dash (`-help`) was removed, in favor of the double-dash `--help`
358403
docker -help
359404
docker [COMMAND] -help
360405

361-
### `--run` flag on docker commit
362-
363-
**Deprecated In Release: [v0.10.0](https://github.com/docker/docker/releases/tag/v0.10.0)**
364-
365-
**Removed In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
366-
367-
The flag `--run` of the docker commit (and its short version `-run`) were deprecated in favor
368-
of the `--changes` flag that allows to pass `Dockerfile` commands.
369-
370-
371-
### Interacting with V1 registries
372-
373-
**Disabled By Default In Release: v17.06**
374406

375-
**Removed In Release: v17.12**
407+
### `--api-enable-cors` flag on dockerd
376408

377-
Version 1.8.3 added a flag (`--disable-legacy-registry=false`) which prevents the
378-
docker daemon from `pull`, `push`, and `login` operations against v1
379-
registries. Though enabled by default, this signals the intent to deprecate
380-
the v1 protocol.
409+
**Deprecated In Release: [v1.6.0](https://github.com/docker/docker/releases/tag/v1.6.0)**
381410

382-
Support for the v1 protocol to the public registry was removed in 1.13. Any
383-
mirror configurations using v1 should be updated to use a
384-
[v2 registry mirror](https://docs.docker.com/registry/recipes/mirror/).
411+
**Removed In Release: [v17.09](https://github.com/docker/docker-ce/releases/tag/v17.09.0-ce)**
385412

386-
Starting with Docker 17.12, support for V1 registries has been removed, and the
387-
`--disable-legacy-registry` flag can no longer be used, and `dockerd` will fail to
388-
start when set.
413+
The flag `--api-enable-cors` is deprecated since v1.6.0. Use the flag
414+
`--api-cors-header` instead.
389415

390-
### `--disable-legacy-registry` override daemon option
416+
### `--run` flag on docker commit
391417

392-
**Disabled In Release: v17.12**
418+
**Deprecated In Release: [v0.10.0](https://github.com/docker/docker/releases/tag/v0.10.0)**
393419

394-
**Target For Removal In Release: v18.03**
420+
**Removed In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
395421

396-
The `--disable-legacy-registry` flag was disabled in Docker 17.12 and will print
397-
an error when used. For this error to be printed, the flag itself is still present,
398-
but hidden. The flag will be removed in Docker 18.03.
422+
The flag `--run` of the docker commit (and its short version `-run`) were deprecated in favor
423+
of the `--changes` flag that allows to pass `Dockerfile` commands.
399424

400425

401-
### Docker Content Trust ENV passphrase variables name change
402-
**Deprecated In Release: [v1.9.0](https://github.com/docker/docker/releases/tag/v1.9.0)**
426+
### Three arguments form in `docker import`
427+
**Deprecated In Release: [v0.6.7](https://github.com/docker/docker/releases/tag/v0.6.7)**
403428

404429
**Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
405430

406-
Since 1.9, Docker Content Trust Offline key has been renamed to Root key and the Tagging key has been renamed to Repository key. Due to this renaming, we're also changing the corresponding environment variables
407-
408-
- DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE is now named DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE
409-
- DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE is now named DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE
410-
411-
### `--api-enable-cors` flag on dockerd
412-
413-
**Deprecated In Release: [v1.6.0](https://github.com/docker/docker/releases/tag/v1.6.0)**
414-
415-
**Removed In Release: [v17.09](https://github.com/docker/docker-ce/releases/tag/v17.09.0-ce)**
431+
The `docker import` command format `file|URL|- [REPOSITORY [TAG]]` is deprecated since November 2013. It's no more supported.
416432

417-
The flag `--api-enable-cors` is deprecated since v1.6.0. Use the flag
418-
`--api-cors-header` instead.

0 commit comments

Comments
 (0)