Signed-off-by: Mary Anthony <mary@docker.com>
| ... | ... |
@@ -2,74 +2,132 @@ page_title: Docker 1.x Series Release Notes |
| 2 | 2 |
page_description: Release Notes for Docker 1.x. |
| 3 | 3 |
page_keywords: docker, documentation, about, technology, understanding, release |
| 4 | 4 |
|
| 5 |
-# Release Notes |
|
| 5 |
+# Release Notes Version 1.6.0 |
|
| 6 |
+(2015-04-16) |
|
| 6 | 7 |
|
| 7 | 8 |
You can view release notes for earlier version of Docker by selecting the |
| 8 |
-desired version from the drop-down list at the top right of this page. |
|
| 9 |
- |
|
| 10 |
-## Version 1.5.0 |
|
| 11 |
-(2015-02-03) |
|
| 12 |
- |
|
| 13 |
-For a complete list of patches, fixes, and other improvements, see the |
|
| 14 |
-[merge PR on GitHub](https://github.com/docker/docker/pull/10286). |
|
| 15 |
- |
|
| 16 |
-*New Features* |
|
| 17 |
- |
|
| 18 |
-* [1.6] The Docker daemon will no longer ignore unknown commands |
|
| 19 |
- while processing a `Dockerfile`. Instead it will generate an error and halt |
|
| 20 |
- processing. |
|
| 21 |
-* The Docker daemon has now supports for IPv6 networking between containers |
|
| 22 |
- and on the `docker0` bridge. For more information see the |
|
| 23 |
- [IPv6 networking reference](/articles/networking/#ipv6). |
|
| 24 |
-* Docker container filesystems can now be set to`--read-only`, restricting your |
|
| 25 |
- container to writing to volumes [PR# 10093](https://github.com/docker/docker/pull/10093). |
|
| 26 |
-* A new `docker stats CONTAINERID` command has been added to allow users to view a |
|
| 27 |
- continuously updating stream of container resource usage statistics. See the |
|
| 28 |
- [`stats` command line reference](/reference/commandline/cli/#stats) and the |
|
| 29 |
- [container `stats` API reference](/reference/api/docker_remote_api_v1.17/#get-container-stats-based-on-resource-usage). |
|
| 30 |
- **Note**: this feature is only enabled for the `libcontainer` exec-driver at this point. |
|
| 31 |
-* Users can now specify the file to use as the `Dockerfile` by running |
|
| 32 |
- `docker build -f alternate.dockerfile .`. This will allow the definition of multiple |
|
| 33 |
- `Dockerfile`s for a single project. See the [`docker build` command reference]( |
|
| 34 |
-/reference/commandline/cli/#build) for more information. |
|
| 35 |
-* The v1 Open Image specification has been created to document the current Docker image |
|
| 36 |
- format and metadata. Please see [the Open Image specification document]( |
|
| 37 |
-https://github.com/docker/docker/blob/master/image/spec/v1.md) for more details. |
|
| 38 |
-* This release also includes a number of significant performance improvements in |
|
| 39 |
- build and image management ([PR #9720](https://github.com/docker/docker/pull/9720), |
|
| 40 |
- [PR #8827](https://github.com/docker/docker/pull/8827)) |
|
| 41 |
-* The `docker inspect` command now lists ExecIDs generated for each `docker exec` process. |
|
| 42 |
- See [PR #9800](https://github.com/docker/docker/pull/9800)) for more details. |
|
| 43 |
-* The `docker inspect` command now shows the number of container restarts when there |
|
| 44 |
- is a restart policy ([PR #9621](https://github.com/docker/docker/pull/9621)) |
|
| 45 |
-* This version of Docker is built using Go 1.4 |
|
| 46 |
- |
|
| 47 |
-> **Note:** |
|
| 48 |
-> Development history prior to version 1.0 can be found by |
|
| 49 |
-> searching in the [Docker GitHub repo](https://github.com/docker/docker). |
|
| 50 |
- |
|
| 51 |
-## Known Issues |
|
| 52 |
- |
|
| 53 |
-This section lists significant known issues present in Docker as of release |
|
| 54 |
-date. It is not exhaustive; it lists only issues with potentially significant |
|
| 55 |
-impact on users. This list will be updated as issues are resolved. |
|
| 56 |
- |
|
| 57 |
-* **Unexpected File Permissions in Containers** |
|
| 58 |
-An idiosyncrasy in AUFS prevents permissions from propagating predictably |
|
| 59 |
-between upper and lower layers. This can cause issues with accessing private |
|
| 60 |
-keys, database instances, etc. |
|
| 61 |
- |
|
| 62 |
-For systems that have recent aufs version (i.e., `dirperm1` mount option can |
|
| 63 |
-be set), docker will attempt to fix the issue automatically by mounting |
|
| 64 |
-the layers with `dirperm1` option. More details on `dirperm1` option can be |
|
| 65 |
-found at [`aufs` man page](http://aufs.sourceforge.net/aufs3/man.html) |
|
| 66 |
- |
|
| 67 |
-For complete information and workarounds see |
|
| 9 |
+desired version from the drop-down list at the top right of this page. For the |
|
| 10 |
+formal release announcement, see [the Docker |
|
| 11 |
+blog](https://blog.docker.com/2015/04/docker-release-1-6/). |
|
| 12 |
+ |
|
| 13 |
+ |
|
| 14 |
+ |
|
| 15 |
+## Docker Engine 1.6.0 Features |
|
| 16 |
+ |
|
| 17 |
+For a complete list of engine patches, fixes, and other improvements, see the |
|
| 18 |
+[merge PR on GitHub](https://github.com/docker/docker/pull/11635). You'll also |
|
| 19 |
+find [a changelog in the project |
|
| 20 |
+repository](https://github.com/docker/docker/blob/master/CHANGELOG.md). |
|
| 21 |
+ |
|
| 22 |
+ |
|
| 23 |
+| Feature | Description | |
|
| 24 |
+|------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| |
|
| 25 |
+| 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](http://docs.docker.com/userguide/labels-custom-metadata/#add-labels-to-images-the-label-instruction) in the documentation. | |
|
| 26 |
+| 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). | |
|
| 27 |
+| 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](http://docs.docker.com/reference/run/#logging-drivers-log-driver). | |
|
| 28 |
+| 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](http://docs.docker.com/reference/commandline/cli/#listing-image-digests). | |
|
| 29 |
+| 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](http://docs.docker.com/reference/commandline/cli/#create). | |
|
| 30 |
+| 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](http://docs.docker.com/reference/commandline/cli/#default-ulimits) in this documentation. | |
|
| 31 |
+| 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](http://docs.docker.com/reference/commandline/cli/#commit) and [import](http://docs.docker.com/reference/commandline/cli/#import). | |
|
| 32 |
+ |
|
| 33 |
+### Known Issues in Engine |
|
| 34 |
+ |
|
| 35 |
+This section lists significant known issues present in Docker as of release date. |
|
| 36 |
+For an exhaustive list of issues, see [the issues list on the project |
|
| 37 |
+repository](https://github.com/docker/docker/issues/). |
|
| 38 |
+ |
|
| 39 |
+* *Unexpected File Permissions in Containers* |
|
| 40 |
+An idiosyncrasy in AUFS prevented permissions from propagating predictably |
|
| 41 |
+between upper and lower layers. This caused issues with accessing private |
|
| 42 |
+keys, database instances, etc. This issue was closed in this release: |
|
| 68 | 43 |
[Github Issue 783](https://github.com/docker/docker/issues/783). |
| 69 | 44 |
|
| 70 |
-* **Docker Hub incompatible with Safari 8** |
|
| 71 |
-Docker Hub has multiple issues displaying on Safari 8, the default browser |
|
| 72 |
-for OS X 10.10 (Yosemite). Users should access the hub using a different |
|
| 73 |
-browser. Most notably, changes in the way Safari handles cookies means that the |
|
| 74 |
-user is repeatedly logged out. For more information, see the [Docker |
|
| 75 |
-forum post](https://forums.docker.com/t/new-safari-in-yosemite-issue/300). |
|
| 45 |
+ |
|
| 46 |
+* *Docker Hub incompatible with Safari 8* |
|
| 47 |
+Docker Hub had multiple issues displaying on Safari 8, the default browser for |
|
| 48 |
+OS X 10.10 (Yosemite). Most notably, changes in the way Safari handled cookies |
|
| 49 |
+means that the user was repeatedly logged out. |
|
| 50 |
+Recently, Safari fixed the bug that was causing all the issues. If you upgrade |
|
| 51 |
+to Safari 8.0.5 which was just released last week and see if that fixes your |
|
| 52 |
+issues. You might have to flush your cookies if it doesn't work right away. |
|
| 53 |
+For more information, see the [Docker forum |
|
| 54 |
+post](https://forums.docker.com/t/new-safari-in-yosemite-issue/300). |
|
| 55 |
+ |
|
| 56 |
+## Docker Registry 2.0 Features |
|
| 57 |
+ |
|
| 58 |
+This release includes Registry 2.0. The Docker Registry is a central server for |
|
| 59 |
+pushing and pulling images. In this release, it was completely rewritten in Go |
|
| 60 |
+around a new set of distribution APIs |
|
| 61 |
+ |
|
| 62 |
+- **Webhook notifications**: You can now configure the Registry to send Webhooks |
|
| 63 |
+when images are pushed. Spin off a CI build, send a notification to IRC – |
|
| 64 |
+whatever you want! Included in the documentation is a detailed [notification |
|
| 65 |
+specification](http://docs.docker.com/registry/notifications/). |
|
| 66 |
+ |
|
| 67 |
+- **Native TLS support**: This release makes it easier to secure a registry with |
|
| 68 |
+TLS. This documentation includes [expanded examples of secure |
|
| 69 |
+deployments](http://docs.docker.com/registry/deploying/). |
|
| 70 |
+ |
|
| 71 |
+- **New Distribution APIs**: This release includes an expanded set of new |
|
| 72 |
+distribution APIs. You can read the [detailed specification |
|
| 73 |
+here](http://docs.docker.com/registry/spec/api/). |
|
| 74 |
+ |
|
| 75 |
+ |
|
| 76 |
+## Docker Compose 1.2 |
|
| 77 |
+ |
|
| 78 |
+For a complete list of compose patches, fixes, and other improvements, see the |
|
| 79 |
+[changelog in the project |
|
| 80 |
+repository](https://github.com/docker/compose/blob/master/CHANGES.md). The |
|
| 81 |
+project also makes a [set of release |
|
| 82 |
+notes](https://github.com/docker/compose/releases/tag/1.2.0) on the project. |
|
| 83 |
+ |
|
| 84 |
+- **extends**: You can use `extends` to share configuration between services |
|
| 85 |
+with the keyword “extends”. With extends, you can refer to a service defined |
|
| 86 |
+elsewhere and include its configuration in a locally-defined service, while also |
|
| 87 |
+adding or overriding configuration as necessary. The documentation describes |
|
| 88 |
+[how to use extends in your |
|
| 89 |
+configuration](http://docs.docker.com/compose/extends/#extending-services-in- |
|
| 90 |
+compose). |
|
| 91 |
+ |
|
| 92 |
+- **Relative directory handling may cause breaking change**: Compose now treats |
|
| 93 |
+directories passed to build, filenames passed to `env_file` and volume host |
|
| 94 |
+paths passed to volumes as relative to the configuration file's directory. |
|
| 95 |
+Previously, they were treated as relative to the directory where you were |
|
| 96 |
+running `docker-compose`. In the majority of cases, the location of the |
|
| 97 |
+configuration file and where you ran `docker-compose` were the same directory. |
|
| 98 |
+Now, you can use the `-f|--file` argument to specify a configuration file in |
|
| 99 |
+another directory. |
|
| 100 |
+ |
|
| 101 |
+ |
|
| 102 |
+## Docker Swarm 0.2 |
|
| 103 |
+ |
|
| 104 |
+You'll find the [release for download on |
|
| 105 |
+GitHub](https://github.com/docker/swarm/releases/tag/v0.2.0) and [the |
|
| 106 |
+documentation here](http://docs.docker.com/swarm/). This release includes the |
|
| 107 |
+following features: |
|
| 108 |
+ |
|
| 109 |
+- **Spread strategy**: A new strategy for scheduling containers on your cluster |
|
| 110 |
+which evenly spreads them over available nodes. |
|
| 111 |
+- **More Docker commands supported**: More progress has been made towards |
|
| 112 |
+supporting the complete Docker API, such as pulling and inspecting images. |
|
| 113 |
+- **Clustering drivers**: There are not any third-party drivers yet, but the |
|
| 114 |
+first steps have been made towards making a pluggable driver interface that will |
|
| 115 |
+make it possible to use Swarm with clustering systems such as Mesos. |
|
| 116 |
+ |
|
| 117 |
+ |
|
| 118 |
+## Docker Machine 0.2 Pre-release |
|
| 119 |
+ |
|
| 120 |
+You'll find the [release for download on |
|
| 121 |
+GitHub](https://github.com/docker/machine/releases) and [the documentation |
|
| 122 |
+here](http://docs.docker.com/machine/). For a complete list of machine changes |
|
| 123 |
+see [the changelog in the project |
|
| 124 |
+repository](https://github.com/docker/machine/blob/master/CHANGES.md#020-2015-03 |
|
| 125 |
+-22). |
|
| 126 |
+ |
|
| 127 |
+- **Cleaner driver interface**: It is now much easier to write drivers for providers. |
|
| 128 |
+- **More reliable and consistent provisioning**: Provisioning servers is now |
|
| 129 |
+handled centrally by Machine instead of letting each driver individually do it. |
|
| 130 |
+- **Regenerate TLS certificates**: A new command has been added to regenerate a |
|
| 131 |
+host’s TLS certificates for good security practice and for if a host’s IP |
|
| 132 |
+address changes. |
|
| 133 |
+ |