2016-01-23 23:36:40 -05:00
<!-- [metadata]>
+++
aliases = ["/engine/misc/deprecated/"]
title = "Deprecated Engine Features"
description = "Deprecated Features."
keywords = ["docker, documentation, about, technology, deprecate"]
[menu.main]
parent = "engine_use"
weight=80
+++
<![end-metadata]-->
# Deprecated Engine Features
The following list of features are deprecated in Engine.
2016-06-05 12:07:34 -04:00
### Three argument form in `docker import`
**Deprecated In Release: [v0.6.7 ](https://github.com/docker/docker/releases/tag/v0.6.7 )**
2016-07-08 19:04:03 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-06-05 12:07:34 -04:00
The `docker import` command format 'file|URL|- [REPOSITORY [TAG]]' is deprecated since November 2013. It's no more supported.
2016-05-25 10:44:58 -04:00
### `-h` shorthand for `--help`
2016-07-08 19:04:03 -04:00
**Deprecated In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-05-25 10:44:58 -04:00
2016-07-08 19:04:03 -04:00
**Target For Removal In Release: [v1.14.0 ](https://github.com/docker/docker/releases/ )**
2016-05-25 10:44:58 -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
2016-07-19 10:42:23 -04:00
"usage" output of subcommands, nor documented, and is now marked "deprecated".
2016-05-25 10:44:58 -04:00
2016-02-29 20:51:36 -05:00
### `-e` and `--email` flags on `docker login`
2016-06-02 22:54:35 -04:00
**Deprecated In Release: [v1.11.0 ](https://github.com/docker/docker/releases/tag/v1.11.0 )**
2016-02-29 20:51:36 -05:00
**Target For Removal In Release: v1.13**
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.
2016-05-07 11:46:15 -04:00
### Separator (`:`) of `--security-opt` flag on `docker run`
2016-06-02 22:54:35 -04:00
**Deprecated In Release: [v1.11.0 ](https://github.com/docker/docker/releases/tag/v1.11.0 )**
2016-05-07 11:46:15 -04:00
**Target For Removal In Release: v1.13**
2016-07-19 10:42:23 -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-03-15 18:34:29 -04:00
2016-06-03 13:38:03 -04:00
### `/containers/(id or name)/copy` endpoint
2016-06-19 09:13:57 -04:00
**Deprecated In Release: [v1.8.0 ](https://github.com/docker/docker/releases/tag/v1.8.0 )**
2016-06-03 13:38:03 -04:00
2016-07-08 19:04:03 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-06-03 13:38:03 -04:00
The endpoint `/containers/(id or name)/copy` is deprecated in favor of `/containers/(id or name)/archive` .
2016-01-23 23:36:40 -05:00
### Ambiguous event fields in API
2016-06-02 22:54:35 -04:00
**Deprecated In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
2016-01-23 23:36:40 -05:00
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`
2016-05-29 11:16:39 -04:00
**Deprecated In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
2016-01-23 23:36:40 -05:00
2016-07-08 19:04:03 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-01-23 23:36:40 -05:00
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
2016-06-02 22:54:35 -04:00
**Deprecated In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
2016-01-23 23:36:40 -05:00
2016-07-08 19:04:03 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-01-23 23:36:40 -05:00
Passing an `HostConfig` to `POST /containers/{name}/start` is deprecated in favor of
defining it at container creation (`POST /containers/create`).
### Docker ps 'before' and 'since' options
**Deprecated In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
2016-07-08 19:04:03 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-01-23 23:36:40 -05:00
The `docker ps --before` and `docker ps --since` options are deprecated.
Use `docker ps --filter=before=...` and `docker ps --filter=since=...` instead.
2016-05-20 07:41:28 -04:00
### Docker search 'automated' and 'stars' options
2016-07-08 19:04:03 -04:00
**Deprecated in Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-05-20 07:41:28 -04:00
2016-06-02 22:54:35 -04:00
**Target For Removal In Release: v1.14**
2016-05-20 07:41:28 -04:00
The `docker search --automated` and `docker search --stars` options are deprecated.
Use `docker search --filter=is-automated=...` and `docker search --filter=stars=...` instead.
2016-01-23 23:36:40 -05:00
### Driver Specific Log Tags
2016-06-02 22:54:35 -04:00
**Deprecated In Release: [v1.9.0 ](https://github.com/docker/docker/releases/tag/v1.9.0 )**
2016-01-23 23:36:40 -05:00
2016-07-08 19:04:03 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-01-23 23:36:40 -05:00
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.
docker --log-driver=syslog --log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}"
### LXC built-in exec driver
2016-06-02 22:54:35 -04:00
**Deprecated In Release: [v1.8.0 ](https://github.com/docker/docker/releases/tag/v1.8.0 )**
2016-01-23 23:36:40 -05:00
2016-06-02 22:54:35 -04:00
**Removed In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
2016-01-23 23:36:40 -05:00
2016-05-14 19:55:01 -04:00
The built-in LXC execution driver, the lxc-conf flag, and API fields have been removed.
2016-01-23 23:36:40 -05:00
### Old Command Line Options
**Deprecated In Release: [v1.8.0 ](https://github.com/docker/docker/releases/tag/v1.8.0 )**
2016-05-11 09:48:07 -04:00
**Removed In Release: [v1.10.0 ](https://github.com/docker/docker/releases/tag/v1.10.0 )**
2016-01-23 23:36:40 -05:00
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
2016-05-25 10:44:58 -04:00
**Deprecated In Release: [v1.5.0 ](https://github.com/docker/docker/releases/tag/v1.5.0 )**
2016-07-08 19:04:03 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-05-25 10:44:58 -04:00
The single-dash (`-help`) was removed, in favor of the double-dash `--help`
docker -help
docker [COMMAND] -help
2016-01-23 23:36:40 -05:00
### Interacting with V1 registries
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 disabled by default, this signals the intent to deprecate the v1 protocol.
### Docker Content Trust ENV passphrase variables name change
2016-06-02 22:54:35 -04:00
**Deprecated In Release: [v1.9.0 ](https://github.com/docker/docker/releases/tag/v1.9.0 )**
2016-01-23 23:36:40 -05:00
2016-07-08 19:04:03 -04:00
**Removed In Release: [v1.12.0 ](https://github.com/docker/docker/releases/ )**
2016-01-23 23:36:40 -05:00
2016-05-07 12:26:34 -04:00
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
2016-01-23 23:36:40 -05:00
2016-05-09 13:29:42 -04:00
- 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