github.com/chenchun/docker@v1.3.2-0.20150629222414-20467faf132b/docs/misc/release-notes.md (about) 1 <!--[metadata]> 2 +++ 3 draft=true 4 title = "Docker Engine" 5 description = "Release notes for Docker 1.x." 6 keywords = ["docker, documentation, about, technology, understanding, release"] 7 [menu.main] 8 parent = "smn_release_notes" 9 +++ 10 <![end-metadata]--> 11 12 # Release notes version 1.6.0 13 (2015-04-16) 14 15 You can view release notes for earlier version of Docker by selecting the 16 desired version from the drop-down list at the top right of this page. For the 17 formal release announcement, see [the Docker 18 blog](https://blog.docker.com/2015/04/docker-release-1-6/). 19 20 21 22 ## Docker Engine 1.6.0 features 23 24 For a complete list of engine patches, fixes, and other improvements, see the 25 [merge PR on GitHub](https://github.com/docker/docker/pull/11635). You'll also 26 find [a changelog in the project 27 repository](https://github.com/docker/docker/blob/master/CHANGELOG.md). 28 29 ## Docker Engine 1.6.0 features 30 31 For a complete list of engine patches, fixes, and other improvements, see the 32 [merge PR on GitHub](https://github.com/docker/docker/pull/11635). You'll also 33 find [a changelog in the project 34 repository](https://github.com/docker/docker/blob/master/CHANGELOG.md). 35 36 37 | Feature | Description | 38 |------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| 39 | Container and Image Labels | Labels allow you to attach user-defined metadata to containers and images that can be used by your tools. For additional information on using labels, see [Apply custom metadata](https://docs.docker.com/userguide/labels-custom-metadata/#add-labels-to-images-the-label-instruction) in the documentation. | 40 | Windows Client preview | The Windows Client can be used just like the Mac OS X client is today with a remote host. Our testing infrastructure was scaled out to accommodate Windows Client testing on every PR to the Engine. See the Azure blog for [details on using this new client](http://azure.microsoft.com/blog/2015/04/16/docker-client-for-windows-is-now-available). | 41 | Logging drivers | The new logging driver follows the exec driver and storage driver concepts already available in Engine today. There is a new option `--log-driver` to `docker run` command. See the `run` reference for a [description on how to use this option](https://docs.docker.com/reference/run/#logging-drivers-log-driver). | 42 | Image digests | When you pull, build, or run images, you specify them in the form `namespace/repository:tag`, or even just `repository`. In this release, you are now able to pull, run, build and refer to images by a new content addressable identifier called a “digest” with the syntax `namespace/repo@digest`. See the the command line reference for [examples of using the digest](https://docs.docker.com/reference/commandline/cli/#listing-image-digests). | 43 | Custom cgroups | Containers are made from a combination of namespaces, capabilities, and cgroups. Docker already supports custom namespaces and capabilities. Additionally, in this release we’ve added support for custom cgroups. Using the `--cgroup-parent` flag, you can pass a specific `cgroup` to run a container in. See [the command line reference for more information](https://docs.docker.com/reference/commandline/cli/#create). | 44 | Ulimits | You can now specify the default `ulimit` settings for all containers when configuring the daemon. For example:`docker -d --default-ulimit nproc=1024:2048` See [Default Ulimits](https://docs.docker.com/reference/commandline/cli/#default-ulimits) in this documentation. | 45 | Commit and import Dockerfile | You can now make changes to images on the fly without having to re-build the entire image. The feature `commit --change` and `import --change` allows you to apply standard changes to a new image. These are expressed in the Dockerfile syntax and used to modify the image. For details on how to use these, see the [commit](https://docs.docker.com/reference/commandline/cli/#commit) and [import](https://docs.docker.com/reference/commandline/cli/#import). | 46 47 ### Known issues in Engine 48 49 This section lists significant known issues present in Docker as of release date. 50 For an exhaustive list of issues, see [the issues list on the project 51 repository](https://github.com/docker/docker/issues/). 52 53 * *Unexpected File Permissions in Containers* 54 An idiosyncrasy in AUFS prevented permissions from propagating predictably 55 between upper and lower layers. This caused issues with accessing private 56 keys, database instances, etc. This issue was closed in this release: 57 [GitHub Issue 783](https://github.com/docker/docker/issues/783). 58 59 60 * *Docker Hub incompatible with Safari 8* 61 Docker Hub had multiple issues displaying on Safari 8, the default browser for 62 OS X 10.10 (Yosemite). Most notably, changes in the way Safari handled cookies 63 means that the user was repeatedly logged out. 64 Recently, Safari fixed the bug that was causing all the issues. If you upgrade 65 to Safari 8.0.5 which was just released last week and see if that fixes your 66 issues. You might have to flush your cookies if it doesn't work right away. 67 For more information, see the [Docker forum 68 post](https://forums.docker.com/t/new-safari-in-yosemite-issue/300). 69 70 ## Docker Registry 2.0 features 71 72 This release includes Registry 2.0. The Docker Registry is a central server for 73 pushing and pulling images. In this release, it was completely rewritten in Go 74 around a new set of distribution APIs 75 76 - **Webhook notifications**: You can now configure the Registry to send Webhooks 77 when images are pushed. Spin off a CI build, send a notification to IRC – 78 whatever you want! Included in the documentation is a detailed [notification 79 specification](https://docs.docker.com/registry/notifications/). 80 81 - **Native TLS support**: This release makes it easier to secure a registry with 82 TLS. This documentation includes [expanded examples of secure 83 deployments](https://docs.docker.com/registry/deploying/). 84 85 - **New Distribution APIs**: This release includes an expanded set of new 86 distribution APIs. You can read the [detailed specification 87 here](https://docs.docker.com/registry/spec/api/). 88 89 90 ## Docker Compose 1.2 91 92 For a complete list of compose patches, fixes, and other improvements, see the 93 [changelog in the project 94 repository](https://github.com/docker/compose/blob/master/CHANGES.md). The 95 project also makes a [set of release 96 notes](https://github.com/docker/compose/releases/tag/1.2.0) on the project. 97 98 - **extends**: You can use `extends` to share configuration between services 99 with the keyword “extends”. With extends, you can refer to a service defined 100 elsewhere and include its configuration in a locally-defined service, while also 101 adding or overriding configuration as necessary. The documentation describes 102 [how to use extends in your 103 configuration](https://docs.docker.com/compose/extends/#extending-services-in- 104 compose). 105 106 - **Relative directory handling may cause breaking change**: Compose now treats 107 directories passed to build, filenames passed to `env_file` and volume host 108 paths passed to volumes as relative to the configuration file's directory. 109 Previously, they were treated as relative to the directory where you were 110 running `docker-compose`. In the majority of cases, the location of the 111 configuration file and where you ran `docker-compose` were the same directory. 112 Now, you can use the `-f|--file` argument to specify a configuration file in 113 another directory. 114 115 116 ## Docker Swarm 0.2 117 118 You'll find the [release for download on 119 GitHub](https://github.com/docker/swarm/releases/tag/v0.2.0) and [the 120 documentation here](https://docs.docker.com/swarm/). This release includes the 121 following features: 122 123 - **Spread strategy**: A new strategy for scheduling containers on your cluster 124 which evenly spreads them over available nodes. 125 - **More Docker commands supported**: More progress has been made towards 126 supporting the complete Docker API, such as pulling and inspecting images. 127 - **Clustering drivers**: There are not any third-party drivers yet, but the 128 first steps have been made towards making a pluggable driver interface that will 129 make it possible to use Swarm with clustering systems such as Mesos. 130 131 132 ## Docker Machine 0.2 Pre-release 133 134 You'll find the [release for download on 135 GitHub](https://github.com/docker/machine/releases) and [the documentation 136 here](https://docs.docker.com/machine/). For a complete list of machine changes 137 see [the changelog in the project 138 repository](https://github.com/docker/machine/blob/master/CHANGES.md#020-2015-03 139 -22). 140 141 - **Cleaner driver interface**: It is now much easier to write drivers for providers. 142 - **More reliable and consistent provisioning**: Provisioning servers is now 143 handled centrally by Machine instead of letting each driver individually do it. 144 - **Regenerate TLS certificates**: A new command has been added to regenerate a 145 host’s TLS certificates for good security practice and for if a host’s IP 146 address changes. 147 148 ## Docker Hub Enterprise & Commercially Supported Docker Engine 149 150 See the [DHE and CS Docker Engine release notes](docker-hub-enterprise/release-notes.md).