2016-10-14 18:30:36 -04:00
---
aliases: ["/engine/misc/deprecated/"]
description: "Deprecated Features."
2016-11-03 17:21:33 -04:00
keywords: "docker, documentation, about, technology, deprecate"
2016-10-14 18:30:36 -04:00
---
2016-10-12 19:23:01 -04:00
2017-10-04 13:03:55 -04:00
<!-- This file is maintained within the docker/cli GitHub
2017-07-28 13:28:23 -04:00
repository at https://github.com/docker/cli/. Make all
2016-10-19 13:25:45 -04:00
pull requests against that repo. If you see this file in
another repository, consider it read-only there, as it will
periodically be overwritten by the definitive file. Pull
requests which include edits to this file in other repositories
will be rejected.
-->
2016-10-12 19:23:01 -04:00
# Deprecated Engine Features
2020-03-20 05:40:56 -04:00
This page provides an overview of features that are deprecated in Engine. Changes
in packaging, and supported (Linux) distributions are not included. To learn
about end of support for Linux distributions, refer to the
[release notes ](https://docs.docker.com/engine/release-notes/ ).
## Feature Deprecation Policy
As changes are made to Docker there may be times when existing features need to
be removed or replaced with newer features. Before an existing feature is removed
it is labeled as "deprecated" within the documentation and remains in Docker for
2020-03-20 05:43:52 -04:00
at least one stable release unless specified explicitly otherwise. After that time
2020-03-20 05:40:56 -04:00
it may be removed.
Users are expected to take note of the list of deprecated features each release
and plan their migration away from those features, and (if applicable) towards
the replacement features as soon as possible.
## Deprecated Engine Features
2020-02-10 08:41:38 -05:00
The table below provides an overview of the current status of deprecated features:
- **Deprecated**: the feature is marked "deprecated" and should no longer be used.
The feature may be removed, disabled, or change behavior in a future release.
The _"Deprecated"_ column contains the release in which the feature was marked
deprecated, whereas the _"Remove"_ column contains a tentative release in which
the feature is to be removed. If no release is included in the _"Remove"_ column,
the release is yet to be decided on.
- **Removed**: the feature was removed, disabled, or hidden. Refer to the linked
section for details. Some features are "soft" deprecated, which means that they
remain functional for backward compatibility, and to allow users to migrate to
alternatives. In such cases, a warning may be printed, and users should not rely
on this feature.
Status | Feature | Deprecated | Remove
-----------|------------------------------------------------------------------------------------------------------------------------------------|------------|------------
2020-12-08 20:36:30 -05:00
Deprecated | [Pulling images from non-compliant image registries ](#pulling-images-from-non-compliant-image-registries ) | v20.10 | -
2020-10-16 04:58:49 -04:00
Deprecated | [Linux containers on Windows (LCOW) ](#linux-containers-on-windows-lcow-experimental ) | v20.10 | -
2020-10-13 03:38:48 -04:00
Deprecated | [Kernel memory limit ](#kernel-memory-limit ) | v20.10 | -
Deprecated | [Classic Swarm and overlay networks using external key/value stores ](#classic-swarm-and-overlay-networks-using-cluster-store ) | v20.10 | -
Deprecated | [Support for the legacy `~/.dockercfg` configuration file for authentication ](#support-for-legacy-dockercfg-configuration-files ) | v20.10 | -
Deprecated | [CLI plugins support ](#cli-plugins-support ) | v20.10 | -
Deprecated | [Dockerfile legacy `ENV name value` syntax ](#dockerfile-legacy-env-name-value-syntax ) | v20.10 | -
2020-10-23 19:03:47 -04:00
Removed | [`docker build --stream` flag (experimental) ](#docker-build---stream-flag-experimental ) | v20.10 | v20.10
2020-10-13 03:38:48 -04:00
Deprecated | [Configuration options for experimental CLI features ](#configuration-options-for-experimental-cli-features ) | v19.03 | v20.10
Deprecated | [Pushing and pulling with image manifest v2 schema 1 ](#pushing-and-pulling-with-image-manifest-v2-schema-1 ) | v19.03 | v20.10
Removed | [`docker engine` subcommands ](#docker-engine-subcommands ) | v19.03 | v20.10
Removed | [Top-level `docker deploy` subcommand (experimental) ](#top-level-docker-deploy-subcommand-experimental ) | v19.03 | v20.10
Removed | [`docker stack deploy` using "dab" files (experimental) ](#docker-stack-deploy-using-dab-files-experimental ) | v19.03 | v20.10
2020-10-02 08:15:42 -04:00
Deprecated | [AuFS storage driver ](#aufs-storage-driver ) | v19.03 | -
Deprecated | [Legacy "overlay" storage driver ](#legacy-overlay-storage-driver ) | v18.09 | -
Deprecated | [Device mapper storage driver ](#device-mapper-storage-driver ) | v18.09 | -
2020-10-13 03:38:48 -04:00
Removed | [Use of reserved namespaces in engine labels ](#use-of-reserved-namespaces-in-engine-labels ) | v18.06 | v20.10
2020-10-02 08:15:42 -04:00
Removed | [`--disable-legacy-registry` override daemon option ](#--disable-legacy-registry-override-daemon-option ) | v17.12 | v19.03
Removed | [Interacting with V1 registries ](#interacting-with-v1-registries ) | v17.06 | v17.12
Removed | [Asynchronous `service create` and `service update` as default ](#asynchronous-service-create-and-service-update-as-default ) | v17.05 | v17.10
Removed | [`-g` and `--graph` flags on `dockerd` ](#-g-and---graph-flags-on-dockerd ) | v17.05 | -
Deprecated | [Top-level network properties in NetworkSettings ](#top-level-network-properties-in-networksettings ) | v1.13 | v17.12
2020-10-13 03:38:48 -04:00
Removed | [`filter` param for `/images/json` endpoint ](#filter-param-for-imagesjson-endpoint ) | v1.13 | v20.10
2020-10-02 08:15:42 -04:00
Removed | [`repository:shortid` image references ](#repositoryshortid-image-references ) | v1.13 | v17.12
Removed | [`docker daemon` subcommand ](#docker-daemon-subcommand ) | v1.13 | v17.12
Removed | [Duplicate keys with conflicting values in engine labels ](#duplicate-keys-with-conflicting-values-in-engine-labels ) | v1.13 | v17.12
Deprecated | [`MAINTAINER` in Dockerfile ](#maintainer-in-dockerfile ) | v1.13 | -
Deprecated | [API calls without a version ](#api-calls-without-a-version ) | v1.13 | v17.12
Removed | [Backing filesystem without `d_type` support for overlay/overlay2 ](#backing-filesystem-without-d_type-support-for-overlayoverlay2 ) | v1.13 | v17.12
2020-10-13 03:38:48 -04:00
Removed | [`--automated` and `--stars` flags on `docker search` ](#--automated-and---stars-flags-on-docker-search ) | v1.12 | v20.10
2020-10-02 08:15:42 -04:00
Deprecated | [`-h` shorthand for `--help` ](#-h-shorthand-for---help ) | v1.12 | v17.09
Removed | [`-e` and `--email` flags on `docker login` ](#-e-and---email-flags-on-docker-login ) | v1.11 | v17.06
Deprecated | [Separator (`:`) of `--security-opt` flag on `docker run` ](#separator--of---security-opt-flag-on-docker-run ) | v1.11 | v17.06
Deprecated | [Ambiguous event fields in API ](#ambiguous-event-fields-in-api ) | v1.10 | -
Removed | [`-f` flag on `docker tag` ](#-f-flag-on-docker-tag ) | v1.10 | v1.12
Removed | [HostConfig at API container start ](#hostconfig-at-api-container-start ) | v1.10 | v1.12
Removed | [`--before` and `--since` flags on `docker ps` ](#--before-and---since-flags-on-docker-ps ) | v1.10 | v1.12
Removed | [Driver-specific log tags ](#driver-specific-log-tags ) | v1.9 | v1.12
Removed | [Docker Content Trust `ENV` passphrase variables name change ](#docker-content-trust-env-passphrase-variables-name-change ) | v1.9 | v1.12
Removed | [`/containers/(id or name)/copy` endpoint ](#containersid-or-namecopy-endpoint ) | v1.8 | v1.12
Removed | [LXC built-in exec driver ](#lxc-built-in-exec-driver ) | v1.8 | v1.10
Removed | [Old Command Line Options ](#old-command-line-options ) | v1.8 | v1.10
Removed | [`--api-enable-cors` flag on `dockerd` ](#--api-enable-cors-flag-on-dockerd ) | v1.6 | v17.09
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
2020-02-10 08:41:38 -05:00
Add deprecation note for non-compliant registries
Docker Engine v20.10 and up includes optimizations to verify if images in the
local image cache need updating before pulling, preventing the Docker Engine
from making unnecessary API requests. These optimizations require the container
image registry to conform to the Open Container Initiative Distribution Specification
(https://github.com/opencontainers/distribution-spec).
While most registries conform to the specification, we encountered some registries
to be non-compliant, resulting in `docker pull` to fail.
As a temporary solution, Docker Engine v20.10 includes a fallback mechanism to
allow `docker pull` to be functional when using a non-compliant registry. A
warning message is printed in this situation:
WARNING Failed to pull manifest by the resolved digest. This registry does not
appear to conform to the distribution registry specification; falling back to
pull by tag. This fallback is DEPRECATED, and will be removed in a future
release.
The fallback is added to allow users to either migrate their images to a compliant
registry, or for these registries to become compliant.
Note that this fallback only addresses failures on `docker pull`. Other commands,
such as `docker stack deploy`, or pulling images with `containerd` will continue
to fail.
Given that other functionality is still broken with these registries, we consider
this fallback a _temporary_ solution, and will remove the fallback in an upcoming
major release.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-12-07 07:34:50 -05:00
### Pulling images from non-compliant image registries
**Deprecated in Release: v20.10**
Docker Engine v20.10 and up includes optimizations to verify if images in the
local image cache need updating before pulling, preventing the Docker Engine
from making unnecessary API requests. These optimizations require the container
image registry to conform to the [Open Container Initiative Distribution Specification ](https://github.com/opencontainers/distribution-spec ).
While most registries conform to the specification, we encountered some registries
to be non-compliant, resulting in `docker pull` to fail.
As a temporary solution, Docker Engine v20.10 includes a fallback mechanism to
allow `docker pull` to be functional when using a non-compliant registry. A
warning message is printed in this situation:
WARNING Failed to pull manifest by the resolved digest. This registry does not
appear to conform to the distribution registry specification; falling back to
pull by tag. This fallback is DEPRECATED, and will be removed in a future
release.
The fallback is added to allow users to either migrate their images to a compliant
registry, or for these registries to become compliant.
Note that this fallback only addresses failures on `docker pull` . Other commands,
such as `docker stack deploy` , or pulling images with `containerd` will continue
to fail.
Given that other functionality is still broken with these registries, we consider
this fallback a _temporary_ solution, and will remove the fallback in an upcoming
major release.
2020-10-16 04:58:49 -04:00
### Linux containers on Windows (LCOW) (experimental)
**Deprecated in Release: v20.10**
The experimental feature to run Linux containers on Windows (LCOW) was introduced
as a technical preview in Docker 17.09. While many enhancements were made after
its introduction, the feature never reached completeness, and development has
now stopped in favor of running docker natively on Linux in WSL2.
Developers who want to run Linux workloads on a Windows host are encouraged to use
[Docker Desktop with WSL2 ](https://docs.docker.com/docker-for-windows/wsl/ ) instead.
2020-07-24 07:49:00 -04:00
### Kernel memory limit
2020-10-13 03:38:48 -04:00
**Deprecated in Release: v20.10**
2020-07-24 07:49:00 -04:00
Specifying kernel memory limit (`docker run --kernel-memory`) is now marked as deprecated,
as [Linux kernel deprecated `kmem.limit_in_bytes` in v5.4 ](https://github.com/torvalds/linux/commit/0158115f702b0ba208ab0b5adf44cae99b3ebcc7 ).
2020-04-16 09:00:40 -04:00
### Classic Swarm and overlay networks using cluster store
2020-10-13 03:38:48 -04:00
**Deprecated in Release: v20.10**
2020-04-16 09:00:40 -04:00
Standalone ("classic") Swarm has been deprecated, and with that the use of overlay
networks using an external key/value store. The corresponding`--cluster-advertise`,
`--cluster-store` , and `--cluster-store-opt` daemon options have been marked
deprecated, and will be disabled or removed in a future release.
2020-05-13 19:27:58 -04:00
### Support for legacy `~/.dockercfg` configuration files
2020-10-13 03:38:48 -04:00
**Deprecated in Release: v20.10**
2020-05-13 19:27:58 -04:00
The docker CLI up until v1.7.0 used the `~/.dockercfg` file to store credentials
after authenticating to a registry (`docker login`). Docker v1.7.0 replaced this
file with a new CLI configuration file, located in `~/.docker/config.json` . When
implementing the new configuration file, the old file (and file-format) was kept
as a fall-back, to assist existing users with migrating to the new file.
Given that the old file format encourages insecure storage of credentials
(credentials are stored unencrypted), and that no version of the CLI since
Docker v1.7.0 has created this file, the file is marked deprecated, and support
for this file will be removed in a future release.
2020-10-02 08:10:27 -04:00
### Configuration options for experimental CLI features
The `DOCKER_CLI_EXPERIMENTAL` environment variable and the corresponding `experimental`
field in the CLI configuration file are deprecated. Experimental features will be
enabled by default, and these configuration options will no longer be functional.
2020-05-12 04:33:16 -04:00
### CLI plugins support
2020-10-13 03:38:48 -04:00
**Deprecated in Release: v20.10**
2020-05-12 04:33:16 -04:00
CLI Plugin API is now marked as deprecated.
2016-10-12 19:23:01 -04:00
2020-09-23 14:48:26 -04:00
### Dockerfile legacy `ENV name value` syntax
2020-10-13 03:38:48 -04:00
**Deprecated in Release: v20.10**
2020-09-23 14:48:26 -04:00
The Dockerfile `ENV` instruction allows values to be set using either `ENV name=value`
or `ENV name value` . The latter (`ENV name value`) form can be ambiguous, for example,
the following defines a single env-variable (`ONE`) with value `"TWO= THREE=world"` ,
but may have intended to be setting three env-vars:
```dockerfile
ENV ONE TWO= THREE=world
```
This format also does not allow setting multiple environment-variables in a single
`ENV` line in the Dockerfile.
Use of the `ENV name value` syntax is discouraged, and may be removed in a future
release. Users are encouraged to update their Dockerfiles to use the `ENV name=value`
syntax, for example:
```dockerfile
ENV ONE="" TWO="" THREE="world"
```
2020-10-23 19:03:47 -04:00
### `docker build --stream` flag (experimental)
**Deprecated in Release: v20.10**
**Removed in Release: v20.10**
Docker v17.07 introduced an experimental `--stream` flag on `docker build` which
allowed the build-context to be incrementally sent to the daemon, instead of
unconditionally sending the whole build-context.
This functionality has been reimplemented as part of BuildKit, which uses streaming
by default and the `--stream` option will be ignored when using the classic builder,
printing a deprecation warning instead.
Users that want to use this feature are encouraged to enable BuildKit by setting
the `DOCKER_BUILDKIT=1` environment variable or through the daemon or CLI configuration
files.
2019-06-18 14:51:19 -04:00
### Pushing and pulling with image manifest v2 schema 1
2020-10-02 08:15:42 -04:00
**Deprecated in Release: v19.03**
2019-06-18 14:51:19 -04:00
2020-10-13 03:38:48 -04:00
**Target For Removal In Release: v20.10**
2019-06-18 14:51:19 -04:00
The image manifest
[v2 schema 1 ](https://github.com/docker/distribution/blob/fda42e5ef908bdba722d435ff1f330d40dfcd56c/docs/spec/manifest-v2-1.md )
format is deprecated in favor of the
[v2 schema 2 ](https://github.com/docker/distribution/blob/fda42e5ef908bdba722d435ff1f330d40dfcd56c/docs/spec/manifest-v2-2.md ) format.
If the registry you are using still supports v2 schema 1, urge their administrators to move to v2 schema 2.
2020-02-10 09:03:42 -05:00
2020-02-10 08:31:17 -05:00
### `docker engine` subcommands
2020-10-02 08:15:42 -04:00
**Deprecated in Release: v19.03**
2020-02-10 08:31:17 -05:00
2020-10-13 03:38:48 -04:00
**Removed in Release: v20.10**
2020-02-10 08:31:17 -05:00
The `docker engine activate` , `docker engine check` , and `docker engine update`
provided an alternative installation method to upgrade Docker Community engines
to Docker Enterprise, using an image-based distribution of the Docker Engine.
This feature was only available on Linux, and only when executed on a local node.
Given the limitations of this feature, and the feature not getting widely adopted,
the `docker engine` subcommands will be removed, in favor of installation through
standard package managers.
2020-02-10 08:30:24 -05:00
### Top-level `docker deploy` subcommand (experimental)
2020-10-02 08:15:42 -04:00
**Deprecated in Release: v19.03**
2020-02-10 08:30:24 -05:00
2020-10-13 03:38:48 -04:00
**Removed in Release: v20.10**
2020-02-10 08:30:24 -05:00
The top-level `docker deploy` command (using the "Docker Application Bundle"
(.dab) file format was introduced as an experimental feature in Docker 1.13 /
17.03, but superseded by support for Docker Compose files using the `docker stack deploy`
subcommand.
### `docker stack deploy` using "dab" files (experimental)
2020-10-02 08:15:42 -04:00
**Deprecated in Release: v19.03**
2020-02-10 08:30:24 -05:00
2020-10-13 03:38:48 -04:00
**Removed in Release: v20.10**
2020-02-10 08:30:24 -05:00
With no development being done on this feature, and no active use of the file
format, support for the DAB file format and the top-level docker deploy command
(hidden by default in 19.03), will be removed, in favour of `docker stack deploy`
using compose files.
2020-02-10 09:03:42 -05:00
### AuFS storage driver
2020-10-02 08:15:42 -04:00
**Deprecated in Release: v19.03**
2020-02-10 09:03:42 -05:00
The `aufs` storage driver is deprecated in favor of `overlay2` , and will
be removed in a future release. Users of the `aufs` storage driver are
recommended to migrate to a different storage driver, such as `overlay2` , which
is now the default storage driver.
The `aufs` storage driver facilitates running Docker on distros that have no
support for OverlayFS, such as Ubuntu 14.04 LTS, which originally shipped with
a 3.14 kernel.
Now that Ubuntu 14.04 is no longer a supported distro for Docker, and `overlay2`
is available to all supported distros (as they are either on kernel 4.x, or have
support for multiple lowerdirs backported), there is no reason to continue
maintenance of the `aufs` storage driver.
2018-10-09 12:27:42 -04:00
### Legacy "overlay" storage driver
2020-10-02 08:15:42 -04:00
**Deprecated in Release: v18.09**
2018-10-09 12:27:42 -04:00
The `overlay` storage driver is deprecated in favor of the `overlay2` storage
driver, which has all the benefits of `overlay` , without its limitations (excessive
inode consumption). The legacy `overlay` storage driver will be removed in a future
release. Users of the `overlay` storage driver should migrate to the `overlay2`
storage driver.
The legacy `overlay` storage driver allowed using overlayFS-backed filesystems
on pre 4.x kernels. Now that all supported distributions are able to run `overlay2`
(as they are either on kernel 4.x, or have support for multiple lowerdirs
backported), there is no reason to keep maintaining the `overlay` storage driver.
2020-02-10 08:27:22 -05:00
### Device mapper storage driver
2018-10-09 12:51:13 -04:00
2020-10-02 08:15:42 -04:00
**Deprecated in Release: v18.09**
2018-10-09 12:51:13 -04:00
The `devicemapper` storage driver is deprecated in favor of `overlay2` , and will
be removed in a future release. Users of the `devicemapper` storage driver are
recommended to migrate to a different storage driver, such as `overlay2` , which
is now the default storage driver.
The `devicemapper` storage driver facilitates running Docker on older (3.x) kernels
that have no support for other storage drivers (such as overlay2, or AUFS).
Now that support for `overlay2` is added to all supported distros (as they are
either on kernel 4.x, or have support for multiple lowerdirs backported), there
is no reason to continue maintenance of the `devicemapper` storage driver.
2018-10-09 12:27:42 -04:00
2018-10-26 12:31:53 -04:00
2020-02-11 11:06:55 -05:00
### Use of reserved namespaces in engine labels
2018-05-07 14:10:13 -04:00
2020-10-02 08:15:42 -04:00
**Deprecated in Release: v18.06**
2018-05-07 14:10:13 -04:00
2020-10-13 03:38:48 -04:00
**Removed In Release: v20.10**
2020-02-11 11:06:55 -05:00
2018-05-07 14:10:13 -04:00
The namespaces `com.docker.*` , `io.docker.*` , and `org.dockerproject.*` in engine labels
were always documented to be reserved, but there was never any enforcement.
Usage of these namespaces will now cause a warning in the engine logs to discourage their
2020-10-13 03:38:48 -04:00
use, and will error instead in v20.10 and above.
2018-05-07 14:10:13 -04:00
2020-02-10 09:03:42 -05:00
### `--disable-legacy-registry` override daemon option
**Disabled In Release: v17.12**
2020-02-10 10:52:21 -05:00
**Removed In Release: v19.03**
2020-02-10 09:03:42 -05:00
The `--disable-legacy-registry` flag was disabled in Docker 17.12 and will print
an error when used. For this error to be printed, the flag itself is still present,
2020-02-10 10:52:21 -05:00
but hidden. The flag has been removed in Docker 19.03.
2020-02-10 09:03:42 -05:00
### Interacting with V1 registries
**Disabled By Default In Release: v17.06**
**Removed In Release: v17.12**
Version 1.8.3 added a flag (`--disable-legacy-registry=false`) which prevents the
docker daemon from `pull` , `push` , and `login` operations against v1
registries. Though enabled by default, this signals the intent to deprecate
the v1 protocol.
Support for the v1 protocol to the public registry was removed in 1.13. Any
mirror configurations using v1 should be updated to use a
[v2 registry mirror ](https://docs.docker.com/registry/recipes/mirror/ ).
Starting with Docker 17.12, support for V1 registries has been removed, and the
`--disable-legacy-registry` flag can no longer be used, and `dockerd` will fail to
start when set.
2020-02-10 08:27:22 -05:00
### Asynchronous `service create` and `service update` as default
2017-04-11 06:15:18 -04:00
2020-10-02 08:15:42 -04:00
**Deprecated In Release: v17.05**
2017-04-11 06:15:18 -04:00
2017-10-07 08:28:56 -04:00
**Disabled by default in release: [v17.10 ](https://github.com/docker/docker-ce/releases/tag/v17.10.0-ce )**
2017-04-11 06:15:18 -04:00
2020-10-02 08:15:42 -04:00
Docker 17.05 added an optional `--detach=false` option to make the
2017-04-11 06:15:18 -04:00
`docker service create` and `docker service update` work synchronously. This
2017-10-07 08:28:56 -04:00
option will be enabled by default in Docker 17.10, at which point the `--detach`
2017-04-11 06:15:18 -04:00
flag can be used to use the previous (asynchronous) behavior.
2017-10-07 08:28:56 -04:00
The default for this option will also be changed accordingly for `docker service rollback`
and `docker service scale` in Docker 17.10.
2016-11-22 01:17:24 -05:00
### `-g` and `--graph` flags on `dockerd`
2020-10-02 08:15:42 -04:00
**Deprecated In Release: v17.05**
2016-11-22 01:17:24 -05:00
The `-g` or `--graph` flag for the `dockerd` or `docker daemon` command was
used to indicate the directory in which to store persistent data and resource
configuration and has been replaced with the more descriptive `--data-root`
flag.
deprecate "top-level" network information in NetworkSettings
When inspecting a container, `NetworkSettings` contains top-level
information about the default ("bridge") network;
`EndpointID`, `Gateway`, `GlobalIPv6Address`, `GlobalIPv6PrefixLen`,
`IPAddress`, `IPPrefixLen`, `IPv6Gateway`, and `MacAddress`.
These properties are deprecated in favor of per-network properties in
`NetworkSettings.Networks`. These properties were already "deprecated" in
docker 1.9, but kept around for backward compatibility.
Refer to [#17538](https://github.com/docker/docker/pull/17538) for further
information.
This officially deprecates these properties, and marks them
for removal in 1.16
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-11-15 09:41:52 -05:00
2017-03-28 10:19:35 -04:00
These flags were added before Docker 1.0, so will not be _removed_ , only
_hidden_, to discourage their use.
deprecate "top-level" network information in NetworkSettings
When inspecting a container, `NetworkSettings` contains top-level
information about the default ("bridge") network;
`EndpointID`, `Gateway`, `GlobalIPv6Address`, `GlobalIPv6PrefixLen`,
`IPAddress`, `IPPrefixLen`, `IPv6Gateway`, and `MacAddress`.
These properties are deprecated in favor of per-network properties in
`NetworkSettings.Networks`. These properties were already "deprecated" in
docker 1.9, but kept around for backward compatibility.
Refer to [#17538](https://github.com/docker/docker/pull/17538) for further
information.
This officially deprecates these properties, and marks them
for removal in 1.16
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-11-15 09:41:52 -05:00
### Top-level network properties in NetworkSettings
2017-02-12 18:15:15 -05:00
**Deprecated In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
deprecate "top-level" network information in NetworkSettings
When inspecting a container, `NetworkSettings` contains top-level
information about the default ("bridge") network;
`EndpointID`, `Gateway`, `GlobalIPv6Address`, `GlobalIPv6PrefixLen`,
`IPAddress`, `IPPrefixLen`, `IPv6Gateway`, and `MacAddress`.
These properties are deprecated in favor of per-network properties in
`NetworkSettings.Networks`. These properties were already "deprecated" in
docker 1.9, but kept around for backward compatibility.
Refer to [#17538](https://github.com/docker/docker/pull/17538) for further
information.
This officially deprecates these properties, and marks them
for removal in 1.16
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-11-15 09:41:52 -05:00
2017-02-27 20:16:47 -05:00
**Target For Removal In Release: v17.12**
deprecate "top-level" network information in NetworkSettings
When inspecting a container, `NetworkSettings` contains top-level
information about the default ("bridge") network;
`EndpointID`, `Gateway`, `GlobalIPv6Address`, `GlobalIPv6PrefixLen`,
`IPAddress`, `IPPrefixLen`, `IPv6Gateway`, and `MacAddress`.
These properties are deprecated in favor of per-network properties in
`NetworkSettings.Networks`. These properties were already "deprecated" in
docker 1.9, but kept around for backward compatibility.
Refer to [#17538](https://github.com/docker/docker/pull/17538) for further
information.
This officially deprecates these properties, and marks them
for removal in 1.16
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2016-11-15 09:41:52 -05:00
When inspecting a container, `NetworkSettings` contains top-level information
about the default ("bridge") network;
`EndpointID` , `Gateway` , `GlobalIPv6Address` , `GlobalIPv6PrefixLen` , `IPAddress` ,
`IPPrefixLen` , `IPv6Gateway` , and `MacAddress` .
These properties are deprecated in favor of per-network properties in
`NetworkSettings.Networks` . These properties were already "deprecated" in
docker 1.9, but kept around for backward compatibility.
Refer to [#17538 ](https://github.com/docker/docker/pull/17538 ) for further
information.
2017-03-22 22:48:34 -04:00
### `filter` param for `/images/json` endpoint
2016-12-08 06:03:46 -05:00
**Deprecated In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
2016-11-11 09:34:01 -05:00
2020-10-13 03:38:48 -04:00
**Removed In Release: v20.10**
2016-11-11 09:34:01 -05:00
2020-02-10 11:24:52 -05:00
The `filter` param to filter the list of image by reference (name or name:tag)
is now implemented as a regular filter, named `reference` .
2016-10-12 19:23:01 -04:00
### `repository:shortid` image references
2016-12-08 06:03:46 -05:00
**Deprecated In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
2016-10-12 19:23:01 -04:00
2017-12-13 17:16:46 -05:00
**Removed In Release: v17.12**
The `repository:shortid` syntax for referencing images is very little used,
collides with tag references, and can be confused with digest references.
2016-10-12 19:23:01 -04:00
2017-12-13 17:16:46 -05:00
Support for the `repository:shortid` notation to reference images was removed
in Docker 17.12.
2016-10-12 19:23:01 -04:00
### `docker daemon` subcommand
2016-12-08 06:03:46 -05:00
**Deprecated In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
2016-10-12 19:23:01 -04:00
2017-11-12 19:26:09 -05:00
**Removed In Release: v17.12**
2016-10-12 19:23:01 -04:00
The daemon is moved to a separate binary (`dockerd`), and should be used instead.
2016-07-12 08:08:05 -04:00
### Duplicate keys with conflicting values in engine labels
2016-12-08 06:03:46 -05:00
**Deprecated In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
2016-07-12 08:08:05 -04:00
2017-12-12 20:09:38 -05:00
**Removed In Release: v17.12**
2016-07-12 08:08:05 -04:00
2017-12-12 20:09:38 -05:00
When setting duplicate keys with conflicting values, an error will be produced, and the daemon
will fail to start.
2016-07-12 08:08:05 -04:00
2016-11-11 04:23:02 -05:00
### `MAINTAINER` in Dockerfile
2016-12-08 06:03:46 -05:00
**Deprecated In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
2016-11-11 04:23:02 -05:00
`MAINTAINER` was an early very limited form of `LABEL` which should be used instead.
### API calls without a version
2016-12-08 06:03:46 -05:00
**Deprecated In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
2016-11-11 04:23:02 -05:00
2017-02-27 20:16:47 -05:00
**Target For Removal In Release: v17.12**
2016-11-11 04:23:02 -05:00
API versions should be supplied to all API calls to ensure compatibility with
future Engine versions. Instead of just requesting, for example, the URL
`/containers/json` , you must now request `/v1.25/containers/json` .
### Backing filesystem without `d_type` support for overlay/overlay2
2016-12-08 06:03:46 -05:00
**Deprecated In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
2016-11-11 04:23:02 -05:00
2017-12-12 20:09:38 -05:00
**Removed In Release: v17.12**
2016-11-11 04:23:02 -05:00
The overlay and overlay2 storage driver does not work as expected if the backing
filesystem does not support `d_type` . For example, XFS does not support `d_type`
if it is formatted with the `ftype=0` option.
2017-12-12 20:09:38 -05:00
Starting with Docker 17.12, new installations will not support running overlay2 on
a backing filesystem without `d_type` support. For existing installations that upgrade
to 17.12, a warning will be printed.
2016-11-11 04:23:02 -05:00
Please also refer to [#27358 ](https://github.com/docker/docker/issues/27358 ) for
2016-11-13 23:04:25 -05:00
further information.
2016-11-11 04:23:02 -05:00
2016-10-12 19:23:01 -04:00
2020-02-10 09:03:42 -05:00
### `--automated` and `--stars` flags on `docker search`
**Deprecated in Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
2020-10-13 03:38:48 -04:00
**Removed In Release: v20.10**
2020-02-10 09:03:42 -05:00
The `docker search --automated` and `docker search --stars` options are deprecated.
2020-02-13 11:18:10 -05:00
Use `docker search --filter=is-automated=<true|false>` and `docker search --filter=stars=...` instead.
2016-10-12 19:23:01 -04:00
### `-h` shorthand for `--help`
**Deprecated In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
2017-02-27 20:16:47 -05:00
**Target For Removal In Release: v17.09**
2016-10-12 19:23:01 -04:00
The shorthand (`-h`) is less common than `--help` on Linux and cannot be used
on all subcommands (due to it conflicting with, e.g. `-h` / `--hostname` on
`docker create` ). For this reason, the `-h` shorthand was not printed in the
"usage" output of subcommands, nor documented, and is now marked "deprecated".
### `-e` and `--email` flags on `docker login`
**Deprecated In Release: [v1.11.0 ](https://github.com/docker/docker/releases/tag/v1.11.0 )**
2017-06-01 11:05:42 -04:00
**Removed In Release: [v17.06 ](https://github.com/docker/docker-ce/releases/tag/v17.06.0-ce )**
2016-10-12 19:23:01 -04:00
The docker login command is removing the ability to automatically register for an account with the target registry if the given username doesn't exist. Due to this change, the email flag is no longer required, and will be deprecated.
### Separator (`:`) of `--security-opt` flag on `docker run`
**Deprecated In Release: [v1.11.0 ](https://github.com/docker/docker/releases/tag/v1.11.0 )**
2017-02-27 20:16:47 -05:00
**Target For Removal In Release: v17.06**
2016-10-12 19:23:01 -04:00
2018-09-28 17:40:22 -04:00
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` .
2016-10-12 19:23:01 -04:00
### Ambiguous event fields in API
**Deprecated In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
The fields `ID` , `Status` and `From` in the events API have been deprecated in favor of a more rich structure.
See the events API documentation for the new format.
### `-f` flag on `docker tag`
**Deprecated In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
To make tagging consistent across the various `docker` commands, the `-f` flag on the `docker tag` command is deprecated. It is not longer necessary to specify `-f` to move a tag from one image to another. Nor will `docker` generate an error if the `-f` flag is missing and the specified tag is already in use.
### HostConfig at API container start
**Deprecated In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
Passing an `HostConfig` to `POST /containers/{name}/start` is deprecated in favor of
defining it at container creation (`POST /containers/create`).
2016-12-08 06:03:46 -05:00
### `--before` and `--since` flags on `docker ps`
2016-10-12 19:23:01 -04:00
**Deprecated In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
The `docker ps --before` and `docker ps --since` options are deprecated.
Use `docker ps --filter=before=...` and `docker ps --filter=since=...` instead.
2020-02-10 08:27:22 -05:00
### Driver-specific log tags
2016-10-12 19:23:01 -04:00
**Deprecated In Release: [v1.9.0 ](https://github.com/docker/docker/releases/tag/v1.9.0 )**
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
Log tags are now generated in a standard way across different logging drivers.
Because of which, the driver specific log tag options `syslog-tag` , `gelf-tag` and
`fluentd-tag` have been deprecated in favor of the generic `tag` option.
2017-02-14 19:40:15 -05:00
```bash
{% raw %}
docker --log-driver=syslog --log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}"
{% endraw %}
```
2016-10-12 19:23:01 -04:00
2020-02-10 09:03:42 -05:00
### Docker Content Trust ENV passphrase variables name change
**Deprecated In Release: [v1.9.0 ](https://github.com/docker/docker/releases/tag/v1.9.0 )**
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
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
- DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE is now named DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE
- DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE is now named DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE
### `/containers/(id or name)/copy` endpoint
**Deprecated In Release: [v1.8.0 ](https://github.com/docker/docker/releases/tag/v1.8.0 )**
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
The endpoint `/containers/(id or name)/copy` is deprecated in favor of `/containers/(id or name)/archive` .
2016-10-12 19:23:01 -04:00
### LXC built-in exec driver
**Deprecated In Release: [v1.8.0 ](https://github.com/docker/docker/releases/tag/v1.8.0 )**
**Removed In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
The built-in LXC execution driver, the lxc-conf flag, and API fields have been removed.
2020-02-10 09:03:42 -05:00
2016-10-12 19:23:01 -04:00
### Old Command Line Options
**Deprecated In Release: [v1.8.0 ](https://github.com/docker/docker/releases/tag/v1.8.0 )**
**Removed In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
The flags `-d` and `--daemon` are deprecated in favor of the `daemon` subcommand:
docker daemon -H ...
The following single-dash (`-opt`) variant of certain command line options
are deprecated and replaced with double-dash options (`--opt`):
docker attach -nostdin
docker attach -sig-proxy
docker build -no-cache
docker build -rm
docker commit -author
docker commit -run
docker events -since
docker history -notrunc
docker images -notrunc
docker inspect -format
docker ps -beforeId
docker ps -notrunc
docker ps -sinceId
docker rm -link
docker run -cidfile
docker run -dns
docker run -entrypoint
docker run -expose
docker run -link
docker run -lxc-conf
docker run -n
docker run -privileged
docker run -volumes-from
docker search -notrunc
docker search -stars
docker search -t
docker search -trusted
docker tag -force
The following double-dash options are deprecated and have no replacement:
docker run --cpuset
docker run --networking
docker ps --since-id
docker ps --before-id
docker search --trusted
**Deprecated In Release: [v1.5.0 ](https://github.com/docker/docker/releases/tag/v1.5.0 )**
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
The single-dash (`-help`) was removed, in favor of the double-dash `--help`
docker -help
docker [COMMAND] -help
2016-11-21 12:39:48 -05:00
2020-02-10 09:03:42 -05:00
### `--api-enable-cors` flag on dockerd
2016-11-21 12:39:48 -05:00
2020-02-10 09:03:42 -05:00
**Deprecated In Release: [v1.6.0 ](https://github.com/docker/docker/releases/tag/v1.6.0 )**
2016-11-21 12:39:48 -05:00
2020-02-10 09:03:42 -05:00
**Removed In Release: [v17.09 ](https://github.com/docker/docker-ce/releases/tag/v17.09.0-ce )**
2016-10-12 19:23:01 -04:00
2020-02-10 09:03:42 -05:00
The flag `--api-enable-cors` is deprecated since v1.6.0. Use the flag
`--api-cors-header` instead.
2017-12-12 20:09:38 -05:00
2020-02-10 09:03:42 -05:00
### `--run` flag on docker commit
2017-12-12 20:09:38 -05:00
2020-02-10 09:03:42 -05:00
**Deprecated In Release: [v0.10.0 ](https://github.com/docker/docker/releases/tag/v0.10.0 )**
2017-12-12 20:09:38 -05:00
2020-02-10 09:03:42 -05:00
**Removed In Release: [v1.13.0 ](https://github.com/docker/docker/releases/tag/v1.13.0 )**
2017-12-12 20:09:38 -05:00
2020-02-10 09:03:42 -05:00
The flag `--run` of the docker commit (and its short version `-run` ) were deprecated in favor
of the `--changes` flag that allows to pass `Dockerfile` commands.
2017-12-12 20:09:38 -05:00
2020-02-10 09:03:42 -05:00
### Three arguments form in `docker import`
**Deprecated In Release: [v0.6.7 ](https://github.com/docker/docker/releases/tag/v0.6.7 )**
2016-10-12 19:23:01 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/tag/v1.12.0 )**
2020-02-10 09:03:42 -05:00
The `docker import` command format `file|URL|- [REPOSITORY [TAG]]` is deprecated since November 2013. It's no more supported.