docs/deprecated.md
b3060944
 ---
 aliases: ["/engine/misc/deprecated/"]
 title: "Deprecated Engine Features"
 description: "Deprecated Features."
4aa6618a
 keywords: "docker, documentation, about, technology, deprecate"
b3060944
 ---
27b828c9
 
3b36f02c
 <!-- This file is maintained within the docker/docker Github
      repository at https://github.com/docker/docker/. Make all
      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.
 -->
 
e310d070
 # Deprecated Engine Features
27b828c9
 
e310d070
 The following list of features are deprecated in Engine.
9414955c
 To learn more about Docker Engine's deprecation policy,
b7d34e1c
 see [Feature Deprecation Policy](https://docs.docker.com/engine/#feature-deprecation-policy).
9414955c
 
ae6f09b2
 
 ### Top-level network properties in NetworkSettings
 
ee65dd02
 **Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
ae6f09b2
 
5d68ef52
 **Target For Removal In Release: v17.12**
ae6f09b2
 
 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.
 
820b809e
 ## `filter` param for `/images/json` endpoint
aa26364c
 **Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
820b809e
 
5d68ef52
 **Target For Removal In Release: v17.12**
820b809e
 
 The `filter` param to filter the list of image by reference (name or name:tag) is now implemented as a regular filter, named `reference`.
27b828c9
 
5fc71599
 ### `repository:shortid` image references
aa26364c
 **Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
5fc71599
 
5d68ef52
 **Target For Removal In Release: v17.12**
5fc71599
 
379e9259
 `repository:shortid` syntax for referencing images is very little used, collides with tag references can be confused with digest references.
5fc71599
 
bf58dd82
 ### `docker daemon` subcommand
aa26364c
 **Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
bf58dd82
 
5d68ef52
 **Target For Removal In Release: v17.12**
bf58dd82
 
 The daemon is moved to a separate binary (`dockerd`), and should be used instead.
 
e4c9079d
 ### Duplicate keys with conflicting values in engine labels
aa26364c
 **Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
e4c9079d
 
5d68ef52
 **Target For Removal In Release: v17.12**
e4c9079d
 
 Duplicate keys with conflicting values have been deprecated. A warning is displayed
 in the output, and an error will be returned in the future.
 
6694974c
 ### `MAINTAINER` in Dockerfile
aa26364c
 **Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
6694974c
 
 `MAINTAINER` was an early very limited form of `LABEL` which should be used instead.
 
 ### API calls without a version
aa26364c
 **Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
6694974c
 
5d68ef52
 **Target For Removal In Release: v17.12**
6694974c
 
 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
aa26364c
 **Deprecated In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
6694974c
 
5d68ef52
 **Target For Removal In Release: v17.12**
6694974c
 
 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.
 
 Please also refer to [#27358](https://github.com/docker/docker/issues/27358) for
45e5b255
 further information.
6694974c
 
aa26364c
 ### Three arguments form in `docker import`
372063ce
 **Deprecated In Release: [v0.6.7](https://github.com/docker/docker/releases/tag/v0.6.7)**
 
cd69b942
 **Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
372063ce
 
aa26364c
 The `docker import` command format `file|URL|- [REPOSITORY [TAG]]` is deprecated since November 2013. It's no more supported.
372063ce
 
6add6950
 ### `-h` shorthand for `--help`
 
cd69b942
 **Deprecated In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
6add6950
 
5d68ef52
 **Target For Removal In Release: v17.09**
6add6950
 
 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
78a5480d
 "usage" output of subcommands, nor documented, and is now marked "deprecated".
6add6950
 
aee260d4
 ### `-e` and `--email` flags on `docker login`
7bc9e0ae
 **Deprecated In Release: [v1.11.0](https://github.com/docker/docker/releases/tag/v1.11.0)**
aee260d4
 
5d68ef52
 **Target For Removal In Release: v17.06**
aee260d4
 
 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.
 
018c2288
 ### Separator (`:`) of `--security-opt` flag on `docker run`
7bc9e0ae
 **Deprecated In Release: [v1.11.0](https://github.com/docker/docker/releases/tag/v1.11.0)**
018c2288
 
5d68ef52
 **Target For Removal In Release: v17.06**
018c2288
 
78a5480d
 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`.
cb9aeb04
 
42832890
 ### `/containers/(id or name)/copy` endpoint
 
bc20354b
 **Deprecated In Release: [v1.8.0](https://github.com/docker/docker/releases/tag/v1.8.0)**
42832890
 
cd69b942
 **Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
42832890
 
 The endpoint `/containers/(id or name)/copy` is deprecated in favor of `/containers/(id or name)/archive`.
 
851fe00c
 ### Ambiguous event fields in API
7bc9e0ae
 **Deprecated In Release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**
851fe00c
 
 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.
 
8d4fe141
 ### `-f` flag on `docker tag`
4455ec14
 **Deprecated In Release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**
8d4fe141
 
cd69b942
 **Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
8d4fe141
 
 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.
 
3e7405ae
 ### HostConfig at API container start
7bc9e0ae
 **Deprecated In Release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**
3e7405ae
 
cd69b942
 **Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
3e7405ae
 
 Passing an `HostConfig` to `POST /containers/{name}/start` is deprecated in favor of
 defining it at container creation (`POST /containers/create`).
 
aa26364c
 ### `--before` and `--since` flags on `docker ps`
1921c629
 
 **Deprecated In Release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**
 
cd69b942
 **Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
1921c629
 
 The `docker ps --before` and `docker ps --since` options are deprecated.
 Use `docker ps --filter=before=...` and `docker ps --filter=since=...` instead.
e009ebdf
 
aa26364c
 ### `--automated` and `--stars` flags on `docker search`
e009ebdf
 
cd69b942
 **Deprecated in Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
e009ebdf
 
5d68ef52
 **Target For Removal In Release: v17.09**
e009ebdf
 
 The `docker search --automated` and `docker search --stars` options are deprecated.
 Use `docker search --filter=is-automated=...` and `docker search --filter=stars=...` instead.
1921c629
 
3be7146e
 ### Driver Specific Log Tags
7bc9e0ae
 **Deprecated In Release: [v1.9.0](https://github.com/docker/docker/releases/tag/v1.9.0)**
3be7146e
 
cd69b942
 **Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
3be7146e
 
 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.
 
2e19cc0c
 ```bash
 {% raw %}
 docker --log-driver=syslog --log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}"
 {% endraw %}
 ```
3be7146e
 
06f6c0c7
 ### LXC built-in exec driver
7bc9e0ae
 **Deprecated In Release: [v1.8.0](https://github.com/docker/docker/releases/tag/v1.8.0)**
06f6c0c7
 
7bc9e0ae
 **Removed In Release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**
06f6c0c7
 
1391e75d
 The built-in LXC execution driver, the lxc-conf flag, and API fields have been removed.
06f6c0c7
 
27b828c9
 ### Old Command Line Options
1f9332cd
 **Deprecated In Release: [v1.8.0](https://github.com/docker/docker/releases/tag/v1.8.0)**
27b828c9
 
0a4de93e
 **Removed In Release: [v1.10.0](https://github.com/docker/docker/releases/tag/v1.10.0)**
27b828c9
 
9a1728a4
 The flags `-d` and `--daemon` are deprecated in favor of the `daemon` subcommand:
 
     docker daemon -H ...
 
3be7146e
 The following single-dash (`-opt`) variant of certain command line options
27b828c9
 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
 
ea3dcee9
 The following double-dash options are deprecated and have no replacement:
27b828c9
 
79298882
     docker run --cpuset
27b828c9
     docker run --networking
     docker ps --since-id
     docker ps --before-id
     docker search --trusted
249f45bc
 
6add6950
 **Deprecated In Release: [v1.5.0](https://github.com/docker/docker/releases/tag/v1.5.0)**
 
cd69b942
 **Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
6add6950
 
 The single-dash (`-help`) was removed, in favor of the double-dash `--help`
 
     docker -help
     docker [COMMAND] -help
 
54ed1568
 ### `--run` flag on docker commit
 
 **Deprecated In Release: [v0.10.0](https://github.com/docker/docker/releases/tag/v0.10.0)**
 
aa26364c
 **Removed In Release: [v1.13.0](https://github.com/docker/docker/releases/tag/v1.13.0)**
54ed1568
 
b3060944
 The flag `--run` of the docker commit (and its short version `-run`) were deprecated in favor
54ed1568
 of the `--changes` flag that allows to pass `Dockerfile` commands.
 
6add6950
 
4acf29a8
 ### Interacting with V1 registries
 
2387faa6
 **Disabled By Default In Release: v17.06**
c8f826f4
 
2387faa6
 **Target For Removal In Release: v17.12**
c8f826f4
 
 Version 1.9 adds 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/).
4acf29a8
 
d9a2fadb
 ### Docker Content Trust ENV passphrase variables name change
7bc9e0ae
 **Deprecated In Release: [v1.9.0](https://github.com/docker/docker/releases/tag/v1.9.0)**
26701e2d
 
cd69b942
 **Removed In Release: [v1.12.0](https://github.com/docker/docker/releases/tag/v1.12.0)**
4acf29a8
 
1f0d5aba
 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
d9a2fadb
 
d7358933
 - 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