github.com/miqui/docker@v1.9.1/docs/misc/deprecated.md (about)

     1  <!--[metadata]>
     2  +++
     3  title = "Docker Deprecated Features"
     4  description = "Deprecated Features."
     5  keywords = ["docker, documentation, about, technology, deprecate"]
     6  [menu.main]
     7  parent = "mn_use_docker"
     8  +++
     9  <![end-metadata]-->
    10  
    11  # Deprecated Features
    12  
    13  The following list of features are deprecated.
    14  
    15  ### Command line short variant options
    16  **Deprecated In Release: v1.9**
    17  
    18  **Target For Removal In Release: v1.11**
    19  
    20  The following short variant options are deprecated in favor of their long
    21  variants:
    22  
    23      docker run -c (--cpu-shares)
    24      docker build -c (--cpu-shares)
    25      docker create -c (--cpu-shares)
    26  
    27  ### Driver Specific Log Tags
    28  **Deprecated In Release: v1.9**
    29  
    30  **Target For Removal In Release: v1.11**
    31  
    32  Log tags are now generated in a standard way across different logging drivers.
    33  Because of which, the driver specific log tag options `syslog-tag`, `gelf-tag` and
    34  `fluentd-tag` have been deprecated in favor of the generic `tag` option.
    35  
    36      docker --log-driver=syslog --log-opt tag="{{.ImageName}}/{{.Name}}/{{.ID}}"
    37  
    38  ### LXC built-in exec driver
    39  **Deprecated In Release: v1.8**
    40  
    41  **Target For Removal In Release: v1.10**
    42  
    43  The built-in LXC execution driver is deprecated for an external implementation.
    44  The lxc-conf flag and API fields will also be removed.
    45  
    46  ### Old Command Line Options
    47  **Deprecated In Release: [v1.8.0](https://github.com/docker/docker/releases/tag/v1.8.0)**
    48  
    49  **Target For Removal In Release: v1.10**
    50  
    51  The flags `-d` and `--daemon` are deprecated in favor of the `daemon` subcommand:
    52  
    53      docker daemon -H ...
    54  
    55  The following single-dash (`-opt`) variant of certain command line options
    56  are deprecated and replaced with double-dash options (`--opt`):
    57  
    58      docker attach -nostdin
    59      docker attach -sig-proxy
    60      docker build -no-cache
    61      docker build -rm
    62      docker commit -author
    63      docker commit -run
    64      docker events -since
    65      docker history -notrunc
    66      docker images -notrunc
    67      docker inspect -format
    68      docker ps -beforeId
    69      docker ps -notrunc
    70      docker ps -sinceId
    71      docker rm -link
    72      docker run -cidfile
    73      docker run -cpuset
    74      docker run -dns
    75      docker run -entrypoint
    76      docker run -expose
    77      docker run -link
    78      docker run -lxc-conf
    79      docker run -n
    80      docker run -privileged
    81      docker run -volumes-from
    82      docker search -notrunc
    83      docker search -stars
    84      docker search -t
    85      docker search -trusted
    86      docker tag -force
    87  
    88  The following double-dash options are deprecated and have no replacement:
    89  
    90      docker run --networking
    91      docker ps --since-id
    92      docker ps --before-id
    93      docker search --trusted
    94  
    95  ### Auto-creating missing host paths for bind mounts
    96  **Deprected in Release: v1.9**
    97  
    98  **Target for Removal in Release: 1.11**
    99  
   100  When creating a container with a bind-mounted volume-- `docker run -v /host/path:/container/path` --
   101  docker was automatically creating the `/host/path` if it didn't already exist.
   102  
   103  This auto-creation of the host path is deprecated and docker will error out if
   104  the path does not exist.
   105  
   106  ### Interacting with V1 registries
   107  
   108  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.
   109  
   110  ### Docker Content Trust ENV passphrase variables name change
   111  **Deprecated In Release: v1.9**
   112  
   113  **Target For Removal In Release: v1.10**
   114  
   115  As of 1.9, Docker Content Trust Offline key will be renamed to Root key and the Tagging key will be renamed to Repository key. Due to this renaming, we're also changing the corresponding environment variables
   116  
   117  - DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE will now be named DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE
   118  - DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE will now be named DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE