github.com/kunnos/engine@v1.13.1/CHANGELOG.md (about) 1 # Changelog 2 3 Items starting with `DEPRECATE` are important deprecation notices. For more 4 information on the list of deprecated flags and APIs please have a look at 5 https://docs.docker.com/engine/deprecated/ where target removal dates can also 6 be found. 7 8 ## 1.13.1 (2017-02-08) 9 10 **IMPORTANT**: On Linux distributions where `devicemapper` was the default storage driver, 11 the `overlay2`, or `overlay` is now used by default (if the kernel supports it). 12 To use devicemapper, you can manually configure the storage driver to use through 13 the `--storage-driver` daemon option, or by setting "storage-driver" in the `daemon.json` 14 configuration file. 15 16 **IMPORTANT**: In Docker 1.13, the managed plugin api changed, as compared to the experimental 17 version introduced in Docker 1.12. You must **uninstall** plugins which you installed with Docker 1.12 18 _before_ upgrading to Docker 1.13. You can uninstall plugins using the `docker plugin rm` command. 19 20 If you have already upgraded to Docker 1.13 without uninstalling 21 previously-installed plugins, you may see this message when the Docker daemon 22 starts: 23 24 Error starting daemon: json: cannot unmarshal string into Go value of type types.PluginEnv 25 26 To manually remove all plugins and resolve this problem, take the following steps: 27 28 1. Remove plugins.json from: `/var/lib/docker/plugins/`. 29 2. Restart Docker. Verify that the Docker daemon starts with no errors. 30 3. Reinstall your plugins. 31 32 ### Contrib 33 34 * Do not require a custom build of tini [#28454](https://github.com/docker/docker/pull/28454) 35 * Upgrade to Go 1.7.5 [#30489](https://github.com/docker/docker/pull/30489) 36 37 ### Remote API (v1.26) & Client 38 39 + Support secrets in docker stack deploy with compose file [#30144](https://github.com/docker/docker/pull/30144) 40 41 ### Runtime 42 43 * Fix size issue in `docker system df` [#30378](https://github.com/docker/docker/pull/30378) 44 * Fix error on `docker inspect` when Swarm certificates were expired. [#29246](https://github.com/docker/docker/pull/29246) 45 * Fix deadlock on v1 plugin with activate error [#30408](https://github.com/docker/docker/pull/30408) 46 * Fix SELinux regression [#30649](https://github.com/docker/docker/pull/30649) 47 48 ### Plugins 49 50 * Support global scoped network plugins (v2) in swarm mode [#30332](https://github.com/docker/docker/pull/30332) 51 + Add `docker plugin upgrade` [#29414](https://github.com/docker/docker/pull/29414) 52 53 ### Windows 54 55 * Fix small regression with old plugins in Windows [#30150](https://github.com/docker/docker/pull/30150) 56 * Fix warning on Windows [#30730](https://github.com/docker/docker/pull/30730) 57 58 ## 1.13.0 (2017-01-18) 59 60 **IMPORTANT**: On Linux distributions where `devicemapper` was the default storage driver, 61 the `overlay2`, or `overlay` is now used by default (if the kernel supports it). 62 To use devicemapper, you can manually configure the storage driver to use through 63 the `--storage-driver` daemon option, or by setting "storage-driver" in the `daemon.json` 64 configuration file. 65 66 **IMPORTANT**: In Docker 1.13, the managed plugin api changed, as compared to the experimental 67 version introduced in Docker 1.12. You must **uninstall** plugins which you installed with Docker 1.12 68 _before_ upgrading to Docker 1.13. You can uninstall plugins using the `docker plugin rm` command. 69 70 If you have already upgraded to Docker 1.13 without uninstalling 71 previously-installed plugins, you may see this message when the Docker daemon 72 starts: 73 74 Error starting daemon: json: cannot unmarshal string into Go value of type types.PluginEnv 75 76 To manually remove all plugins and resolve this problem, take the following steps: 77 78 1. Remove plugins.json from: `/var/lib/docker/plugins/`. 79 2. Restart Docker. Verify that the Docker daemon starts with no errors. 80 3. Reinstall your plugins. 81 82 ### Builder 83 84 + Add capability to specify images used as a cache source on build. These images do not need to have local parent chain and can be pulled from other registries [#26839](https://github.com/docker/docker/pull/26839) 85 + (experimental) Add option to squash image layers to the FROM image after successful builds [#22641](https://github.com/docker/docker/pull/22641) 86 * Fix dockerfile parser with empty line after escape [#24725](https://github.com/docker/docker/pull/24725) 87 - Add step number on `docker build` [#24978](https://github.com/docker/docker/pull/24978) 88 + Add support for compressing build context during image build [#25837](https://github.com/docker/docker/pull/25837) 89 + add `--network` to `docker build` [#27702](https://github.com/docker/docker/pull/27702) 90 - Fix inconsistent behavior between `--label` flag on `docker build` and `docker run` [#26027](https://github.com/docker/docker/issues/26027) 91 - Fix image layer inconsistencies when using the overlay storage driver [#27209](https://github.com/docker/docker/pull/27209) 92 * Unused build-args are now allowed. A warning is presented instead of an error and failed build [#27412](https://github.com/docker/docker/pull/27412) 93 - Fix builder cache issue on Windows [#27805](https://github.com/docker/docker/pull/27805) 94 + Allow `USER` in builder on Windows [#28415](https://github.com/docker/docker/pull/28415) 95 + Handle env case-insensitive on Windows [#28725](https://github.com/docker/docker/pull/28725) 96 97 ### Contrib 98 99 + Add support for building docker debs for Ubuntu 16.04 Xenial on PPC64LE [#23438](https://github.com/docker/docker/pull/23438) 100 + Add support for building docker debs for Ubuntu 16.04 Xenial on s390x [#26104](https://github.com/docker/docker/pull/26104) 101 + Add support for building docker debs for Ubuntu 16.10 Yakkety Yak on PPC64LE [#28046](https://github.com/docker/docker/pull/28046) 102 - Add RPM builder for VMWare Photon OS [#24116](https://github.com/docker/docker/pull/24116) 103 + Add shell completions to tgz [#27735](https://github.com/docker/docker/pull/27735) 104 * Update the install script to allow using the mirror in China [#27005](https://github.com/docker/docker/pull/27005) 105 + Add DEB builder for Ubuntu 16.10 Yakkety Yak [#27993](https://github.com/docker/docker/pull/27993) 106 + Add RPM builder for Fedora 25 [#28222](https://github.com/docker/docker/pull/28222) 107 + Add `make deb` support for aarch64 [#27625](https://github.com/docker/docker/pull/27625) 108 109 ### Distribution 110 111 * Update notary dependency to 0.4.2 (full changelogs [here](https://github.com/docker/notary/releases/tag/v0.4.2)) [#27074](https://github.com/docker/docker/pull/27074) 112 - Support for compilation on windows [docker/notary#970](https://github.com/docker/notary/pull/970) 113 - Improved error messages for client authentication errors [docker/notary#972](https://github.com/docker/notary/pull/972) 114 - Support for finding keys that are anywhere in the `~/.docker/trust/private` directory, not just under `~/.docker/trust/private/root_keys` or `~/.docker/trust/private/tuf_keys` [docker/notary#981](https://github.com/docker/notary/pull/981) 115 - Previously, on any error updating, the client would fall back on the cache. Now we only do so if there is a network error or if the server is unavailable or missing the TUF data. Invalid TUF data will cause the update to fail - for example if there was an invalid root rotation. [docker/notary#982](https://github.com/docker/notary/pull/982) 116 - Improve root validation and yubikey debug logging [docker/notary#858](https://github.com/docker/notary/pull/858) [docker/notary#891](https://github.com/docker/notary/pull/891) 117 - Warn if certificates for root or delegations are near expiry [docker/notary#802](https://github.com/docker/notary/pull/802) 118 - Warn if role metadata is near expiry [docker/notary#786](https://github.com/docker/notary/pull/786) 119 - Fix passphrase retrieval attempt counting and terminal detection [docker/notary#906](https://github.com/docker/notary/pull/906) 120 - Avoid unnecessary blob uploads when different users push same layers to authenticated registry [#26564](https://github.com/docker/docker/pull/26564) 121 * Allow external storage for registry credentials [#26354](https://github.com/docker/docker/pull/26354) 122 123 ### Logging 124 125 * Standardize the default logging tag value in all logging drivers [#22911](https://github.com/docker/docker/pull/22911) 126 - Improve performance and memory use when logging of long log lines [#22982](https://github.com/docker/docker/pull/22982) 127 + Enable syslog driver for windows [#25736](https://github.com/docker/docker/pull/25736) 128 + Add Logentries Driver [#27471](https://github.com/docker/docker/pull/27471) 129 + Update of AWS log driver to support tags [#27707](https://github.com/docker/docker/pull/27707) 130 + Unix socket support for fluentd [#26088](https://github.com/docker/docker/pull/26088) 131 * Enable fluentd logging driver on Windows [#28189](https://github.com/docker/docker/pull/28189) 132 - Sanitize docker labels when used as journald field names [#23725](https://github.com/docker/docker/pull/23725) 133 - Fix an issue where `docker logs --tail` returned less lines than expected [#28203](https://github.com/docker/docker/pull/28203) 134 - Splunk Logging Driver: performance and reliability improvements [#26207](https://github.com/docker/docker/pull/26207) 135 - Splunk Logging Driver: configurable formats and skip for verifying connection [#25786](https://github.com/docker/docker/pull/25786) 136 137 ### Networking 138 139 + Add `--attachable` network support to enable `docker run` to work in swarm-mode overlay network [#25962](https://github.com/docker/docker/pull/25962) 140 + Add support for host port PublishMode in services using the `--publish` option in `docker service create` [#27917](https://github.com/docker/docker/pull/27917) and [#28943](https://github.com/docker/docker/pull/28943) 141 + Add support for Windows server 2016 overlay network driver (requires upcoming ws2016 update) [#28182](https://github.com/docker/docker/pull/28182) 142 * Change the default `FORWARD` policy to `DROP` [#28257](https://github.com/docker/docker/pull/28257) 143 + Add support for specifying static IP addresses for predefined network on windows [#22208](https://github.com/docker/docker/pull/22208) 144 - Fix `--publish` flag on `docker run` not working with IPv6 addresses [#27860](https://github.com/docker/docker/pull/27860) 145 - Fix inspect network show gateway with mask [#25564](https://github.com/docker/docker/pull/25564) 146 - Fix an issue where multiple addresses in a bridge may cause `--fixed-cidr` to not have the correct addresses [#26659](https://github.com/docker/docker/pull/26659) 147 + Add creation timestamp to `docker network inspect` [#26130](https://github.com/docker/docker/pull/26130) 148 - Show peer nodes in `docker network inspect` for swarm overlay networks [#28078](https://github.com/docker/docker/pull/28078) 149 - Enable ping for service VIP address [#28019](https://github.com/docker/docker/pull/28019) 150 151 ### Plugins 152 153 - Move plugins out of experimental [#28226](https://github.com/docker/docker/pull/28226) 154 - Add `--force` on `docker plugin remove` [#25096](https://github.com/docker/docker/pull/25096) 155 * Add support for dynamically reloading authorization plugins [#22770](https://github.com/docker/docker/pull/22770) 156 + Add description in `docker plugin ls` [#25556](https://github.com/docker/docker/pull/25556) 157 + Add `-f`/`--format` to `docker plugin inspect` [#25990](https://github.com/docker/docker/pull/25990) 158 + Add `docker plugin create` command [#28164](https://github.com/docker/docker/pull/28164) 159 * Send request's TLS peer certificates to authorization plugins [#27383](https://github.com/docker/docker/pull/27383) 160 * Support for global-scoped network and ipam plugins in swarm-mode [#27287](https://github.com/docker/docker/pull/27287) 161 * Split `docker plugin install` into two API call `/privileges` and `/pull` [#28963](https://github.com/docker/docker/pull/28963) 162 163 ### Remote API (v1.25) & Client 164 165 + Support `docker stack deploy` from a Compose file [#27998](https://github.com/docker/docker/pull/27998) 166 + (experimental) Implement checkpoint and restore [#22049](https://github.com/docker/docker/pull/22049) 167 + Add `--format` flag to `docker info` [#23808](https://github.com/docker/docker/pull/23808) 168 * Remove `--name` from `docker volume create` [#23830](https://github.com/docker/docker/pull/23830) 169 + Add `docker stack ls` [#23886](https://github.com/docker/docker/pull/23886) 170 + Add a new `is-task` ps filter [#24411](https://github.com/docker/docker/pull/24411) 171 + Add `--env-file` flag to `docker service create` [#24844](https://github.com/docker/docker/pull/24844) 172 + Add `--format` on `docker stats` [#24987](https://github.com/docker/docker/pull/24987) 173 + Make `docker node ps` default to `self` in swarm node [#25214](https://github.com/docker/docker/pull/25214) 174 + Add `--group` in `docker service create` [#25317](https://github.com/docker/docker/pull/25317) 175 + Add `--no-trunc` to service/node/stack ps output [#25337](https://github.com/docker/docker/pull/25337) 176 + Add Logs to `ContainerAttachOptions` so go clients can request to retrieve container logs as part of the attach process [#26718](https://github.com/docker/docker/pull/26718) 177 + Allow client to talk to an older server [#27745](https://github.com/docker/docker/pull/27745) 178 * Inform user client-side that a container removal is in progress [#26074](https://github.com/docker/docker/pull/26074) 179 + Add `Isolation` to the /info endpoint [#26255](https://github.com/docker/docker/pull/26255) 180 + Add `userns` to the /info endpoint [#27840](https://github.com/docker/docker/pull/27840) 181 - Do not allow more than one mode be requested at once in the services endpoint [#26643](https://github.com/docker/docker/pull/26643) 182 + Add capability to /containers/create API to specify mounts in a more granular and safer way [#22373](https://github.com/docker/docker/pull/22373) 183 + Add `--format` flag to `network ls` and `volume ls` [#23475](https://github.com/docker/docker/pull/23475) 184 * Allow the top-level `docker inspect` command to inspect any kind of resource [#23614](https://github.com/docker/docker/pull/23614) 185 + Add --cpus flag to control cpu resources for `docker run` and `docker create`, and add `NanoCPUs` to `HostConfig` [#27958](https://github.com/docker/docker/pull/27958) 186 - Allow unsetting the `--entrypoint` in `docker run` or `docker create` [#23718](https://github.com/docker/docker/pull/23718) 187 * Restructure CLI commands by adding `docker image` and `docker container` commands for more consistency [#26025](https://github.com/docker/docker/pull/26025) 188 - Remove `COMMAND` column from `service ls` output [#28029](https://github.com/docker/docker/pull/28029) 189 + Add `--format` to `docker events` [#26268](https://github.com/docker/docker/pull/26268) 190 * Allow specifying multiple nodes on `docker node ps` [#26299](https://github.com/docker/docker/pull/26299) 191 * Restrict fractional digits to 2 decimals in `docker images` output [#26303](https://github.com/docker/docker/pull/26303) 192 + Add `--dns-option` to `docker run` [#28186](https://github.com/docker/docker/pull/28186) 193 + Add Image ID to container commit event [#28128](https://github.com/docker/docker/pull/28128) 194 + Add external binaries version to docker info [#27955](https://github.com/docker/docker/pull/27955) 195 + Add information for `Manager Addresses` in the output of `docker info` [#28042](https://github.com/docker/docker/pull/28042) 196 + Add a new reference filter for `docker images` [#27872](https://github.com/docker/docker/pull/27872) 197 198 ### Runtime 199 200 + Add `--experimental` daemon flag to enable experimental features, instead of shipping them in a separate build [#27223](https://github.com/docker/docker/pull/27223) 201 + Add a `--shutdown-timeout` daemon flag to specify the default timeout (in seconds) to stop containers gracefully before daemon exit [#23036](https://github.com/docker/docker/pull/23036) 202 + Add `--stop-timeout` to specify the timeout value (in seconds) for individual containers to stop [#22566](https://github.com/docker/docker/pull/22566) 203 + Add a new daemon flag `--userland-proxy-path` to allow configuring the userland proxy instead of using the hardcoded `docker-proxy` from `$PATH` [#26882](https://github.com/docker/docker/pull/26882) 204 + Add boolean flag `--init` on `dockerd` and on `docker run` to use [tini](https://github.com/krallin/tini) a zombie-reaping init process as PID 1 [#26061](https://github.com/docker/docker/pull/26061) [#28037](https://github.com/docker/docker/pull/28037) 205 + Add a new daemon flag `--init-path` to allow configuring the path to the `docker-init` binary [#26941](https://github.com/docker/docker/pull/26941) 206 + Add support for live reloading insecure registry in configuration [#22337](https://github.com/docker/docker/pull/22337) 207 + Add support for storage-opt size on Windows daemons [#23391](https://github.com/docker/docker/pull/23391) 208 * Improve reliability of `docker run --rm` by moving it from the client to the daemon [#20848](https://github.com/docker/docker/pull/20848) 209 + Add support for `--cpu-rt-period` and `--cpu-rt-runtime` flags, allowing containers to run real-time threads when `CONFIG_RT_GROUP_SCHED` is enabled in the kernel [#23430](https://github.com/docker/docker/pull/23430) 210 * Allow parallel stop, pause, unpause [#24761](https://github.com/docker/docker/pull/24761) / [#26778](https://github.com/docker/docker/pull/26778) 211 * Implement XFS quota for overlay2 [#24771](https://github.com/docker/docker/pull/24771) 212 - Fix partial/full filter issue in `service tasks --filter` [#24850](https://github.com/docker/docker/pull/24850) 213 - Allow engine to run inside a user namespace [#25672](https://github.com/docker/docker/pull/25672) 214 - Fix a race condition between device deferred removal and resume device, when using the devicemapper graphdriver [#23497](https://github.com/docker/docker/pull/23497) 215 - Add `docker stats` support in Windows [#25737](https://github.com/docker/docker/pull/25737) 216 - Allow using `--pid=host` and `--net=host` when `--userns=host` [#25771](https://github.com/docker/docker/pull/25771) 217 + (experimental) Add metrics (Prometheus) output for basic `container`, `image`, and `daemon` operations [#25820](https://github.com/docker/docker/pull/25820) 218 - Fix issue in `docker stats` with `NetworkDisabled=true` [#25905](https://github.com/docker/docker/pull/25905) 219 + Add `docker top` support in Windows [#25891](https://github.com/docker/docker/pull/25891) 220 + Record pid of exec'd process [#27470](https://github.com/docker/docker/pull/27470) 221 + Add support for looking up user/groups via `getent` [#27599](https://github.com/docker/docker/pull/27599) 222 + Add new `docker system` command with `df` and `prune` subcommands for system resource management, as well as `docker {container,image,volume,network} prune` subcommands [#26108](https://github.com/docker/docker/pull/26108) [#27525](https://github.com/docker/docker/pull/27525) / [#27525](https://github.com/docker/docker/pull/27525) 223 - Fix an issue where containers could not be stopped or killed by setting xfs max_retries to 0 upon ENOSPC with devicemapper [#26212](https://github.com/docker/docker/pull/26212) 224 - Fix `docker cp` failing to copy to a container's volume dir on CentOS with devicemapper [#28047](https://github.com/docker/docker/pull/28047) 225 * Promote overlay(2) graphdriver [#27932](https://github.com/docker/docker/pull/27932) 226 + Add `--seccomp-profile` daemon flag to specify a path to a seccomp profile that overrides the default [#26276](https://github.com/docker/docker/pull/26276) 227 - Fix ulimits in `docker inspect` when `--default-ulimit` is set on daemon [#26405](https://github.com/docker/docker/pull/26405) 228 - Add workaround for overlay issues during build in older kernels [#28138](https://github.com/docker/docker/pull/28138) 229 + Add `TERM` environment variable on `docker exec -t` [#26461](https://github.com/docker/docker/pull/26461) 230 * Honor a container’s `--stop-signal` setting upon `docker kill` [#26464](https://github.com/docker/docker/pull/26464) 231 232 ### Swarm Mode 233 234 + Add secret management [#27794](https://github.com/docker/docker/pull/27794) 235 + Add support for templating service options (hostname, mounts, and environment variables) [#28025](https://github.com/docker/docker/pull/28025) 236 * Display the endpoint mode in the output of `docker service inspect --pretty` [#26906](https://github.com/docker/docker/pull/26906) 237 * Make `docker service ps` output more bearable by shortening service IDs in task names [#28088](https://github.com/docker/docker/pull/28088) 238 * Make `docker node ps` default to the current node [#25214](https://github.com/docker/docker/pull/25214) 239 + Add `--dns`, -`-dns-opt`, and `--dns-search` to service create. [#27567](https://github.com/docker/docker/pull/27567) 240 + Add `--force` to `docker service update` [#27596](https://github.com/docker/docker/pull/27596) 241 + Add `--health-*` and `--no-healthcheck` flags to `docker service create` and `docker service update` [#27369](https://github.com/docker/docker/pull/27369) 242 + Add `-q` to `docker service ps` [#27654](https://github.com/docker/docker/pull/27654) 243 * Display number of global services in `docker service ls` [#27710](https://github.com/docker/docker/pull/27710) 244 - Remove `--name` flag from `docker service update`. This flag is only functional on `docker service create`, so was removed from the `update` command [#26988](https://github.com/docker/docker/pull/26988) 245 - Fix worker nodes failing to recover because of transient networking issues [#26646](https://github.com/docker/docker/issues/26646) 246 * Add support for health aware load balancing and DNS records [#27279](https://github.com/docker/docker/pull/27279) 247 + Add `--hostname` to `docker service create` [#27857](https://github.com/docker/docker/pull/27857) 248 + Add `--host` to `docker service create`, and `--host-add`, `--host-rm` to `docker service update` [#28031](https://github.com/docker/docker/pull/28031) 249 + Add `--tty` flag to `docker service create`/`update` [#28076](https://github.com/docker/docker/pull/28076) 250 * Autodetect, store, and expose node IP address as seen by the manager [#27910](https://github.com/docker/docker/pull/27910) 251 * Encryption at rest of manager keys and raft data [#27967](https://github.com/docker/docker/pull/27967) 252 + Add `--update-max-failure-ratio`, `--update-monitor` and `--rollback` flags to `docker service update` [#26421](https://github.com/docker/docker/pull/26421) 253 - Fix an issue with address autodiscovery on `docker swarm init` running inside a container [#26457](https://github.com/docker/docker/pull/26457) 254 + (experimental) Add `docker service logs` command to view logs for a service [#28089](https://github.com/docker/docker/pull/28089) 255 + Pin images by digest for `docker service create` and `update` [#28173](https://github.com/docker/docker/pull/28173) 256 * Add short (`-f`) flag for `docker node rm --force` and `docker swarm leave --force` [#28196](https://github.com/docker/docker/pull/28196) 257 + Add options to customize Raft snapshots (`--max-snapshots`, `--snapshot-interval`) [#27997](https://github.com/docker/docker/pull/27997) 258 - Don't repull image if pinned by digest [#28265](https://github.com/docker/docker/pull/28265) 259 + Swarm-mode support for Windows [#27838](https://github.com/docker/docker/pull/27838) 260 + Allow hostname to be updated on service [#28771](https://github.com/docker/docker/pull/28771) 261 + Support v2 plugins [#29433](https://github.com/docker/docker/pull/29433) 262 + Add content trust for services [#29469](https://github.com/docker/docker/pull/29469) 263 264 ### Volume 265 266 + Add support for labels on volumes [#21270](https://github.com/docker/docker/pull/21270) 267 + Add support for filtering volumes by label [#25628](https://github.com/docker/docker/pull/25628) 268 * Add a `--force` flag in `docker volume rm` to forcefully purge the data of the volume that has already been deleted [#23436](https://github.com/docker/docker/pull/23436) 269 * Enhance `docker volume inspect` to show all options used when creating the volume [#26671](https://github.com/docker/docker/pull/26671) 270 * Add support for local NFS volumes to resolve hostnames [#27329](https://github.com/docker/docker/pull/27329) 271 272 ### Security 273 274 - Fix selinux labeling of volumes shared in a container [#23024](https://github.com/docker/docker/pull/23024) 275 - Prohibit `/sys/firmware/**` from being accessed with apparmor [#26618](https://github.com/docker/docker/pull/26618) 276 277 ### DEPRECATION 278 279 - Marked the `docker daemon` command as deprecated. The daemon is moved to a separate binary (`dockerd`), and should be used instead [#26834](https://github.com/docker/docker/pull/26834) 280 - Deprecate unversioned API endpoints [#28208](https://github.com/docker/docker/pull/28208) 281 - Remove Ubuntu 15.10 (Wily Werewolf) as supported platform. Ubuntu 15.10 is EOL, and no longer receives updates [#27042](https://github.com/docker/docker/pull/27042) 282 - Remove Fedora 22 as supported platform. Fedora 22 is EOL, and no longer receives updates [#27432](https://github.com/docker/docker/pull/27432) 283 - Remove Fedora 23 as supported platform. Fedora 23 is EOL, and no longer receives updates [#29455](https://github.com/docker/docker/pull/29455) 284 - Deprecate the `repo:shortid` syntax on `docker pull` [#27207](https://github.com/docker/docker/pull/27207) 285 - Deprecate backing filesystem without `d_type` for overlay and overlay2 storage drivers [#27433](https://github.com/docker/docker/pull/27433) 286 - Deprecate `MAINTAINER` in Dockerfile [#25466](https://github.com/docker/docker/pull/25466) 287 - Deprecate `filter` param for endpoint `/images/json` [#27872](https://github.com/docker/docker/pull/27872) 288 - Deprecate setting duplicate engine labels [#24533](https://github.com/docker/docker/pull/24533) 289 - Deprecate "top-level" network information in `NetworkSettings` [#28437](https://github.com/docker/docker/pull/28437) 290 291 ## 1.12.6 (2017-01-10) 292 293 **IMPORTANT**: Docker 1.12 ships with an updated systemd unit file for rpm 294 based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When 295 upgrading from an older version of docker, the upgrade process may not 296 automatically install the updated version of the unit file, or fail to start 297 the docker service if; 298 299 - the systemd unit file (`/usr/lib/systemd/system/docker.service`) contains local changes, or 300 - a systemd drop-in file is present, and contains `-H fd://` in the `ExecStart` directive 301 302 Starting the docker service will produce an error: 303 304 Failed to start docker.service: Unit docker.socket failed to load: No such file or directory. 305 306 or 307 308 no sockets found via socket activation: make sure the service was started by systemd. 309 310 To resolve this: 311 312 - Backup the current version of the unit file, and replace the file with the 313 [version that ships with docker 1.12](https://raw.githubusercontent.com/docker/docker/v1.12.0/contrib/init/systemd/docker.service.rpm) 314 - Remove the `Requires=docker.socket` directive from the `/usr/lib/systemd/system/docker.service` file if present 315 - Remove `-H fd://` from the `ExecStart` directive (both in the main unit file, and in any drop-in files present). 316 317 After making those changes, run `sudo systemctl daemon-reload`, and `sudo 318 systemctl restart docker` to reload changes and (re)start the docker daemon. 319 320 **NOTE**: Docker 1.12.5 will correctly validate that either an IPv6 subnet is provided or 321 that the IPAM driver can provide one when you specify the `--ipv6` option. 322 323 If you are currently using the `--ipv6` option _without_ specifying the 324 `--fixed-cidr-v6` option, the Docker daemon will refuse to start with the 325 following message: 326 327 ```none 328 Error starting daemon: Error initializing network controller: Error creating 329 default "bridge" network: failed to parse pool request 330 for address space "LocalDefault" pool " subpool ": 331 could not find an available, non-overlapping IPv6 address 332 pool among the defaults to assign to the network 333 ``` 334 335 To resolve this error, either remove the `--ipv6` flag (to preserve the same 336 behavior as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the 337 value of the `--fixed-cidr-v6` flag. 338 339 In a similar way, if you specify the `--ipv6` flag when creating a network 340 with the default IPAM driver, without providing an IPv6 `--subnet`, network 341 creation will fail with the following message: 342 343 ```none 344 Error response from daemon: failed to parse pool request for address space 345 "LocalDefault" pool "" subpool "": could not find an 346 available, non-overlapping IPv6 address pool among 347 the defaults to assign to the network 348 ``` 349 350 To resolve this, either remove the `--ipv6` flag (to preserve the same behavior 351 as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the value of the 352 `--subnet` flag. 353 354 The network network creation will instead succeed if you use an external IPAM driver 355 which supports automatic allocation of IPv6 subnets. 356 357 ### Runtime 358 359 - Fix runC privilege escalation (CVE-2016-9962) 360 361 ## 1.12.5 (2016-12-15) 362 363 **IMPORTANT**: Docker 1.12 ships with an updated systemd unit file for rpm 364 based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When 365 upgrading from an older version of docker, the upgrade process may not 366 automatically install the updated version of the unit file, or fail to start 367 the docker service if; 368 369 - the systemd unit file (`/usr/lib/systemd/system/docker.service`) contains local changes, or 370 - a systemd drop-in file is present, and contains `-H fd://` in the `ExecStart` directive 371 372 Starting the docker service will produce an error: 373 374 Failed to start docker.service: Unit docker.socket failed to load: No such file or directory. 375 376 or 377 378 no sockets found via socket activation: make sure the service was started by systemd. 379 380 To resolve this: 381 382 - Backup the current version of the unit file, and replace the file with the 383 [version that ships with docker 1.12](https://raw.githubusercontent.com/docker/docker/v1.12.0/contrib/init/systemd/docker.service.rpm) 384 - Remove the `Requires=docker.socket` directive from the `/usr/lib/systemd/system/docker.service` file if present 385 - Remove `-H fd://` from the `ExecStart` directive (both in the main unit file, and in any drop-in files present). 386 387 After making those changes, run `sudo systemctl daemon-reload`, and `sudo 388 systemctl restart docker` to reload changes and (re)start the docker daemon. 389 390 **NOTE**: Docker 1.12.5 will correctly validate that either an IPv6 subnet is provided or 391 that the IPAM driver can provide one when you specify the `--ipv6` option. 392 393 If you are currently using the `--ipv6` option _without_ specifying the 394 `--fixed-cidr-v6` option, the Docker daemon will refuse to start with the 395 following message: 396 397 ```none 398 Error starting daemon: Error initializing network controller: Error creating 399 default "bridge" network: failed to parse pool request 400 for address space "LocalDefault" pool " subpool ": 401 could not find an available, non-overlapping IPv6 address 402 pool among the defaults to assign to the network 403 ``` 404 405 To resolve this error, either remove the `--ipv6` flag (to preserve the same 406 behavior as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the 407 value of the `--fixed-cidr-v6` flag. 408 409 In a similar way, if you specify the `--ipv6` flag when creating a network 410 with the default IPAM driver, without providing an IPv6 `--subnet`, network 411 creation will fail with the following message: 412 413 ```none 414 Error response from daemon: failed to parse pool request for address space 415 "LocalDefault" pool "" subpool "": could not find an 416 available, non-overlapping IPv6 address pool among 417 the defaults to assign to the network 418 ``` 419 420 To resolve this, either remove the `--ipv6` flag (to preserve the same behavior 421 as in Docker 1.12.3 and earlier), or provide an IPv6 subnet as the value of the 422 `--subnet` flag. 423 424 The network network creation will instead succeed if you use an external IPAM driver 425 which supports automatic allocation of IPv6 subnets. 426 427 ### Runtime 428 429 - Fix race on sending stdin close event [#29424](https://github.com/docker/docker/pull/29424) 430 431 ### Networking 432 433 - Fix panic in docker network ls when a network was created with `--ipv6` and no ipv6 `--subnet` in older docker versions [#29416](https://github.com/docker/docker/pull/29416) 434 435 ### Contrib 436 437 - Fix compilation on Darwin [#29370](https://github.com/docker/docker/pull/29370) 438 439 ## 1.12.4 (2016-12-12) 440 441 **IMPORTANT**: Docker 1.12 ships with an updated systemd unit file for rpm 442 based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When 443 upgrading from an older version of docker, the upgrade process may not 444 automatically install the updated version of the unit file, or fail to start 445 the docker service if; 446 447 - the systemd unit file (`/usr/lib/systemd/system/docker.service`) contains local changes, or 448 - a systemd drop-in file is present, and contains `-H fd://` in the `ExecStart` directive 449 450 Starting the docker service will produce an error: 451 452 Failed to start docker.service: Unit docker.socket failed to load: No such file or directory. 453 454 or 455 456 no sockets found via socket activation: make sure the service was started by systemd. 457 458 To resolve this: 459 460 - Backup the current version of the unit file, and replace the file with the 461 [version that ships with docker 1.12](https://raw.githubusercontent.com/docker/docker/v1.12.0/contrib/init/systemd/docker.service.rpm) 462 - Remove the `Requires=docker.socket` directive from the `/usr/lib/systemd/system/docker.service` file if present 463 - Remove `-H fd://` from the `ExecStart` directive (both in the main unit file, and in any drop-in files present). 464 465 After making those changes, run `sudo systemctl daemon-reload`, and `sudo 466 systemctl restart docker` to reload changes and (re)start the docker daemon. 467 468 469 ### Runtime 470 471 - Fix issue where volume metadata was not removed [#29083](https://github.com/docker/docker/pull/29083) 472 - Asynchronously close streams to prevent holding container lock [#29050](https://github.com/docker/docker/pull/29050) 473 - Fix selinux labels for newly created container volumes [#29050](https://github.com/docker/docker/pull/29050) 474 - Remove hostname validation [#28990](https://github.com/docker/docker/pull/28990) 475 - Fix deadlocks caused by IO races [#29095](https://github.com/docker/docker/pull/29095) [#29141](https://github.com/docker/docker/pull/29141) 476 - Return an empty stats if the container is restarting [#29150](https://github.com/docker/docker/pull/29150) 477 - Fix volume store locking [#29151](https://github.com/docker/docker/pull/29151) 478 - Ensure consistent status code in API [#29150](https://github.com/docker/docker/pull/29150) 479 - Fix incorrect opaque directory permission in overlay2 [#29093](https://github.com/docker/docker/pull/29093) 480 - Detect plugin content and error out on `docker pull` [#29297](https://github.com/docker/docker/pull/29297) 481 482 ### Swarm Mode 483 484 * Update Swarmkit [#29047](https://github.com/docker/docker/pull/29047) 485 - orchestrator/global: Fix deadlock on updates [docker/swarmkit#1760](https://github.com/docker/swarmkit/pull/1760) 486 - on leader switchover preserve the vxlan id for existing networks [docker/swarmkit#1773](https://github.com/docker/swarmkit/pull/1773) 487 - Refuse swarm spec not named "default" [#29152](https://github.com/docker/docker/pull/29152) 488 489 ### Networking 490 491 * Update libnetwork [#29004](https://github.com/docker/docker/pull/29004) [#29146](https://github.com/docker/docker/pull/29146) 492 - Fix panic in embedded DNS [docker/libnetwork#1561](https://github.com/docker/libnetwork/pull/1561) 493 - Fix unmarhalling panic when passing --link-local-ip on global scope network [docker/libnetwork#1564](https://github.com/docker/libnetwork/pull/1564) 494 - Fix panic when network plugin returns nil StaticRoutes [docker/libnetwork#1563](https://github.com/docker/libnetwork/pull/1563) 495 - Fix panic in osl.(*networkNamespace).DeleteNeighbor [docker/libnetwork#1555](https://github.com/docker/libnetwork/pull/1555) 496 - Fix panic in swarm networking concurrent map read/write [docker/libnetwork#1570](https://github.com/docker/libnetwork/pull/1570) 497 * Allow encrypted networks when running docker inside a container [docker/libnetwork#1502](https://github.com/docker/libnetwork/pull/1502) 498 - Do not block autoallocation of IPv6 pool [docker/libnetwork#1538](https://github.com/docker/libnetwork/pull/1538) 499 - Set timeout for netlink calls [docker/libnetwork#1557](https://github.com/docker/libnetwork/pull/1557) 500 - Increase networking local store timeout to one minute [docker/libkv#140](https://github.com/docker/libkv/pull/140) 501 - Fix a panic in libnetwork.(*sandbox).execFunc [docker/libnetwork#1556](https://github.com/docker/libnetwork/pull/1556) 502 - Honor icc=false for internal networks [docker/libnetwork#1525](https://github.com/docker/libnetwork/pull/1525) 503 504 ### Logging 505 506 * Update syslog log driver [#29150](https://github.com/docker/docker/pull/29150) 507 508 ### Contrib 509 510 - Run "dnf upgrade" before installing in fedora [#29150](https://github.com/docker/docker/pull/29150) 511 - Add build-date back to RPM packages [#29150](https://github.com/docker/docker/pull/29150) 512 - deb package filename changed to include distro to distinguish between distro code names [#27829](https://github.com/docker/docker/pull/27829) 513 514 ## 1.12.3 (2016-10-26) 515 516 **IMPORTANT**: Docker 1.12 ships with an updated systemd unit file for rpm 517 based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When 518 upgrading from an older version of docker, the upgrade process may not 519 automatically install the updated version of the unit file, or fail to start 520 the docker service if; 521 522 - the systemd unit file (`/usr/lib/systemd/system/docker.service`) contains local changes, or 523 - a systemd drop-in file is present, and contains `-H fd://` in the `ExecStart` directive 524 525 Starting the docker service will produce an error: 526 527 Failed to start docker.service: Unit docker.socket failed to load: No such file or directory. 528 529 or 530 531 no sockets found via socket activation: make sure the service was started by systemd. 532 533 To resolve this: 534 535 - Backup the current version of the unit file, and replace the file with the 536 [version that ships with docker 1.12](https://raw.githubusercontent.com/docker/docker/v1.12.0/contrib/init/systemd/docker.service.rpm) 537 - Remove the `Requires=docker.socket` directive from the `/usr/lib/systemd/system/docker.service` file if present 538 - Remove `-H fd://` from the `ExecStart` directive (both in the main unit file, and in any drop-in files present). 539 540 After making those changes, run `sudo systemctl daemon-reload`, and `sudo 541 systemctl restart docker` to reload changes and (re)start the docker daemon. 542 543 544 ### Runtime 545 546 - Fix ambient capability usage in containers (CVE-2016-8867) [#27610](https://github.com/docker/docker/pull/27610) 547 - Prevent a deadlock in libcontainerd for Windows [#27136](https://github.com/docker/docker/pull/27136) 548 - Fix error reporting in CopyFileWithTar [#27075](https://github.com/docker/docker/pull/27075) 549 * Reset health status to starting when a container is restarted [#27387](https://github.com/docker/docker/pull/27387) 550 * Properly handle shared mount propagation in storage directory [#27609](https://github.com/docker/docker/pull/27609) 551 - Fix docker exec [#27610](https://github.com/docker/docker/pull/27610) 552 - Fix backward compatibility with containerd’s events log [#27693](https://github.com/docker/docker/pull/27693) 553 554 ### Swarm Mode 555 556 - Fix conversion of restart-policy [#27062](https://github.com/docker/docker/pull/27062) 557 * Update Swarmkit [#27554](https://github.com/docker/docker/pull/27554) 558 * Avoid restarting a task that has already been restarted [docker/swarmkit#1305](https://github.com/docker/swarmkit/pull/1305) 559 * Allow duplicate published ports when they use different protocols [docker/swarmkit#1632](https://github.com/docker/swarmkit/pull/1632) 560 * Allow multiple randomly assigned published ports on service [docker/swarmkit#1657](https://github.com/docker/swarmkit/pull/1657) 561 - Fix panic when allocations happen at init time [docker/swarmkit#1651](https://github.com/docker/swarmkit/pull/1651) 562 563 ### Networking 564 565 * Update libnetwork [#27559](https://github.com/docker/docker/pull/27559) 566 - Fix race in serializing sandbox to string [docker/libnetwork#1495](https://github.com/docker/libnetwork/pull/1495) 567 - Fix race during deletion [docker/libnetwork#1503](https://github.com/docker/libnetwork/pull/1503) 568 * Reset endpoint port info on connectivity revoke in bridge driver [docker/libnetwork#1504](https://github.com/docker/libnetwork/pull/1504) 569 - Fix a deadlock in networking code [docker/libnetwork#1507](https://github.com/docker/libnetwork/pull/1507) 570 - Fix a race in load balancer state [docker/libnetwork#1512](https://github.com/docker/libnetwork/pull/1512) 571 572 ### Logging 573 574 * Update fluent-logger-golang to v1.2.1 [#27474](https://github.com/docker/docker/pull/27474) 575 576 ### Contrib 577 578 * Update buildtags for armhf ubuntu-trusty [#27327](https://github.com/docker/docker/pull/27327) 579 * Add AppArmor to runc buildtags for armhf [#27421](https://github.com/docker/docker/pull/27421) 580 581 ## 1.12.2 (2016-10-11) 582 583 **IMPORTANT**: Docker 1.12 ships with an updated systemd unit file for rpm 584 based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When 585 upgrading from an older version of docker, the upgrade process may not 586 automatically install the updated version of the unit file, or fail to start 587 the docker service if; 588 589 - the systemd unit file (`/usr/lib/systemd/system/docker.service`) contains local changes, or 590 - a systemd drop-in file is present, and contains `-H fd://` in the `ExecStart` directive 591 592 Starting the docker service will produce an error: 593 594 Failed to start docker.service: Unit docker.socket failed to load: No such file or directory. 595 596 or 597 598 no sockets found via socket activation: make sure the service was started by systemd. 599 600 To resolve this: 601 602 - Backup the current version of the unit file, and replace the file with the 603 [version that ships with docker 1.12](https://raw.githubusercontent.com/docker/docker/v1.12.0/contrib/init/systemd/docker.service.rpm) 604 - Remove the `Requires=docker.socket` directive from the `/usr/lib/systemd/system/docker.service` file if present 605 - Remove `-H fd://` from the `ExecStart` directive (both in the main unit file, and in any drop-in files present). 606 607 After making those changes, run `sudo systemctl daemon-reload`, and `sudo 608 systemctl restart docker` to reload changes and (re)start the docker daemon. 609 610 611 ### Runtime 612 613 - Fix a panic due to a race condition filtering `docker ps` [#26049](https://github.com/docker/docker/pull/26049) 614 * Implement retry logic to prevent "Unable to remove filesystem" errors when using the aufs storage driver [#26536](https://github.com/docker/docker/pull/26536) 615 * Prevent devicemapper from removing device symlinks if `dm.use_deferred_removal` is enabled [#24740](https://github.com/docker/docker/pull/24740) 616 - Fix an issue where the CLI did not return correct exit codes if a command was run with invalid options [#26777](https://github.com/docker/docker/pull/26777) 617 - Fix a panic due to a bug in stdout / stderr processing in health checks [#26507](https://github.com/docker/docker/pull/26507) 618 - Fix exec's children handling [#26874](https://github.com/docker/docker/pull/26874) 619 - Fix exec form of HEALTHCHECK CMD [#26208](https://github.com/docker/docker/pull/26208) 620 621 ### Networking 622 623 - Fix a daemon start panic on armv5 [#24315](https://github.com/docker/docker/issues/24315) 624 * Vendor libnetwork [#26879](https://github.com/docker/docker/pull/26879) [#26953](https://github.com/docker/docker/pull/26953) 625 * Avoid returning early on agent join failures [docker/libnetwork#1473](https://github.com/docker/libnetwork/pull/1473) 626 - Fix service published port cleanup issues [docker/libetwork#1432](https://github.com/docker/libnetwork/pull/1432) [docker/libnetwork#1433](https://github.com/docker/libnetwork/pull/1433) 627 * Recover properly from transient gossip failures [docker/libnetwork#1446](https://github.com/docker/libnetwork/pull/1446) 628 * Disambiguate node names known to gossip cluster to avoid node name collision [docker/libnetwork#1451](https://github.com/docker/libnetwork/pull/1451) 629 * Honor user provided listen address for gossip [docker/libnetwork#1460](https://github.com/docker/libnetwork/pull/1460) 630 * Allow reachability via published port across services on the same host [docker/libnetwork#1398](https://github.com/docker/libnetwork/pull/1398) 631 * Change the ingress sandbox name from random id to just `ingress_sbox` [docker/libnetwork#1449](https://github.com/docker/libnetwork/pull/1449) 632 - Disable service discovery in ingress network [docker/libnetwork#1489](https://github.com/docker/libnetwork/pull/1489) 633 634 ### Swarm Mode 635 636 * Fix remote detection of a node's address when it joins the cluster [#26211](https://github.com/docker/docker/pull/26211) 637 * Vendor SwarmKit [#26765](https://github.com/docker/docker/pull/26765) 638 * Bounce session after failed status update [docker/swarmkit#1539](https://github.com/docker/swarmkit/pull/1539) 639 - Fix possible raft deadlocks [docker/swarmkit#1537](https://github.com/docker/swarmkit/pull/1537) 640 - Fix panic and endpoint leak when a service is updated with no endpoints [docker/swarmkit#1481](https://github.com/docker/swarmkit/pull/1481) 641 * Produce an error if the same port is published twice on `service create` or `service update` [docker/swarmkit#1495](https://github.com/docker/swarmkit/pull/1495) 642 - Fix an issue where changes to a service were not detected, resulting in the service not being updated [docker/swarmkit#1497](https://github.com/docker/swarmkit/pull/1497) 643 - Do not allow service creation on ingress network [docker/swarmkit#1600](https://github.com/docker/swarmkit/pull/1600) 644 645 ### Contrib 646 647 * Update the debian sysv-init script to use `dockerd` instead of `docker daemon` [#25869](https://github.com/docker/docker/pull/25869) 648 * Improve stability when running the docker client on MacOS Sierra [#26875](https://github.com/docker/docker/pull/26875) 649 - Fix installation on debian stretch [#27184](https://github.com/docker/docker/pull/27184) 650 651 ### Windows 652 653 - Fix an issue where arrow-navigation did not work when running the docker client in ConEmu [#25578](https://github.com/docker/docker/pull/25578) 654 655 ## 1.12.1 (2016-08-18) 656 657 **IMPORTANT**: Docker 1.12 ships with an updated systemd unit file for rpm 658 based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When 659 upgrading from an older version of docker, the upgrade process may not 660 automatically install the updated version of the unit file, or fail to start 661 the docker service if; 662 663 - the systemd unit file (`/usr/lib/systemd/system/docker.service`) contains local changes, or 664 - a systemd drop-in file is present, and contains `-H fd://` in the `ExecStart` directive 665 666 Starting the docker service will produce an error: 667 668 Failed to start docker.service: Unit docker.socket failed to load: No such file or directory. 669 670 or 671 672 no sockets found via socket activation: make sure the service was started by systemd. 673 674 To resolve this: 675 676 - Backup the current version of the unit file, and replace the file with the 677 [version that ships with docker 1.12](https://raw.githubusercontent.com/docker/docker/v1.12.0/contrib/init/systemd/docker.service.rpm) 678 - Remove the `Requires=docker.socket` directive from the `/usr/lib/systemd/system/docker.service` file if present 679 - Remove `-H fd://` from the `ExecStart` directive (both in the main unit file, and in any drop-in files present). 680 681 After making those changes, run `sudo systemctl daemon-reload`, and `sudo 682 systemctl restart docker` to reload changes and (re)start the docker daemon. 683 684 685 ### Client 686 687 * Add `Joined at` information in `node inspect --pretty` [#25512](https://github.com/docker/docker/pull/25512) 688 - Fix a crash on `service inspect` [#25454](https://github.com/docker/docker/pull/25454) 689 - Fix issue preventing `service update --env-add` to work as intended [#25427](https://github.com/docker/docker/pull/25427) 690 - Fix issue preventing `service update --publish-add` to work as intended [#25428](https://github.com/docker/docker/pull/25428) 691 - Remove `service update --network-add` and `service update --network-rm` flags 692 because this feature is not yet implemented in 1.12, but was inadvertently added 693 to the client in 1.12.0 [#25646](https://github.com/docker/docker/pull/25646) 694 695 ### Contrib 696 697 + Official ARM installation for Debian Jessie, Ubuntu Trusty, and Raspbian Jessie [#24815](https://github.com/docker/docker/pull/24815) [#25591](https://github.com/docker/docker/pull/25637) 698 - Add selinux policy per distro/version, fixing issue preventing successful installation on Fedora 24, and Oracle Linux [#25334](https://github.com/docker/docker/pull/25334) [#25593](https://github.com/docker/docker/pull/25593) 699 700 ### Networking 701 702 - Fix issue that prevented containers to be accessed by hostname with Docker overlay driver in Swarm Mode [#25603](https://github.com/docker/docker/pull/25603) [#25648](https://github.com/docker/docker/pull/25648) 703 - Fix random network issues on service with published port [#25603](https://github.com/docker/docker/pull/25603) 704 - Fix unreliable inter-service communication after scaling down and up [#25603](https://github.com/docker/docker/pull/25603) 705 - Fix issue where removing all tasks on a node and adding them back breaks connectivity with other services [#25603](https://github.com/docker/docker/pull/25603) 706 - Fix issue where a task that fails to start results in a race, causing a `network xxx not found` error that masks the actual error [#25550](https://github.com/docker/docker/pull/25550) 707 - Relax validation of SRV records for external services that use SRV records not formatted according to RFC 2782 [#25739](https://github.com/docker/docker/pull/25739) 708 709 ### Plugins (experimental) 710 711 * Make daemon events listen for plugin lifecycle events [#24760](https://github.com/docker/docker/pull/24760) 712 * Check for plugin state before enabling plugin [#25033](https://github.com/docker/docker/pull/25033) 713 - Remove plugin root from filesystem on `plugin rm` [#25187](https://github.com/docker/docker/pull/25187) 714 - Prevent deadlock when more than one plugin is installed [#25384](https://github.com/docker/docker/pull/25384) 715 716 ### Runtime 717 718 * Mask join tokens in daemon logs [#25346](https://github.com/docker/docker/pull/25346) 719 - Fix `docker ps --filter` causing the results to no longer be sorted by creation time [#25387](https://github.com/docker/docker/pull/25387) 720 - Fix various crashes [#25053](https://github.com/docker/docker/pull/25053) 721 722 ### Security 723 724 * Add `/proc/timer_list` to the masked paths list to prevent information leak from the host [#25630](https://github.com/docker/docker/pull/25630) 725 * Allow systemd to run with only `--cap-add SYS_ADMIN` rather than having to also add `--cap-add DAC_READ_SEARCH` or disabling seccomp filtering [#25567](https://github.com/docker/docker/pull/25567) 726 727 ### Swarm 728 729 - Fix an issue where the swarm can get stuck electing a new leader after quorum is lost [#25055](https://github.com/docker/docker/issues/25055) 730 - Fix unwanted rescheduling of containers after a leader failover [#25017](https://github.com/docker/docker/issues/25017) 731 - Change swarm root CA key to P256 curve [swarmkit#1376](https://github.com/docker/swarmkit/pull/1376) 732 - Allow forced removal of a node from a swarm [#25159](https://github.com/docker/docker/pull/25159) 733 - Fix connection leak when a node leaves a swarm [swarmkit/#1277](https://github.com/docker/swarmkit/pull/1277) 734 - Backdate swarm certificates by one hour to tolerate more clock skew [swarmkit/#1243](https://github.com/docker/swarmkit/pull/1243) 735 - Avoid high CPU use with many unschedulable tasks [swarmkit/#1287](https://github.com/docker/swarmkit/pull/1287) 736 - Fix issue with global tasks not starting up [swarmkit/#1295](https://github.com/docker/swarmkit/pull/1295) 737 - Garbage collect raft logs [swarmkit/#1327](https://github.com/docker/swarmkit/pull/1327) 738 739 ### Volume 740 741 - Persist local volume options after a daemon restart [#25316](https://github.com/docker/docker/pull/25316) 742 - Fix an issue where the mount ID was not returned on volume unmount [#25333](https://github.com/docker/docker/pull/25333) 743 - Fix an issue where a volume mount could inadvertently create a bind mount [#25309](https://github.com/docker/docker/pull/25309) 744 - `docker service create --mount type=bind,...` now correctly validates if the source path exists, instead of creating it [#25494](https://github.com/docker/docker/pull/25494) 745 746 ## 1.12.0 (2016-07-28) 747 748 749 **IMPORTANT**: Docker 1.12.0 ships with an updated systemd unit file for rpm 750 based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When 751 upgrading from an older version of docker, the upgrade process may not 752 automatically install the updated version of the unit file, or fail to start 753 the docker service if; 754 755 - the systemd unit file (`/usr/lib/systemd/system/docker.service`) contains local changes, or 756 - a systemd drop-in file is present, and contains `-H fd://` in the `ExecStart` directive 757 758 Starting the docker service will produce an error: 759 760 Failed to start docker.service: Unit docker.socket failed to load: No such file or directory. 761 762 or 763 764 no sockets found via socket activation: make sure the service was started by systemd. 765 766 To resolve this: 767 768 - Backup the current version of the unit file, and replace the file with the 769 [version that ships with docker 1.12](https://raw.githubusercontent.com/docker/docker/v1.12.0/contrib/init/systemd/docker.service.rpm) 770 - Remove the `Requires=docker.socket` directive from the `/usr/lib/systemd/system/docker.service` file if present 771 - Remove `-H fd://` from the `ExecStart` directive (both in the main unit file, and in any drop-in files present). 772 773 After making those changes, run `sudo systemctl daemon-reload`, and `sudo 774 systemctl restart docker` to reload changes and (re)start the docker daemon. 775 776 **IMPORTANT**: With Docker 1.12, a Linux docker installation now has two 777 additional binaries; `dockerd`, and `docker-proxy`. If you have scripts for 778 installing docker, please make sure to update them accordingly. 779 780 ### Builder 781 782 + New `HEALTHCHECK` Dockerfile instruction to support user-defined healthchecks [#23218](https://github.com/docker/docker/pull/23218) 783 + New `SHELL` Dockerfile instruction to specify the default shell when using the shell form for commands in a Dockerfile [#22489](https://github.com/docker/docker/pull/22489) 784 + Add `#escape=` Dockerfile directive to support platform-specific parsing of file paths in Dockerfile [#22268](https://github.com/docker/docker/pull/22268) 785 + Add support for comments in `.dockerignore` [#23111](https://github.com/docker/docker/pull/23111) 786 * Support for UTF-8 in Dockerfiles [#23372](https://github.com/docker/docker/pull/23372) 787 * Skip UTF-8 BOM bytes from `Dockerfile` and `.dockerignore` if exist [#23234](https://github.com/docker/docker/pull/23234) 788 * Windows: support for `ARG` to match Linux [#22508](https://github.com/docker/docker/pull/22508) 789 - Fix error message when building using a daemon with the bridge network disabled [#22932](https://github.com/docker/docker/pull/22932) 790 791 ### Contrib 792 793 * Enable seccomp for Centos 7 and Oracle Linux 7 [#22344](https://github.com/docker/docker/pull/22344) 794 - Remove MountFlags in systemd unit to allow shared mount propagation [#22806](https://github.com/docker/docker/pull/22806) 795 796 ### Distribution 797 798 + Add `--max-concurrent-downloads` and `--max-concurrent-uploads` daemon flags useful for situations where network connections don't support multiple downloads/uploads [#22445](https://github.com/docker/docker/pull/22445) 799 * Registry operations now honor the `ALL_PROXY` environment variable [#22316](https://github.com/docker/docker/pull/22316) 800 * Provide more information to the user on `docker load` [#23377](https://github.com/docker/docker/pull/23377) 801 * Always save registry digest metadata about images pushed and pulled [#23996](https://github.com/docker/docker/pull/23996) 802 803 ### Logging 804 805 + Syslog logging driver now supports DGRAM sockets [#21613](https://github.com/docker/docker/pull/21613) 806 + Add `--details` option to `docker logs` to also display log tags [#21889](https://github.com/docker/docker/pull/21889) 807 + Enable syslog logger to have access to env and labels [#21724](https://github.com/docker/docker/pull/21724) 808 + An additional syslog-format option `rfc5424micro` to allow microsecond resolution in syslog timestamp [#21844](https://github.com/docker/docker/pull/21844) 809 * Inherit the daemon log options when creating containers [#21153](https://github.com/docker/docker/pull/21153) 810 * Remove `docker/` prefix from log messages tag and replace it with `{{.DaemonName}}` so that users have the option of changing the prefix [#22384](https://github.com/docker/docker/pull/22384) 811 812 ### Networking 813 814 + Built-in Virtual-IP based internal and ingress load-balancing using IPVS [#23361](https://github.com/docker/docker/pull/23361) 815 + Routing Mesh using ingress overlay network [#23361](https://github.com/docker/docker/pull/23361) 816 + Secured multi-host overlay networking using encrypted control-plane and Data-plane [#23361](https://github.com/docker/docker/pull/23361) 817 + MacVlan driver is out of experimental [#23524](https://github.com/docker/docker/pull/23524) 818 + Add `driver` filter to `network ls` [#22319](https://github.com/docker/docker/pull/22319) 819 + Adding `network` filter to `docker ps --filter` [#23300](https://github.com/docker/docker/pull/23300) 820 + Add `--link-local-ip` flag to `create`, `run` and `network connect` to specify a container's link-local address [#23415](https://github.com/docker/docker/pull/23415) 821 + Add network label filter support [#21495](https://github.com/docker/docker/pull/21495) 822 * Removed dependency on external KV-Store for Overlay networking in Swarm-Mode [#23361](https://github.com/docker/docker/pull/23361) 823 * Add container's short-id as default network alias [#21901](https://github.com/docker/docker/pull/21901) 824 * `run` options `--dns` and `--net=host` are no longer mutually exclusive [#22408](https://github.com/docker/docker/pull/22408) 825 - Fix DNS issue when renaming containers with generated names [#22716](https://github.com/docker/docker/pull/22716) 826 - Allow both `network inspect -f {{.Id}}` and `network inspect -f {{.ID}}` to address inconsistency with inspect output [#23226](https://github.com/docker/docker/pull/23226) 827 828 ### Plugins (experimental) 829 830 + New `plugin` command to manager plugins with `install`, `enable`, `disable`, `rm`, `inspect`, `set` subcommands [#23446](https://github.com/docker/docker/pull/23446) 831 832 ### Remote API (v1.24) & Client 833 834 + Split the binary into two: `docker` (client) and `dockerd` (daemon) [#20639](https://github.com/docker/docker/pull/20639) 835 + Add `before` and `since` filters to `docker images --filter` [#22908](https://github.com/docker/docker/pull/22908) 836 + Add `--limit` option to `docker search` [#23107](https://github.com/docker/docker/pull/23107) 837 + Add `--filter` option to `docker search` [#22369](https://github.com/docker/docker/pull/22369) 838 + Add security options to `docker info` output [#21172](https://github.com/docker/docker/pull/21172) [#23520](https://github.com/docker/docker/pull/23520) 839 + Add insecure registries to `docker info` output [#20410](https://github.com/docker/docker/pull/20410) 840 + Extend Docker authorization with TLS user information [#21556](https://github.com/docker/docker/pull/21556) 841 + devicemapper: expose Mininum Thin Pool Free Space through `docker info` [#21945](https://github.com/docker/docker/pull/21945) 842 * API now returns a JSON object when an error occurs making it more consistent [#22880](https://github.com/docker/docker/pull/22880) 843 - Prevent `docker run -i --restart` from hanging on exit [#22777](https://github.com/docker/docker/pull/22777) 844 - Fix API/CLI discrepancy on hostname validation [#21641](https://github.com/docker/docker/pull/21641) 845 - Fix discrepancy in the format of sizes in `stats` from HumanSize to BytesSize [#21773](https://github.com/docker/docker/pull/21773) 846 - authz: when request is denied return forbbiden exit code (403) [#22448](https://github.com/docker/docker/pull/22448) 847 - Windows: fix tty-related displaying issues [#23878](https://github.com/docker/docker/pull/23878) 848 849 ### Runtime 850 851 + Split the userland proxy to a separate binary (`docker-proxy`) [#23312](https://github.com/docker/docker/pull/23312) 852 + Add `--live-restore` daemon flag to keep containers running when daemon shuts down, and regain control on startup [#23213](https://github.com/docker/docker/pull/23213) 853 + Ability to add OCI-compatible runtimes (via `--add-runtime` daemon flag) and select one with `--runtime` on `create` and `run` [#22983](https://github.com/docker/docker/pull/22983) 854 + New `overlay2` graphdriver for Linux 4.0+ with multiple lower directory support [#22126](https://github.com/docker/docker/pull/22126) 855 + New load/save image events [#22137](https://github.com/docker/docker/pull/22137) 856 + Add support for reloading daemon configuration through systemd [#22446](https://github.com/docker/docker/pull/22446) 857 + Add disk quota support for btrfs [#19651](https://github.com/docker/docker/pull/19651) 858 + Add disk quota support for zfs [#21946](https://github.com/docker/docker/pull/21946) 859 + Add support for `docker run --pid=container:<id>` [#22481](https://github.com/docker/docker/pull/22481) 860 + Align default seccomp profile with selected capabilities [#22554](https://github.com/docker/docker/pull/22554) 861 + Add a `daemon reload` event when the daemon reloads its configuration [#22590](https://github.com/docker/docker/pull/22590) 862 + Add `trace` capability in the pprof profiler to show execution traces in binary form [#22715](https://github.com/docker/docker/pull/22715) 863 + Add a `detach` event [#22898](https://github.com/docker/docker/pull/22898) 864 + Add support for setting sysctls with `--sysctl` [#19265](https://github.com/docker/docker/pull/19265) 865 + Add `--storage-opt` flag to `create` and `run` allowing to set `size` on devicemapper [#19367](https://github.com/docker/docker/pull/19367) 866 + Add `--oom-score-adjust` daemon flag with a default value of `-500` making the daemon less likely to be killed before containers [#24516](https://github.com/docker/docker/pull/24516) 867 * Undeprecate the `-c` short alias of `--cpu-shares` on `run`, `build`, `create`, `update` [#22621](https://github.com/docker/docker/pull/22621) 868 * Prevent from using aufs and overlay graphdrivers on an eCryptfs mount [#23121](https://github.com/docker/docker/pull/23121) 869 - Fix issues with tmpfs mount ordering [#22329](https://github.com/docker/docker/pull/22329) 870 - Created containers are no longer listed on `docker ps -a -f exited=0` [#21947](https://github.com/docker/docker/pull/21947) 871 - Fix an issue where containers are stuck in a "Removal In Progress" state [#22423](https://github.com/docker/docker/pull/22423) 872 - Fix bug that was returning an HTTP 500 instead of a 400 when not specifying a command on run/create [#22762](https://github.com/docker/docker/pull/22762) 873 - Fix bug with `--detach-keys` whereby input matching a prefix of the detach key was not preserved [#22943](https://github.com/docker/docker/pull/22943) 874 - SELinux labeling is now disabled when using `--privileged` mode [#22993](https://github.com/docker/docker/pull/22993) 875 - If volume-mounted into a container, `/etc/hosts`, `/etc/resolv.conf`, `/etc/hostname` are no longer SELinux-relabeled [#22993](https://github.com/docker/docker/pull/22993) 876 - Fix inconsistency in `--tmpfs` behavior regarding mount options [#22438](https://github.com/docker/docker/pull/22438) 877 - Fix an issue where daemon hangs at startup [#23148](https://github.com/docker/docker/pull/23148) 878 - Ignore SIGPIPE events to prevent journald restarts to crash docker in some cases [#22460](https://github.com/docker/docker/pull/22460) 879 - Containers are not removed from stats list on error [#20835](https://github.com/docker/docker/pull/20835) 880 - Fix `on-failure` restart policy when daemon restarts [#20853](https://github.com/docker/docker/pull/20853) 881 - Fix an issue with `stats` when a container is using another container's network [#21904](https://github.com/docker/docker/pull/21904) 882 883 ### Swarm Mode 884 885 + New `swarm` command to manage swarms with `init`, `join`, `join-token`, `leave`, `update` subcommands [#23361](https://github.com/docker/docker/pull/23361) [#24823](https://github.com/docker/docker/pull/24823) 886 + New `service` command to manage swarm-wide services with `create`, `inspect`, `update`, `rm`, `ps` subcommands [#23361](https://github.com/docker/docker/pull/23361) [#25140](https://github.com/docker/docker/pull/25140) 887 + New `node` command to manage nodes with `accept`, `promote`, `demote`, `inspect`, `update`, `ps`, `ls` and `rm` subcommands [#23361](https://github.com/docker/docker/pull/23361) [#25140](https://github.com/docker/docker/pull/25140) 888 + (experimental) New `stack` and `deploy` commands to manage and deploy multi-service applications [#23522](https://github.com/docker/docker/pull/23522) [#25140](https://github.com/docker/docker/pull/25140) 889 890 ### Volume 891 892 + Add support for local and global volume scopes (analogous to network scopes) [#22077](https://github.com/docker/docker/pull/22077) 893 + Allow volume drivers to provide a `Status` field [#21006](https://github.com/docker/docker/pull/21006) 894 + Add name/driver filter support for volume [#21361](https://github.com/docker/docker/pull/21361) 895 * Mount/Unmount operations now receives an opaque ID to allow volume drivers to differentiate between two callers [#21015](https://github.com/docker/docker/pull/21015) 896 - Fix issue preventing to remove a volume in a corner case [#22103](https://github.com/docker/docker/pull/22103) 897 - Windows: Enable auto-creation of host-path to match Linux [#22094](https://github.com/docker/docker/pull/22094) 898 899 900 ### DEPRECATION 901 * Environment variables `DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE` and `DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE` have been renamed 902 to `DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE` and `DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE` respectively [#22574](https://github.com/docker/docker/pull/22574) 903 * Remove deprecated `syslog-tag`, `gelf-tag`, `fluentd-tag` log option in favor of the more generic `tag` one [#22620](https://github.com/docker/docker/pull/22620) 904 * Remove deprecated feature of passing HostConfig at API container start [#22570](https://github.com/docker/docker/pull/22570) 905 * Remove deprecated `-f`/`--force` flag on docker tag [#23090](https://github.com/docker/docker/pull/23090) 906 * Remove deprecated `/containers/<id|name>/copy` endpoint [#22149](https://github.com/docker/docker/pull/22149) 907 * Remove deprecated `docker ps` flags `--since` and `--before` [#22138](https://github.com/docker/docker/pull/22138) 908 * Deprecate the old 3-args form of `docker import` [#23273](https://github.com/docker/docker/pull/23273) 909 910 ## 1.11.2 (2016-05-31) 911 912 ### Networking 913 914 - Fix a stale endpoint issue on overlay networks during ungraceful restart ([#23015](https://github.com/docker/docker/pull/23015)) 915 - Fix an issue where the wrong port could be reported by `docker inspect/ps/port` ([#22997](https://github.com/docker/docker/pull/22997)) 916 917 ### Runtime 918 919 - Fix a potential panic when running `docker build` ([#23032](https://github.com/docker/docker/pull/23032)) 920 - Fix interpretation of `--user` parameter ([#22998](https://github.com/docker/docker/pull/22998)) 921 - Fix a bug preventing container statistics to be correctly reported ([#22955](https://github.com/docker/docker/pull/22955)) 922 - Fix an issue preventing container to be restarted after daemon restart ([#22947](https://github.com/docker/docker/pull/22947)) 923 - Fix issues when running 32 bit binaries on Ubuntu 16.04 ([#22922](https://github.com/docker/docker/pull/22922)) 924 - Fix a possible deadlock on image deletion and container attach ([#22918](https://github.com/docker/docker/pull/22918)) 925 - Fix an issue where containers fail to start after a daemon restart if they depend on a containerized cluster store ([#22561](https://github.com/docker/docker/pull/22561)) 926 - Fix an issue causing `docker ps` to hang on CentOS when using devicemapper ([#22168](https://github.com/docker/docker/pull/22168), [#23067](https://github.com/docker/docker/pull/23067)) 927 - Fix a bug preventing to `docker exec` into a container when using devicemapper ([#22168](https://github.com/docker/docker/pull/22168), [#23067](https://github.com/docker/docker/pull/23067)) 928 929 930 ## 1.11.1 (2016-04-26) 931 932 ### Distribution 933 934 - Fix schema2 manifest media type to be of type `application/vnd.docker.container.image.v1+json` ([#21949](https://github.com/docker/docker/pull/21949)) 935 936 ### Documentation 937 938 + Add missing API documentation for changes introduced with 1.11.0 ([#22048](https://github.com/docker/docker/pull/22048)) 939 940 ### Builder 941 942 * Append label passed to `docker build` as arguments as an implicit `LABEL` command at the end of the processed `Dockerfile` ([#22184](https://github.com/docker/docker/pull/22184)) 943 944 ### Networking 945 946 - Fix a panic that would occur when forwarding DNS query ([#22261](https://github.com/docker/docker/pull/22261)) 947 - Fix an issue where OS threads could end up within an incorrect network namespace when using user defined networks ([#22261](https://github.com/docker/docker/pull/22261)) 948 949 ### Runtime 950 951 - Fix a bug preventing labels configuration to be reloaded via the config file ([#22299](https://github.com/docker/docker/pull/22299)) 952 - Fix a regression where container mounting `/var/run` would prevent other containers from being removed ([#22256](https://github.com/docker/docker/pull/22256)) 953 - Fix an issue where it would be impossible to update both `memory-swap` and `memory` value together ([#22255](https://github.com/docker/docker/pull/22255)) 954 - Fix a regression from 1.11.0 where the `/auth` endpoint would not initialize `serveraddress` if it is not provided ([#22254](https://github.com/docker/docker/pull/22254)) 955 - Add missing cleanup of container temporary files when cancelling a schedule restart ([#22237](https://github.com/docker/docker/pull/22237)) 956 - Remove scary error message when no restart policy is specified ([#21993](https://github.com/docker/docker/pull/21993)) 957 - Fix a panic that would occur when the plugins were activated via the json spec ([#22191](https://github.com/docker/docker/pull/22191)) 958 - Fix restart backoff logic to correctly reset delay if container ran for at least 10secs ([#22125](https://github.com/docker/docker/pull/22125)) 959 - Remove error message when a container restart get cancelled ([#22123](https://github.com/docker/docker/pull/22123)) 960 - Fix an issue where `docker` would not correctly clean up after `docker exec` ([#22121](https://github.com/docker/docker/pull/22121)) 961 - Fix a panic that could occur when serving concurrent `docker stats` commands ([#22120](https://github.com/docker/docker/pull/22120))` 962 - Revert deprecation of non-existent host directories auto-creation ([#22065](https://github.com/docker/docker/pull/22065)) 963 - Hide misleading rpc error on daemon shutdown ([#22058](https://github.com/docker/docker/pull/22058)) 964 965 ## 1.11.0 (2016-04-13) 966 967 **IMPORTANT**: With Docker 1.11, a Linux docker installation is now made of 4 binaries (`docker`, [`docker-containerd`](https://github.com/docker/containerd), [`docker-containerd-shim`](https://github.com/docker/containerd) and [`docker-runc`](https://github.com/opencontainers/runc)). If you have scripts relying on docker being a single static binaries, please make sure to update them. Interaction with the daemon stay the same otherwise, the usage of the other binaries should be transparent. A Windows docker installation remains a single binary, `docker.exe`. 968 969 ### Builder 970 971 - Fix a bug where Docker would not use the correct uid/gid when processing the `WORKDIR` command ([#21033](https://github.com/docker/docker/pull/21033)) 972 - Fix a bug where copy operations with userns would not use the proper uid/gid ([#20782](https://github.com/docker/docker/pull/20782), [#21162](https://github.com/docker/docker/pull/21162)) 973 974 ### Client 975 976 * Usage of the `:` separator for security option has been deprecated. `=` should be used instead ([#21232](https://github.com/docker/docker/pull/21232)) 977 + The client user agent is now passed to the registry on `pull`, `build`, `push`, `login` and `search` operations ([#21306](https://github.com/docker/docker/pull/21306), [#21373](https://github.com/docker/docker/pull/21373)) 978 * Allow setting the Domainname and Hostname separately through the API ([#20200](https://github.com/docker/docker/pull/20200)) 979 * Docker info will now warn users if it can not detect the kernel version or the operating system ([#21128](https://github.com/docker/docker/pull/21128)) 980 - Fix an issue where `docker stats --no-stream` output could be all 0s ([#20803](https://github.com/docker/docker/pull/20803)) 981 - Fix a bug where some newly started container would not appear in a running `docker stats` command ([#20792](https://github.com/docker/docker/pull/20792)) 982 * Post processing is no longer enabled for linux-cgo terminals ([#20587](https://github.com/docker/docker/pull/20587)) 983 - Values to `--hostname` are now refused if they do not comply with [RFC1123](https://tools.ietf.org/html/rfc1123) ([#20566](https://github.com/docker/docker/pull/20566)) 984 + Docker learned how to use a SOCKS proxy ([#20366](https://github.com/docker/docker/pull/20366), [#18373](https://github.com/docker/docker/pull/18373)) 985 + Docker now supports external credential stores ([#20107](https://github.com/docker/docker/pull/20107)) 986 * `docker ps` now supports displaying the list of volumes mounted inside a container ([#20017](https://github.com/docker/docker/pull/20017)) 987 * `docker info` now also reports Docker's root directory location ([#19986](https://github.com/docker/docker/pull/19986)) 988 - Docker now prohibits login in with an empty username (spaces are trimmed) ([#19806](https://github.com/docker/docker/pull/19806)) 989 * Docker events attributes are now sorted by key ([#19761](https://github.com/docker/docker/pull/19761)) 990 * `docker ps` no longer shows exported port for stopped containers ([#19483](https://github.com/docker/docker/pull/19483)) 991 - Docker now cleans after itself if a save/export command fails ([#17849](https://github.com/docker/docker/pull/17849)) 992 * Docker load learned how to display a progress bar ([#17329](https://github.com/docker/docker/pull/17329), [#120078](https://github.com/docker/docker/pull/20078)) 993 994 ### Distribution 995 996 - Fix a panic that occurred when pulling an image with 0 layers ([#21222](https://github.com/docker/docker/pull/21222)) 997 - Fix a panic that could occur on error while pushing to a registry with a misconfigured token service ([#21212](https://github.com/docker/docker/pull/21212)) 998 + All first-level delegation roles are now signed when doing a trusted push ([#21046](https://github.com/docker/docker/pull/21046)) 999 + OAuth support for registries was added ([#20970](https://github.com/docker/docker/pull/20970)) 1000 * `docker login` now handles token using the implementation found in [docker/distribution](https://github.com/docker/distribution) ([#20832](https://github.com/docker/docker/pull/20832)) 1001 * `docker login` will no longer prompt for an email ([#20565](https://github.com/docker/docker/pull/20565)) 1002 * Docker will now fallback to registry V1 if no basic auth credentials are available ([#20241](https://github.com/docker/docker/pull/20241)) 1003 * Docker will now try to resume layer download where it left off after a network error/timeout ([#19840](https://github.com/docker/docker/pull/19840)) 1004 - Fix generated manifest mediaType when pushing cross-repository ([#19509](https://github.com/docker/docker/pull/19509)) 1005 - Fix docker requesting additional push credentials when pulling an image if Content Trust is enabled ([#20382](https://github.com/docker/docker/pull/20382)) 1006 1007 ### Logging 1008 1009 - Fix a race in the journald log driver ([#21311](https://github.com/docker/docker/pull/21311)) 1010 * Docker syslog driver now uses the RFC-5424 format when emitting logs ([#20121](https://github.com/docker/docker/pull/20121)) 1011 * Docker GELF log driver now allows to specify the compression algorithm and level via the `gelf-compression-type` and `gelf-compression-level` options ([#19831](https://github.com/docker/docker/pull/19831)) 1012 * Docker daemon learned to output uncolorized logs via the `--raw-logs` options ([#19794](https://github.com/docker/docker/pull/19794)) 1013 + Docker, on Windows platform, now includes an ETW (Event Tracing in Windows) logging driver named `etwlogs` ([#19689](https://github.com/docker/docker/pull/19689)) 1014 * Journald log driver learned how to handle tags ([#19564](https://github.com/docker/docker/pull/19564)) 1015 + The fluentd log driver learned the following options: `fluentd-address`, `fluentd-buffer-limit`, `fluentd-retry-wait`, `fluentd-max-retries` and `fluentd-async-connect` ([#19439](https://github.com/docker/docker/pull/19439)) 1016 + Docker learned to send log to Google Cloud via the new `gcplogs` logging driver. ([#18766](https://github.com/docker/docker/pull/18766)) 1017 1018 1019 ### Misc 1020 1021 + When saving linked images together with `docker save` a subsequent `docker load` will correctly restore their parent/child relationship ([#21385](https://github.com/docker/docker/pull/21385)) 1022 + Support for building the Docker cli for OpenBSD was added ([#21325](https://github.com/docker/docker/pull/21325)) 1023 + Labels can now be applied at network, volume and image creation ([#21270](https://github.com/docker/docker/pull/21270)) 1024 * The `dockremap` is now created as a system user ([#21266](https://github.com/docker/docker/pull/21266)) 1025 - Fix a few response body leaks ([#21258](https://github.com/docker/docker/pull/21258)) 1026 - Docker, when run as a service with systemd, will now properly manage its processes cgroups ([#20633](https://github.com/docker/docker/pull/20633)) 1027 * `docker info` now reports the value of cgroup KernelMemory or emits a warning if it is not supported ([#20863](https://github.com/docker/docker/pull/20863)) 1028 * `docker info` now also reports the cgroup driver in use ([#20388](https://github.com/docker/docker/pull/20388)) 1029 * Docker completion is now available on PowerShell ([#19894](https://github.com/docker/docker/pull/19894)) 1030 * `dockerinit` is no more ([#19490](https://github.com/docker/docker/pull/19490),[#19851](https://github.com/docker/docker/pull/19851)) 1031 + Support for building Docker on arm64 was added ([#19013](https://github.com/docker/docker/pull/19013)) 1032 + Experimental support for building docker.exe in a native Windows Docker installation ([#18348](https://github.com/docker/docker/pull/18348)) 1033 1034 ### Networking 1035 1036 - Fix panic if a node is forcibly removed from the cluster ([#21671](https://github.com/docker/docker/pull/21671)) 1037 - Fix "error creating vxlan interface" when starting a container in a Swarm cluster ([#21671](https://github.com/docker/docker/pull/21671)) 1038 * `docker network inspect` will now report all endpoints whether they have an active container or not ([#21160](https://github.com/docker/docker/pull/21160)) 1039 + Experimental support for the MacVlan and IPVlan network drivers has been added ([#21122](https://github.com/docker/docker/pull/21122)) 1040 * Output of `docker network ls` is now sorted by network name ([#20383](https://github.com/docker/docker/pull/20383)) 1041 - Fix a bug where Docker would allow a network to be created with the reserved `default` name ([#19431](https://github.com/docker/docker/pull/19431)) 1042 * `docker network inspect` returns whether a network is internal or not ([#19357](https://github.com/docker/docker/pull/19357)) 1043 + Control IPv6 via explicit option when creating a network (`docker network create --ipv6`). This shows up as a new `EnableIPv6` field in `docker network inspect` ([#17513](https://github.com/docker/docker/pull/17513)) 1044 * Support for AAAA Records (aka IPv6 Service Discovery) in embedded DNS Server ([#21396](https://github.com/docker/docker/pull/21396)) 1045 - Fix to not forward docker domain IPv6 queries to external servers ([#21396](https://github.com/docker/docker/pull/21396)) 1046 * Multiple A/AAAA records from embedded DNS Server for DNS Round robin ([#21019](https://github.com/docker/docker/pull/21019)) 1047 - Fix endpoint count inconsistency after an ungraceful dameon restart ([#21261](https://github.com/docker/docker/pull/21261)) 1048 - Move the ownership of exposed ports and port-mapping options from Endpoint to Sandbox ([#21019](https://github.com/docker/docker/pull/21019)) 1049 - Fixed a bug which prevents docker reload when host is configured with ipv6.disable=1 ([#21019](https://github.com/docker/docker/pull/21019)) 1050 - Added inbuilt nil IPAM driver ([#21019](https://github.com/docker/docker/pull/21019)) 1051 - Fixed bug in iptables.Exists() logic [#21019](https://github.com/docker/docker/pull/21019) 1052 - Fixed a Veth interface leak when using overlay network ([#21019](https://github.com/docker/docker/pull/21019)) 1053 - Fixed a bug which prevents docker reload after a network delete during shutdown ([#20214](https://github.com/docker/docker/pull/20214)) 1054 - Make sure iptables chains are recreated on firewalld reload ([#20419](https://github.com/docker/docker/pull/20419)) 1055 - Allow to pass global datastore during config reload ([#20419](https://github.com/docker/docker/pull/20419)) 1056 - For anonymous containers use the alias name for IP to name mapping, ie:DNS PTR record ([#21019](https://github.com/docker/docker/pull/21019)) 1057 - Fix a panic when deleting an entry from /etc/hosts file ([#21019](https://github.com/docker/docker/pull/21019)) 1058 - Source the forwarded DNS queries from the container net namespace ([#21019](https://github.com/docker/docker/pull/21019)) 1059 - Fix to retain the network internal mode config for bridge networks on daemon reload ([#21780] (https://github.com/docker/docker/pull/21780)) 1060 - Fix to retain IPAM driver option configs on daemon reload ([#21914] (https://github.com/docker/docker/pull/21914)) 1061 1062 ### Plugins 1063 1064 - Fix a file descriptor leak that would occur every time plugins were enumerated ([#20686](https://github.com/docker/docker/pull/20686)) 1065 - Fix an issue where Authz plugin would corrupt the payload body when faced with a large amount of data ([#20602](https://github.com/docker/docker/pull/20602)) 1066 1067 ### Runtime 1068 1069 - Fix a panic that could occur when cleanup after a container started with invalid parameters ([#21716](https://github.com/docker/docker/pull/21716)) 1070 - Fix a race with event timers stopping early ([#21692](https://github.com/docker/docker/pull/21692)) 1071 - Fix race conditions in the layer store, potentially corrupting the map and crashing the process ([#21677](https://github.com/docker/docker/pull/21677)) 1072 - Un-deprecate auto-creation of host directories for mounts. This feature was marked deprecated in ([#21666](https://github.com/docker/docker/pull/21666)) 1073 Docker 1.9, but was decided to be too much of a backward-incompatible change, so it was decided to keep the feature. 1074 + It is now possible for containers to share the NET and IPC namespaces when `userns` is enabled ([#21383](https://github.com/docker/docker/pull/21383)) 1075 + `docker inspect <image-id>` will now expose the rootfs layers ([#21370](https://github.com/docker/docker/pull/21370)) 1076 + Docker Windows gained a minimal `top` implementation ([#21354](https://github.com/docker/docker/pull/21354)) 1077 * Docker learned to report the faulty exe when a container cannot be started due to its condition ([#21345](https://github.com/docker/docker/pull/21345)) 1078 * Docker with device mapper will now refuse to run if `udev sync` is not available ([#21097](https://github.com/docker/docker/pull/21097)) 1079 - Fix a bug where Docker would not validate the config file upon configuration reload ([#21089](https://github.com/docker/docker/pull/21089)) 1080 - Fix a hang that would happen on attach if initial start was to fail ([#21048](https://github.com/docker/docker/pull/21048)) 1081 - Fix an issue where registry service options in the daemon configuration file were not properly taken into account ([#21045](https://github.com/docker/docker/pull/21045)) 1082 - Fix a race between the exec and resize operations ([#21022](https://github.com/docker/docker/pull/21022)) 1083 - Fix an issue where nanoseconds were not correctly taken in account when filtering Docker events ([#21013](https://github.com/docker/docker/pull/21013)) 1084 - Fix the handling of Docker command when passed a 64 bytes id ([#21002](https://github.com/docker/docker/pull/21002)) 1085 * Docker will now return a `204` (i.e http.StatusNoContent) code when it successfully deleted a network ([#20977](https://github.com/docker/docker/pull/20977)) 1086 - Fix a bug where the daemon would wait indefinitely in case the process it was about to killed had already exited on its own ([#20967](https://github.com/docker/docker/pull/20967) 1087 * The devmapper driver learned the `dm.min_free_space` option. If the mapped device free space reaches the passed value, new device creation will be prohibited. ([#20786](https://github.com/docker/docker/pull/20786)) 1088 + Docker can now prevent processes in container to gain new privileges via the `--security-opt=no-new-privileges` flag ([#20727](https://github.com/docker/docker/pull/20727)) 1089 - Starting a container with the `--device` option will now correctly resolves symlinks ([#20684](https://github.com/docker/docker/pull/20684)) 1090 + Docker now relies on [`containerd`](https://github.com/docker/containerd) and [`runc`](https://github.com/opencontainers/runc) to spawn containers. ([#20662](https://github.com/docker/docker/pull/20662)) 1091 - Fix docker configuration reloading to only alter value present in the given config file ([#20604](https://github.com/docker/docker/pull/20604)) 1092 + Docker now allows setting a container hostname via the `--hostname` flag when `--net=host` ([#20177](https://github.com/docker/docker/pull/20177)) 1093 + Docker now allows executing privileged container while running with `--userns-remap` if both `--privileged` and the new `--userns=host` flag are specified ([#20111](https://github.com/docker/docker/pull/20111)) 1094 - Fix Docker not cleaning up correctly old containers upon restarting after a crash ([#19679](https://github.com/docker/docker/pull/19679)) 1095 * Docker will now error out if it doesn't recognize a configuration key within the config file ([#19517](https://github.com/docker/docker/pull/19517)) 1096 - Fix container loading, on daemon startup, when they depends on a plugin running within a container ([#19500](https://github.com/docker/docker/pull/19500)) 1097 * `docker update` learned how to change a container restart policy ([#19116](https://github.com/docker/docker/pull/19116)) 1098 * `docker inspect` now also returns a new `State` field containing the container state in a human readable way (i.e. one of `created`, `restarting`, `running`, `paused`, `exited` or `dead`)([#18966](https://github.com/docker/docker/pull/18966)) 1099 + Docker learned to limit the number of active pids (i.e. processes) within the container via the `pids-limit` flags. NOTE: This requires `CGROUP_PIDS=y` to be in the kernel configuration. ([#18697](https://github.com/docker/docker/pull/18697)) 1100 - `docker load` now has a `--quiet` option to suppress the load output ([#20078](https://github.com/docker/docker/pull/20078)) 1101 - Fix a bug in neighbor discovery for IPv6 peers ([#20842](https://github.com/docker/docker/pull/20842)) 1102 - Fix a panic during cleanup if a container was started with invalid options ([#21802](https://github.com/docker/docker/pull/21802)) 1103 - Fix a situation where a container cannot be stopped if the terminal is closed ([#21840](https://github.com/docker/docker/pull/21840)) 1104 1105 ### Security 1106 1107 * Object with the `pcp_pmcd_t` selinux type were given management access to `/var/lib/docker(/.*)?` ([#21370](https://github.com/docker/docker/pull/21370)) 1108 * `restart_syscall`, `copy_file_range`, `mlock2` joined the list of allowed calls in the default seccomp profile ([#21117](https://github.com/docker/docker/pull/21117), [#21262](https://github.com/docker/docker/pull/21262)) 1109 * `send`, `recv` and `x32` were added to the list of allowed syscalls and arch in the default seccomp profile ([#19432](https://github.com/docker/docker/pull/19432)) 1110 * Docker Content Trust now requests the server to perform snapshot signing ([#21046](https://github.com/docker/docker/pull/21046)) 1111 * Support for using YubiKeys for Content Trust signing has been moved out of experimental ([#21591](https://github.com/docker/docker/pull/21591)) 1112 1113 ### Volumes 1114 1115 * Output of `docker volume ls` is now sorted by volume name ([#20389](https://github.com/docker/docker/pull/20389)) 1116 * Local volumes can now accept options similar to the unix `mount` tool ([#20262](https://github.com/docker/docker/pull/20262)) 1117 - Fix an issue where one letter directory name could not be used as source for volumes ([#21106](https://github.com/docker/docker/pull/21106)) 1118 + `docker run -v` now accepts a new flag `nocopy`. This tells the runtime not to copy the container path content into the volume (which is the default behavior) ([#21223](https://github.com/docker/docker/pull/21223)) 1119 1120 ## 1.10.3 (2016-03-10) 1121 1122 ### Runtime 1123 1124 - Fix Docker client exiting with an "Unrecognized input header" error [#20706](https://github.com/docker/docker/pull/20706) 1125 - Fix Docker exiting if Exec is started with both `AttachStdin` and `Detach` [#20647](https://github.com/docker/docker/pull/20647) 1126 1127 ### Distribution 1128 1129 - Fix a crash when pushing multiple images sharing the same layers to the same repository in parallel [#20831](https://github.com/docker/docker/pull/20831) 1130 - Fix a panic when pushing images to a registry which uses a misconfigured token service [#21030](https://github.com/docker/docker/pull/21030) 1131 1132 ### Plugin system 1133 1134 - Fix issue preventing volume plugins to start when SELinux is enabled [#20834](https://github.com/docker/docker/pull/20834) 1135 - Prevent Docker from exiting if a volume plugin returns a null response for Get requests [#20682](https://github.com/docker/docker/pull/20682) 1136 - Fix plugin system leaking file descriptors if a plugin has an error [#20680](https://github.com/docker/docker/pull/20680) 1137 1138 ### Security 1139 1140 - Fix linux32 emulation to fail during docker build [#20672](https://github.com/docker/docker/pull/20672) 1141 It was due to the `personality` syscall being blocked by the default seccomp profile. 1142 - Fix Oracle XE 10g failing to start in a container [#20981](https://github.com/docker/docker/pull/20981) 1143 It was due to the `ipc` syscall being blocked by the default seccomp profile. 1144 - Fix user namespaces not working on Linux From Scratch [#20685](https://github.com/docker/docker/pull/20685) 1145 - Fix issue preventing daemon to start if userns is enabled and the `subuid` or `subgid` files contain comments [#20725](https://github.com/docker/docker/pull/20725) 1146 1147 ## 1.10.2 (2016-02-22) 1148 1149 ### Runtime 1150 1151 - Prevent systemd from deleting containers' cgroups when its configuration is reloaded [#20518](https://github.com/docker/docker/pull/20518) 1152 - Fix SELinux issues by disregarding `--read-only` when mounting `/dev/mqueue` [#20333](https://github.com/docker/docker/pull/20333) 1153 - Fix chown permissions used during `docker cp` when userns is used [#20446](https://github.com/docker/docker/pull/20446) 1154 - Fix configuration loading issue with all booleans defaulting to `true` [#20471](https://github.com/docker/docker/pull/20471) 1155 - Fix occasional panic with `docker logs -f` [#20522](https://github.com/docker/docker/pull/20522) 1156 1157 ### Distribution 1158 1159 - Keep layer reference if deletion failed to avoid a badly inconsistent state [#20513](https://github.com/docker/docker/pull/20513) 1160 - Handle gracefully a corner case when canceling migration [#20372](https://github.com/docker/docker/pull/20372) 1161 - Fix docker import on compressed data [#20367](https://github.com/docker/docker/pull/20367) 1162 - Fix tar-split files corruption during migration that later cause docker push and docker save to fail [#20458](https://github.com/docker/docker/pull/20458) 1163 1164 ### Networking 1165 1166 - Fix daemon crash if embedded DNS is sent garbage [#20510](https://github.com/docker/docker/pull/20510) 1167 1168 ### Volumes 1169 1170 - Fix issue with multiple volume references with same name [#20381](https://github.com/docker/docker/pull/20381) 1171 1172 ### Security 1173 1174 - Fix potential cache corruption and delegation conflict issues [#20523](https://github.com/docker/docker/pull/20523) 1175 1176 ## 1.10.1 (2016-02-11) 1177 1178 ### Runtime 1179 1180 * Do not stop daemon on migration hard failure [#20156](https://github.com/docker/docker/pull/20156) 1181 - Fix various issues with migration to content-addressable images [#20058](https://github.com/docker/docker/pull/20058) 1182 - Fix ZFS permission bug with user namespaces [#20045](https://github.com/docker/docker/pull/20045) 1183 - Do not leak /dev/mqueue from the host to all containers, keep it container-specific [#19876](https://github.com/docker/docker/pull/19876) [#20133](https://github.com/docker/docker/pull/20133) 1184 - Fix `docker ps --filter before=...` to not show stopped containers without providing `-a` flag [#20135](https://github.com/docker/docker/pull/20135) 1185 1186 ### Security 1187 1188 - Fix issue preventing docker events to work properly with authorization plugin [#20002](https://github.com/docker/docker/pull/20002) 1189 1190 ### Distribution 1191 1192 * Add additional verifications and prevent from uploading invalid data to registries [#20164](https://github.com/docker/docker/pull/20164) 1193 - Fix regression preventing uppercase characters in image reference hostname [#20175](https://github.com/docker/docker/pull/20175) 1194 1195 ### Networking 1196 1197 - Fix embedded DNS for user-defined networks in the presence of firewalld [#20060](https://github.com/docker/docker/pull/20060) 1198 - Fix issue where removing a network during shutdown left Docker inoperable [#20181](https://github.com/docker/docker/issues/20181) [#20235](https://github.com/docker/docker/issues/20235) 1199 - Embedded DNS is now able to return compressed results [#20181](https://github.com/docker/docker/issues/20181) 1200 - Fix port-mapping issue with `userland-proxy=false` [#20181](https://github.com/docker/docker/issues/20181) 1201 1202 ### Logging 1203 1204 - Fix bug where tcp+tls protocol would be rejected [#20109](https://github.com/docker/docker/pull/20109) 1205 1206 ### Volumes 1207 1208 - Fix issue whereby older volume drivers would not receive volume options [#19983](https://github.com/docker/docker/pull/19983) 1209 1210 ### Misc 1211 1212 - Remove TasksMax from Docker systemd service [#20167](https://github.com/docker/docker/pull/20167) 1213 1214 ## 1.10.0 (2016-02-04) 1215 1216 **IMPORTANT**: Docker 1.10 uses a new content-addressable storage for images and layers. 1217 A migration is performed the first time docker is run, and can take a significant amount of time depending on the number of images present. 1218 Refer to this page on the wiki for more information: https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration 1219 We also released a cool migration utility that enables you to perform the migration before updating to reduce downtime. 1220 Engine 1.10 migrator can be found on Docker Hub: https://hub.docker.com/r/docker/v1.10-migrator/ 1221 1222 ### Runtime 1223 1224 + New `docker update` command that allows updating resource constraints on running containers [#15078](https://github.com/docker/docker/pull/15078) 1225 + Add `--tmpfs` flag to `docker run` to create a tmpfs mount in a container [#13587](https://github.com/docker/docker/pull/13587) 1226 + Add `--format` flag to `docker images` command [#17692](https://github.com/docker/docker/pull/17692) 1227 + Allow to set daemon configuration in a file and hot-reload it with the `SIGHUP` signal [#18587](https://github.com/docker/docker/pull/18587) 1228 + Updated docker events to include more meta-data and event types [#18888](https://github.com/docker/docker/pull/18888) 1229 This change is backward compatible in the API, but not on the CLI. 1230 + Add `--blkio-weight-device` flag to `docker run` [#13959](https://github.com/docker/docker/pull/13959) 1231 + Add `--device-read-bps` and `--device-write-bps` flags to `docker run` [#14466](https://github.com/docker/docker/pull/14466) 1232 + Add `--device-read-iops` and `--device-write-iops` flags to `docker run` [#15879](https://github.com/docker/docker/pull/15879) 1233 + Add `--oom-score-adj` flag to `docker run` [#16277](https://github.com/docker/docker/pull/16277) 1234 + Add `--detach-keys` flag to `attach`, `run`, `start` and `exec` commands to override the default key sequence that detaches from a container [#15666](https://github.com/docker/docker/pull/15666) 1235 + Add `--shm-size` flag to `run`, `create` and `build` to set the size of `/dev/shm` [#16168](https://github.com/docker/docker/pull/16168) 1236 + Show the number of running, stopped, and paused containers in `docker info` [#19249](https://github.com/docker/docker/pull/19249) 1237 + Show the `OSType` and `Architecture` in `docker info` [#17478](https://github.com/docker/docker/pull/17478) 1238 + Add `--cgroup-parent` flag on `daemon` to set cgroup parent for all containers [#19062](https://github.com/docker/docker/pull/19062) 1239 + Add `-L` flag to docker cp to follow symlinks [#16613](https://github.com/docker/docker/pull/16613) 1240 + New `status=dead` filter for `docker ps` [#17908](https://github.com/docker/docker/pull/17908) 1241 * Change `docker run` exit codes to distinguish between runtime and application errors [#14012](https://github.com/docker/docker/pull/14012) 1242 * Enhance `docker events --since` and `--until` to support nanoseconds and timezones [#17495](https://github.com/docker/docker/pull/17495) 1243 * Add `--all`/`-a` flag to `stats` to include both running and stopped containers [#16742](https://github.com/docker/docker/pull/16742) 1244 * Change the default cgroup-driver to `cgroupfs` [#17704](https://github.com/docker/docker/pull/17704) 1245 * Emit a "tag" event when tagging an image with `build -t` [#17115](https://github.com/docker/docker/pull/17115) 1246 * Best effort for linked containers' start order when starting the daemon [#18208](https://github.com/docker/docker/pull/18208) 1247 * Add ability to add multiple tags on `build` [#15780](https://github.com/docker/docker/pull/15780) 1248 * Permit `OPTIONS` request against any url, thus fixing issue with CORS [#19569](https://github.com/docker/docker/pull/19569) 1249 - Fix the `--quiet` flag on `docker build` to actually be quiet [#17428](https://github.com/docker/docker/pull/17428) 1250 - Fix `docker images --filter dangling=false` to now show all non-dangling images [#19326](https://github.com/docker/docker/pull/19326) 1251 - Fix race condition causing autorestart turning off on restart [#17629](https://github.com/docker/docker/pull/17629) 1252 - Recognize GPFS filesystems [#19216](https://github.com/docker/docker/pull/19216) 1253 - Fix obscure bug preventing to start containers [#19751](https://github.com/docker/docker/pull/19751) 1254 - Forbid `exec` during container restart [#19722](https://github.com/docker/docker/pull/19722) 1255 - devicemapper: Increasing `--storage-opt dm.basesize` will now increase the base device size on daemon restart [#19123](https://github.com/docker/docker/pull/19123) 1256 1257 ### Security 1258 1259 + Add `--userns-remap` flag to `daemon` to support user namespaces (previously in experimental) [#19187](https://github.com/docker/docker/pull/19187) 1260 + Add support for custom seccomp profiles in `--security-opt` [#17989](https://github.com/docker/docker/pull/17989) 1261 + Add default seccomp profile [#18780](https://github.com/docker/docker/pull/18780) 1262 + Add `--authorization-plugin` flag to `daemon` to customize ACLs [#15365](https://github.com/docker/docker/pull/15365) 1263 + Docker Content Trust now supports the ability to read and write user delegations [#18887](https://github.com/docker/docker/pull/18887) 1264 This is an optional, opt-in feature that requires the explicit use of the Notary command-line utility in order to be enabled. 1265 Enabling delegation support in a specific repository will break the ability of Docker 1.9 and 1.8 to pull from that repository, if content trust is enabled. 1266 * Allow SELinux to run in a container when using the BTRFS storage driver [#16452](https://github.com/docker/docker/pull/16452) 1267 1268 ### Distribution 1269 1270 * Use content-addressable storage for images and layers [#17924](https://github.com/docker/docker/pull/17924) 1271 Note that a migration is performed the first time docker is run; it can take a significant amount of time depending on the number of images and containers present. 1272 Images no longer depend on the parent chain but contain a list of layer references. 1273 `docker load`/`docker save` tarballs now also contain content-addressable image configurations. 1274 For more information: https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration 1275 * Add support for the new [manifest format ("schema2")](https://github.com/docker/distribution/blob/master/docs/spec/manifest-v2-2.md) [#18785](https://github.com/docker/docker/pull/18785) 1276 * Lots of improvements for push and pull: performance++, retries on failed downloads, cancelling on client disconnect [#18353](https://github.com/docker/docker/pull/18353), [#18418](https://github.com/docker/docker/pull/18418), [#19109](https://github.com/docker/docker/pull/19109), [#18353](https://github.com/docker/docker/pull/18353) 1277 * Limit v1 protocol fallbacks [#18590](https://github.com/docker/docker/pull/18590) 1278 - Fix issue where docker could hang indefinitely waiting for a nonexistent process to pull an image [#19743](https://github.com/docker/docker/pull/19743) 1279 1280 ### Networking 1281 1282 + Use DNS-based discovery instead of `/etc/hosts` [#19198](https://github.com/docker/docker/pull/19198) 1283 + Support for network-scoped alias using `--net-alias` on `run` and `--alias` on `network connect` [#19242](https://github.com/docker/docker/pull/19242) 1284 + Add `--ip` and `--ip6` on `run` and `network connect` to support custom IP addresses for a container in a network [#19001](https://github.com/docker/docker/pull/19001) 1285 + Add `--ipam-opt` to `network create` for passing custom IPAM options [#17316](https://github.com/docker/docker/pull/17316) 1286 + Add `--internal` flag to `network create` to restrict external access to and from the network [#19276](https://github.com/docker/docker/pull/19276) 1287 + Add `kv.path` option to `--cluster-store-opt` [#19167](https://github.com/docker/docker/pull/19167) 1288 + Add `discovery.heartbeat` and `discovery.ttl` options to `--cluster-store-opt` to configure discovery TTL and heartbeat timer [#18204](https://github.com/docker/docker/pull/18204) 1289 + Add `--format` flag to `network inspect` [#17481](https://github.com/docker/docker/pull/17481) 1290 + Add `--link` to `network connect` to provide a container-local alias [#19229](https://github.com/docker/docker/pull/19229) 1291 + Support for Capability exchange with remote IPAM plugins [#18775](https://github.com/docker/docker/pull/18775) 1292 + Add `--force` to `network disconnect` to force container to be disconnected from network [#19317](https://github.com/docker/docker/pull/19317) 1293 * Support for multi-host networking using built-in overlay driver for all engine supported kernels: 3.10+ [#18775](https://github.com/docker/docker/pull/18775) 1294 * `--link` is now supported on `docker run` for containers in user-defined network [#19229](https://github.com/docker/docker/pull/19229) 1295 * Enhance `docker network rm` to allow removing multiple networks [#17489](https://github.com/docker/docker/pull/17489) 1296 * Include container names in `network inspect` [#17615](https://github.com/docker/docker/pull/17615) 1297 * Include auto-generated subnets for user-defined networks in `network inspect` [#17316](https://github.com/docker/docker/pull/17316) 1298 * Add `--filter` flag to `network ls` to hide predefined networks [#17782](https://github.com/docker/docker/pull/17782) 1299 * Add support for network connect/disconnect to stopped containers [#18906](https://github.com/docker/docker/pull/18906) 1300 * Add network ID to container inspect [#19323](https://github.com/docker/docker/pull/19323) 1301 - Fix MTU issue where Docker would not start with two or more default routes [#18108](https://github.com/docker/docker/pull/18108) 1302 - Fix duplicate IP address for containers [#18106](https://github.com/docker/docker/pull/18106) 1303 - Fix issue preventing sometimes docker from creating the bridge network [#19338](https://github.com/docker/docker/pull/19338) 1304 - Do not substitute 127.0.0.1 name server when using `--net=host` [#19573](https://github.com/docker/docker/pull/19573) 1305 1306 ### Logging 1307 1308 + New logging driver for Splunk [#16488](https://github.com/docker/docker/pull/16488) 1309 + Add support for syslog over TCP+TLS [#18998](https://github.com/docker/docker/pull/18998) 1310 * Enhance `docker logs --since` and `--until` to support nanoseconds and time [#17495](https://github.com/docker/docker/pull/17495) 1311 * Enhance AWS logs to auto-detect region [#16640](https://github.com/docker/docker/pull/16640) 1312 1313 ### Volumes 1314 1315 + Add support to set the mount propagation mode for a volume [#17034](https://github.com/docker/docker/pull/17034) 1316 * Add `ls` and `inspect` endpoints to volume plugin API [#16534](https://github.com/docker/docker/pull/16534) 1317 Existing plugins need to make use of these new APIs to satisfy users' expectation 1318 For that, please use the new MIME type `application/vnd.docker.plugins.v1.2+json` [#19549](https://github.com/docker/docker/pull/19549) 1319 - Fix data not being copied to named volumes [#19175](https://github.com/docker/docker/pull/19175) 1320 - Fix issues preventing volume drivers from being containerized [#19500](https://github.com/docker/docker/pull/19500) 1321 - Fix `docker volumes ls --dangling=false` to now show all non-dangling volumes [#19671](https://github.com/docker/docker/pull/19671) 1322 - Do not remove named volumes on container removal [#19568](https://github.com/docker/docker/pull/19568) 1323 - Allow external volume drivers to host anonymous volumes [#19190](https://github.com/docker/docker/pull/19190) 1324 1325 ### Builder 1326 1327 + Add support for `**` in `.dockerignore` to wildcard multiple levels of directories [#17090](https://github.com/docker/docker/pull/17090) 1328 - Fix handling of UTF-8 characters in Dockerfiles [#17055](https://github.com/docker/docker/pull/17055) 1329 - Fix permissions problem when reading from STDIN [#19283](https://github.com/docker/docker/pull/19283) 1330 1331 ### Client 1332 1333 + Add support for overriding the API version to use via an `DOCKER_API_VERSION` environment-variable [#15964](https://github.com/docker/docker/pull/15964) 1334 - Fix a bug preventing Windows clients to log in to Docker Hub [#19891](https://github.com/docker/docker/pull/19891) 1335 1336 ### Misc 1337 1338 * systemd: Set TasksMax in addition to LimitNPROC in systemd service file [#19391](https://github.com/docker/docker/pull/19391) 1339 1340 ### Deprecations 1341 1342 * Remove LXC support. The LXC driver was deprecated in Docker 1.8, and has now been removed [#17700](https://github.com/docker/docker/pull/17700) 1343 * Remove `--exec-driver` daemon flag, because it is no longer in use [#17700](https://github.com/docker/docker/pull/17700) 1344 * Remove old deprecated single-dashed long CLI flags (such as `-rm`; use `--rm` instead) [#17724](https://github.com/docker/docker/pull/17724) 1345 * Deprecate HostConfig at API container start [#17799](https://github.com/docker/docker/pull/17799) 1346 * Deprecate docker packages for newly EOL'd Linux distributions: Fedora 21 and Ubuntu 15.04 (Vivid) [#18794](https://github.com/docker/docker/pull/18794), [#18809](https://github.com/docker/docker/pull/18809) 1347 * Deprecate `-f` flag for docker tag [#18350](https://github.com/docker/docker/pull/18350) 1348 1349 ## 1.9.1 (2015-11-21) 1350 1351 ### Runtime 1352 1353 - Do not prevent daemon from booting if images could not be restored (#17695) 1354 - Force IPC mount to unmount on daemon shutdown/init (#17539) 1355 - Turn IPC unmount errors into warnings (#17554) 1356 - Fix `docker stats` performance regression (#17638) 1357 - Clarify cryptic error message upon `docker logs` if `--log-driver=none` (#17767) 1358 - Fix seldom panics (#17639, #17634, #17703) 1359 - Fix opq whiteouts problems for files with dot prefix (#17819) 1360 - devicemapper: try defaulting to xfs instead of ext4 for performance reasons (#17903, #17918) 1361 - devicemapper: fix displayed fs in docker info (#17974) 1362 - selinux: only relabel if user requested so with the `z` option (#17450, #17834) 1363 - Do not make network calls when normalizing names (#18014) 1364 1365 ### Client 1366 1367 - Fix `docker login` on windows (#17738) 1368 - Fix bug with `docker inspect` output when not connected to daemon (#17715) 1369 - Fix `docker inspect -f {{.HostConfig.Dns}} somecontainer` (#17680) 1370 1371 ### Builder 1372 1373 - Fix regression with symlink behavior in ADD/COPY (#17710) 1374 1375 ### Networking 1376 1377 - Allow passing a network ID as an argument for `--net` (#17558) 1378 - Fix connect to host and prevent disconnect from host for `host` network (#17476) 1379 - Fix `--fixed-cidr` issue when gateway ip falls in ip-range and ip-range is 1380 not the first block in the network (#17853) 1381 - Restore deterministic `IPv6` generation from `MAC` address on default `bridge` network (#17890) 1382 - Allow port-mapping only for endpoints created on docker run (#17858) 1383 - Fixed an endpoint delete issue with a possible stale sbox (#18102) 1384 1385 ### Distribution 1386 1387 - Correct parent chain in v2 push when v1Compatibility files on the disk are inconsistent (#18047) 1388 1389 ## 1.9.0 (2015-11-03) 1390 1391 ### Runtime 1392 1393 + `docker stats` now returns block IO metrics (#15005) 1394 + `docker stats` now details network stats per interface (#15786) 1395 + Add `ancestor=<image>` filter to `docker ps --filter` flag to filter 1396 containers based on their ancestor images (#14570) 1397 + Add `label=<somelabel>` filter to `docker ps --filter` to filter containers 1398 based on label (#16530) 1399 + Add `--kernel-memory` flag to `docker run` (#14006) 1400 + Add `--message` flag to `docker import` allowing to specify an optional 1401 message (#15711) 1402 + Add `--privileged` flag to `docker exec` (#14113) 1403 + Add `--stop-signal` flag to `docker run` allowing to replace the container 1404 process stopping signal (#15307) 1405 + Add a new `unless-stopped` restart policy (#15348) 1406 + Inspecting an image now returns tags (#13185) 1407 + Add container size information to `docker inspect` (#15796) 1408 + Add `RepoTags` and `RepoDigests` field to `/images/{name:.*}/json` (#17275) 1409 - Remove the deprecated `/container/ps` endpoint from the API (#15972) 1410 - Send and document correct HTTP codes for `/exec/<name>/start` (#16250) 1411 - Share shm and mqueue between containers sharing IPC namespace (#15862) 1412 - Event stream now shows OOM status when `--oom-kill-disable` is set (#16235) 1413 - Ensure special network files (/etc/hosts etc.) are read-only if bind-mounted 1414 with `ro` option (#14965) 1415 - Improve `rmi` performance (#16890) 1416 - Do not update /etc/hosts for the default bridge network, except for links (#17325) 1417 - Fix conflict with duplicate container names (#17389) 1418 - Fix an issue with incorrect template execution in `docker inspect` (#17284) 1419 - DEPRECATE `-c` short flag variant for `--cpu-shares` in docker run (#16271) 1420 1421 ### Client 1422 1423 + Allow `docker import` to import from local files (#11907) 1424 1425 ### Builder 1426 1427 + Add a `STOPSIGNAL` Dockerfile instruction allowing to set a different 1428 stop-signal for the container process (#15307) 1429 + Add an `ARG` Dockerfile instruction and a `--build-arg` flag to `docker build` 1430 that allows to add build-time environment variables (#15182) 1431 - Improve cache miss performance (#16890) 1432 1433 ### Storage 1434 1435 - devicemapper: Implement deferred deletion capability (#16381) 1436 1437 ## Networking 1438 1439 + `docker network` exits experimental and is part of standard release (#16645) 1440 + New network top-level concept, with associated subcommands and API (#16645) 1441 WARNING: the API is different from the experimental API 1442 + Support for multiple isolated/micro-segmented networks (#16645) 1443 + Built-in multihost networking using VXLAN based overlay driver (#14071) 1444 + Support for third-party network plugins (#13424) 1445 + Ability to dynamically connect containers to multiple networks (#16645) 1446 + Support for user-defined IP address management via pluggable IPAM drivers (#16910) 1447 + Add daemon flags `--cluster-store` and `--cluster-advertise` for built-in nodes discovery (#16229) 1448 + Add `--cluster-store-opt` for setting up TLS settings (#16644) 1449 + Add `--dns-opt` to the daemon (#16031) 1450 - DEPRECATE following container `NetworkSettings` fields in API v1.21: `EndpointID`, `Gateway`, 1451 `GlobalIPv6Address`, `GlobalIPv6PrefixLen`, `IPAddress`, `IPPrefixLen`, `IPv6Gateway` and `MacAddress`. 1452 Those are now specific to the `bridge` network. Use `NetworkSettings.Networks` to inspect 1453 the networking settings of a container per network. 1454 1455 ### Volumes 1456 1457 + New top-level `volume` subcommand and API (#14242) 1458 - Move API volume driver settings to host-specific config (#15798) 1459 - Print an error message if volume name is not unique (#16009) 1460 - Ensure volumes created from Dockerfiles always use the local volume driver 1461 (#15507) 1462 - DEPRECATE auto-creating missing host paths for bind mounts (#16349) 1463 1464 ### Logging 1465 1466 + Add `awslogs` logging driver for Amazon CloudWatch (#15495) 1467 + Add generic `tag` log option to allow customizing container/image 1468 information passed to driver (e.g. show container names) (#15384) 1469 - Implement the `docker logs` endpoint for the journald driver (#13707) 1470 - DEPRECATE driver-specific log tags (e.g. `syslog-tag`, etc.) (#15384) 1471 1472 ### Distribution 1473 1474 + `docker search` now works with partial names (#16509) 1475 - Push optimization: avoid buffering to file (#15493) 1476 - The daemon will display progress for images that were already being pulled 1477 by another client (#15489) 1478 - Only permissions required for the current action being performed are requested (#) 1479 + Renaming trust keys (and respective environment variables) from `offline` to 1480 `root` and `tagging` to `repository` (#16894) 1481 - DEPRECATE trust key environment variables 1482 `DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE` and 1483 `DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE` (#16894) 1484 1485 ### Security 1486 1487 + Add SELinux profiles to the rpm package (#15832) 1488 - Fix various issues with AppArmor profiles provided in the deb package 1489 (#14609) 1490 - Add AppArmor policy that prevents writing to /proc (#15571) 1491 1492 ## 1.8.3 (2015-10-12) 1493 1494 ### Distribution 1495 1496 - Fix layer IDs lead to local graph poisoning (CVE-2014-8178) 1497 - Fix manifest validation and parsing logic errors allow pull-by-digest validation bypass (CVE-2014-8179) 1498 + Add `--disable-legacy-registry` to prevent a daemon from using a v1 registry 1499 1500 ## 1.8.2 (2015-09-10) 1501 1502 ### Distribution 1503 1504 - Fixes rare edge case of handling GNU LongLink and LongName entries. 1505 - Fix ^C on docker pull. 1506 - Fix docker pull issues on client disconnection. 1507 - Fix issue that caused the daemon to panic when loggers weren't configured properly. 1508 - Fix goroutine leak pulling images from registry V2. 1509 1510 ### Runtime 1511 1512 - Fix a bug mounting cgroups for docker daemons running inside docker containers. 1513 - Initialize log configuration properly. 1514 1515 ### Client: 1516 1517 - Handle `-q` flag in `docker ps` properly when there is a default format. 1518 1519 ### Networking 1520 1521 - Fix several corner cases with netlink. 1522 1523 ### Contrib 1524 1525 - Fix several issues with bash completion. 1526 1527 ## 1.8.1 (2015-08-12) 1528 1529 ### Distribution 1530 1531 * Fix a bug where pushing multiple tags would result in invalid images 1532 1533 ## 1.8.0 (2015-08-11) 1534 1535 ### Distribution 1536 1537 + Trusted pull, push and build, disabled by default 1538 * Make tar layers deterministic between registries 1539 * Don't allow deleting the image of running containers 1540 * Check if a tag name to load is a valid digest 1541 * Allow one character repository names 1542 * Add a more accurate error description for invalid tag name 1543 * Make build cache ignore mtime 1544 1545 ### Cli 1546 1547 + Add support for DOCKER_CONFIG/--config to specify config file dir 1548 + Add --type flag for docker inspect command 1549 + Add formatting options to `docker ps` with `--format` 1550 + Replace `docker -d` with new subcommand `docker daemon` 1551 * Zsh completion updates and improvements 1552 * Add some missing events to bash completion 1553 * Support daemon urls with base paths in `docker -H` 1554 * Validate status= filter to docker ps 1555 * Display when a container is in --net=host in docker ps 1556 * Extend docker inspect to export image metadata related to graph driver 1557 * Restore --default-gateway{,-v6} daemon options 1558 * Add missing unpublished ports in docker ps 1559 * Allow duration strings in `docker events` as --since/--until 1560 * Expose more mounts information in `docker inspect` 1561 1562 ### Runtime 1563 1564 + Add new Fluentd logging driver 1565 + Allow `docker import` to load from local files 1566 + Add logging driver for GELF via UDP 1567 + Allow to copy files from host to containers with `docker cp` 1568 + Promote volume drivers from experimental to master 1569 + Add rollover options to json-file log driver, and --log-driver-opts flag 1570 + Add memory swappiness tuning options 1571 * Remove cgroup read-only flag when privileged 1572 * Make /proc, /sys, & /dev readonly for readonly containers 1573 * Add cgroup bind mount by default 1574 * Overlay: Export metadata for container and image in `docker inspect` 1575 * Devicemapper: external device activation 1576 * Devicemapper: Compare uuid of base device on startup 1577 * Remove RC4 from the list of registry cipher suites 1578 * Add syslog-facility option 1579 * LXC execdriver compatibility with recent LXC versions 1580 * Mark LXC execriver as deprecated (to be removed with the migration to runc) 1581 1582 ### Plugins 1583 1584 * Separate plugin sockets and specs locations 1585 * Allow TLS connections to plugins 1586 1587 ### Bug fixes 1588 1589 - Add missing 'Names' field to /containers/json API output 1590 - Make `docker rmi` of dangling images safe while pulling 1591 - Devicemapper: Change default basesize to 100G 1592 - Go Scheduler issue with sync.Mutex and gcc 1593 - Fix issue where Search API endpoint would panic due to empty AuthConfig 1594 - Set image canonical names correctly 1595 - Check dockerinit only if lxc driver is used 1596 - Fix ulimit usage of nproc 1597 - Always attach STDIN if -i,--interactive is specified 1598 - Show error messages when saving container state fails 1599 - Fixed incorrect assumption on --bridge=none treated as disable network 1600 - Check for invalid port specifications in host configuration 1601 - Fix endpoint leave failure for --net=host mode 1602 - Fix goroutine leak in the stats API if the container is not running 1603 - Check for apparmor file before reading it 1604 - Fix DOCKER_TLS_VERIFY being ignored 1605 - Set umask to the default on startup 1606 - Correct the message of pause and unpause a non-running container 1607 - Adjust disallowed CpuShares in container creation 1608 - ZFS: correctly apply selinux context 1609 - Display empty string instead of <nil> when IP opt is nil 1610 - `docker kill` returns error when container is not running 1611 - Fix COPY/ADD quoted/json form 1612 - Fix goroutine leak on logs -f with no output 1613 - Remove panic in nat package on invalid hostport 1614 - Fix container linking in Fedora 22 1615 - Fix error caused using default gateways outside of the allocated range 1616 - Format times in inspect command with a template as RFC3339Nano 1617 - Make registry client to accept 2xx and 3xx http status responses as successful 1618 - Fix race issue that caused the daemon to crash with certain layer downloads failed in a specific order. 1619 - Fix error when the docker ps format was not valid. 1620 - Remove redundant ip forward check. 1621 - Fix issue trying to push images to repository mirrors. 1622 - Fix error cleaning up network entrypoints when there is an initialization issue. 1623 1624 ## 1.7.1 (2015-07-14) 1625 1626 #### Runtime 1627 1628 - Fix default user spawning exec process with `docker exec` 1629 - Make `--bridge=none` not to configure the network bridge 1630 - Publish networking stats properly 1631 - Fix implicit devicemapper selection with static binaries 1632 - Fix socket connections that hung intermittently 1633 - Fix bridge interface creation on CentOS/RHEL 6.6 1634 - Fix local dns lookups added to resolv.conf 1635 - Fix copy command mounting volumes 1636 - Fix read/write privileges in volumes mounted with --volumes-from 1637 1638 #### Remote API 1639 1640 - Fix unmarshalling of Command and Entrypoint 1641 - Set limit for minimum client version supported 1642 - Validate port specification 1643 - Return proper errors when attach/reattach fail 1644 1645 #### Distribution 1646 1647 - Fix pulling private images 1648 - Fix fallback between registry V2 and V1 1649 1650 ## 1.7.0 (2015-06-16) 1651 1652 #### Runtime 1653 + Experimental feature: support for out-of-process volume plugins 1654 * The userland proxy can be disabled in favor of hairpin NAT using the daemon’s `--userland-proxy=false` flag 1655 * The `exec` command supports the `-u|--user` flag to specify the new process owner 1656 + Default gateway for containers can be specified daemon-wide using the `--default-gateway` and `--default-gateway-v6` flags 1657 + The CPU CFS (Completely Fair Scheduler) quota can be set in `docker run` using `--cpu-quota` 1658 + Container block IO can be controlled in `docker run` using`--blkio-weight` 1659 + ZFS support 1660 + The `docker logs` command supports a `--since` argument 1661 + UTS namespace can be shared with the host with `docker run --uts=host` 1662 1663 #### Quality 1664 * Networking stack was entirely rewritten as part of the libnetwork effort 1665 * Engine internals refactoring 1666 * Volumes code was entirely rewritten to support the plugins effort 1667 + Sending SIGUSR1 to a daemon will dump all goroutines stacks without exiting 1668 1669 #### Build 1670 + Support ${variable:-value} and ${variable:+value} syntax for environment variables 1671 + Support resource management flags `--cgroup-parent`, `--cpu-period`, `--cpu-quota`, `--cpuset-cpus`, `--cpuset-mems` 1672 + git context changes with branches and directories 1673 * The .dockerignore file support exclusion rules 1674 1675 #### Distribution 1676 + Client support for v2 mirroring support for the official registry 1677 1678 #### Bugfixes 1679 * Firewalld is now supported and will automatically be used when available 1680 * mounting --device recursively 1681 1682 ## 1.6.2 (2015-05-13) 1683 1684 #### Runtime 1685 - Revert change prohibiting mounting into /sys 1686 1687 ## 1.6.1 (2015-05-07) 1688 1689 #### Security 1690 - Fix read/write /proc paths (CVE-2015-3630) 1691 - Prohibit VOLUME /proc and VOLUME / (CVE-2015-3631) 1692 - Fix opening of file-descriptor 1 (CVE-2015-3627) 1693 - Fix symlink traversal on container respawn allowing local privilege escalation (CVE-2015-3629) 1694 - Prohibit mount of /sys 1695 1696 #### Runtime 1697 - Update AppArmor policy to not allow mounts 1698 1699 ## 1.6.0 (2015-04-07) 1700 1701 #### Builder 1702 + Building images from an image ID 1703 + Build containers with resource constraints, ie `docker build --cpu-shares=100 --memory=1024m...` 1704 + `commit --change` to apply specified Dockerfile instructions while committing the image 1705 + `import --change` to apply specified Dockerfile instructions while importing the image 1706 + Builds no longer continue in the background when canceled with CTRL-C 1707 1708 #### Client 1709 + Windows Support 1710 1711 #### Runtime 1712 + Container and image Labels 1713 + `--cgroup-parent` for specifying a parent cgroup to place container cgroup within 1714 + Logging drivers, `json-file`, `syslog`, or `none` 1715 + Pulling images by ID 1716 + `--ulimit` to set the ulimit on a container 1717 + `--default-ulimit` option on the daemon which applies to all created containers (and overwritten by `--ulimit` on run) 1718 1719 ## 1.5.0 (2015-02-10) 1720 1721 #### Builder 1722 + Dockerfile to use for a given `docker build` can be specified with the `-f` flag 1723 * Dockerfile and .dockerignore files can be themselves excluded as part of the .dockerignore file, thus preventing modifications to these files invalidating ADD or COPY instructions cache 1724 * ADD and COPY instructions accept relative paths 1725 * Dockerfile `FROM scratch` instruction is now interpreted as a no-base specifier 1726 * Improve performance when exposing a large number of ports 1727 1728 #### Hack 1729 + Allow client-side only integration tests for Windows 1730 * Include docker-py integration tests against Docker daemon as part of our test suites 1731 1732 #### Packaging 1733 + Support for the new version of the registry HTTP API 1734 * Speed up `docker push` for images with a majority of already existing layers 1735 - Fixed contacting a private registry through a proxy 1736 1737 #### Remote API 1738 + A new endpoint will stream live container resource metrics and can be accessed with the `docker stats` command 1739 + Containers can be renamed using the new `rename` endpoint and the associated `docker rename` command 1740 * Container `inspect` endpoint show the ID of `exec` commands running in this container 1741 * Container `inspect` endpoint show the number of times Docker auto-restarted the container 1742 * New types of event can be streamed by the `events` endpoint: ‘OOM’ (container died with out of memory), ‘exec_create’, and ‘exec_start' 1743 - Fixed returned string fields which hold numeric characters incorrectly omitting surrounding double quotes 1744 1745 #### Runtime 1746 + Docker daemon has full IPv6 support 1747 + The `docker run` command can take the `--pid=host` flag to use the host PID namespace, which makes it possible for example to debug host processes using containerized debugging tools 1748 + The `docker run` command can take the `--read-only` flag to make the container’s root filesystem mounted as readonly, which can be used in combination with volumes to force a container’s processes to only write to locations that will be persisted 1749 + Container total memory usage can be limited for `docker run` using the `--memory-swap` flag 1750 * Major stability improvements for devicemapper storage driver 1751 * Better integration with host system: containers will reflect changes to the host's `/etc/resolv.conf` file when restarted 1752 * Better integration with host system: per-container iptable rules are moved to the DOCKER chain 1753 - Fixed container exiting on out of memory to return an invalid exit code 1754 1755 #### Other 1756 * The HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables are properly taken into account by the client when connecting to the Docker daemon 1757 1758 ## 1.4.1 (2014-12-15) 1759 1760 #### Runtime 1761 - Fix issue with volumes-from and bind mounts not being honored after create 1762 1763 ## 1.4.0 (2014-12-11) 1764 1765 #### Notable Features since 1.3.0 1766 + Set key=value labels to the daemon (displayed in `docker info`), applied with 1767 new `-label` daemon flag 1768 + Add support for `ENV` in Dockerfile of the form: 1769 `ENV name=value name2=value2...` 1770 + New Overlayfs Storage Driver 1771 + `docker info` now returns an `ID` and `Name` field 1772 + Filter events by event name, container, or image 1773 + `docker cp` now supports copying from container volumes 1774 - Fixed `docker tag`, so it honors `--force` when overriding a tag for existing 1775 image. 1776 1777 ## 1.3.3 (2014-12-11) 1778 1779 #### Security 1780 - Fix path traversal vulnerability in processing of absolute symbolic links (CVE-2014-9356) 1781 - Fix decompression of xz image archives, preventing privilege escalation (CVE-2014-9357) 1782 - Validate image IDs (CVE-2014-9358) 1783 1784 #### Runtime 1785 - Fix an issue when image archives are being read slowly 1786 1787 #### Client 1788 - Fix a regression related to stdin redirection 1789 - Fix a regression with `docker cp` when destination is the current directory 1790 1791 ## 1.3.2 (2014-11-20) 1792 1793 #### Security 1794 - Fix tar breakout vulnerability 1795 * Extractions are now sandboxed chroot 1796 - Security options are no longer committed to images 1797 1798 #### Runtime 1799 - Fix deadlock in `docker ps -f exited=1` 1800 - Fix a bug when `--volumes-from` references a container that failed to start 1801 1802 #### Registry 1803 + `--insecure-registry` now accepts CIDR notation such as 10.1.0.0/16 1804 * Private registries whose IPs fall in the 127.0.0.0/8 range do no need the `--insecure-registry` flag 1805 - Skip the experimental registry v2 API when mirroring is enabled 1806 1807 ## 1.3.1 (2014-10-28) 1808 1809 #### Security 1810 * Prevent fallback to SSL protocols < TLS 1.0 for client, daemon and registry 1811 + Secure HTTPS connection to registries with certificate verification and without HTTP fallback unless `--insecure-registry` is specified 1812 1813 #### Runtime 1814 - Fix issue where volumes would not be shared 1815 1816 #### Client 1817 - Fix issue with `--iptables=false` not automatically setting `--ip-masq=false` 1818 - Fix docker run output to non-TTY stdout 1819 1820 #### Builder 1821 - Fix escaping `$` for environment variables 1822 - Fix issue with lowercase `onbuild` Dockerfile instruction 1823 - Restrict environment variable expansion to `ENV`, `ADD`, `COPY`, `WORKDIR`, `EXPOSE`, `VOLUME` and `USER` 1824 1825 ## 1.3.0 (2014-10-14) 1826 1827 #### Notable features since 1.2.0 1828 + Docker `exec` allows you to run additional processes inside existing containers 1829 + Docker `create` gives you the ability to create a container via the CLI without executing a process 1830 + `--security-opts` options to allow user to customize container labels and apparmor profiles 1831 + Docker `ps` filters 1832 - Wildcard support to COPY/ADD 1833 + Move production URLs to get.docker.com from get.docker.io 1834 + Allocate IP address on the bridge inside a valid CIDR 1835 + Use drone.io for PR and CI testing 1836 + Ability to setup an official registry mirror 1837 + Ability to save multiple images with docker `save` 1838 1839 ## 1.2.0 (2014-08-20) 1840 1841 #### Runtime 1842 + Make /etc/hosts /etc/resolv.conf and /etc/hostname editable at runtime 1843 + Auto-restart containers using policies 1844 + Use /var/lib/docker/tmp for large temporary files 1845 + `--cap-add` and `--cap-drop` to tweak what linux capability you want 1846 + `--device` to use devices in containers 1847 1848 #### Client 1849 + `docker search` on private registries 1850 + Add `exited` filter to `docker ps --filter` 1851 * `docker rm -f` now kills instead of stop 1852 + Support for IPv6 addresses in `--dns` flag 1853 1854 #### Proxy 1855 + Proxy instances in separate processes 1856 * Small bug fix on UDP proxy 1857 1858 ## 1.1.2 (2014-07-23) 1859 1860 #### Runtime 1861 + Fix port allocation for existing containers 1862 + Fix containers restart on daemon restart 1863 1864 #### Packaging 1865 + Fix /etc/init.d/docker issue on Debian 1866 1867 ## 1.1.1 (2014-07-09) 1868 1869 #### Builder 1870 * Fix issue with ADD 1871 1872 ## 1.1.0 (2014-07-03) 1873 1874 #### Notable features since 1.0.1 1875 + Add `.dockerignore` support 1876 + Pause containers during `docker commit` 1877 + Add `--tail` to `docker logs` 1878 1879 #### Builder 1880 + Allow a tar file as context for `docker build` 1881 * Fix issue with white-spaces and multi-lines in `Dockerfiles` 1882 1883 #### Runtime 1884 * Overall performance improvements 1885 * Allow `/` as source of `docker run -v` 1886 * Fix port allocation 1887 * Fix bug in `docker save` 1888 * Add links information to `docker inspect` 1889 1890 #### Client 1891 * Improve command line parsing for `docker commit` 1892 1893 #### Remote API 1894 * Improve status code for the `start` and `stop` endpoints 1895 1896 ## 1.0.1 (2014-06-19) 1897 1898 #### Notable features since 1.0.0 1899 * Enhance security for the LXC driver 1900 1901 #### Builder 1902 * Fix `ONBUILD` instruction passed to grandchildren 1903 1904 #### Runtime 1905 * Fix events subscription 1906 * Fix /etc/hostname file with host networking 1907 * Allow `-h` and `--net=none` 1908 * Fix issue with hotplug devices in `--privileged` 1909 1910 #### Client 1911 * Fix artifacts with events 1912 * Fix a panic with empty flags 1913 * Fix `docker cp` on Mac OS X 1914 1915 #### Miscellaneous 1916 * Fix compilation on Mac OS X 1917 * Fix several races 1918 1919 ## 1.0.0 (2014-06-09) 1920 1921 #### Notable features since 0.12.0 1922 * Production support 1923 1924 ## 0.12.0 (2014-06-05) 1925 1926 #### Notable features since 0.11.0 1927 * 40+ various improvements to stability, performance and usability 1928 * New `COPY` Dockerfile instruction to allow copying a local file from the context into the container without ever extracting if the file is a tar file 1929 * Inherit file permissions from the host on `ADD` 1930 * New `pause` and `unpause` commands to allow pausing and unpausing of containers using cgroup freezer 1931 * The `images` command has a `-f`/`--filter` option to filter the list of images 1932 * Add `--force-rm` to clean up after a failed build 1933 * Standardize JSON keys in Remote API to CamelCase 1934 * Pull from a docker run now assumes `latest` tag if not specified 1935 * Enhance security on Linux capabilities and device nodes 1936 1937 ## 0.11.1 (2014-05-07) 1938 1939 #### Registry 1940 - Fix push and pull to private registry 1941 1942 ## 0.11.0 (2014-05-07) 1943 1944 #### Notable features since 0.10.0 1945 1946 * SELinux support for mount and process labels 1947 * Linked containers can be accessed by hostname 1948 * Use the net `--net` flag to allow advanced network configuration such as host networking so that containers can use the host's network interfaces 1949 * Add a ping endpoint to the Remote API to do healthchecks of your docker daemon 1950 * Logs can now be returned with an optional timestamp 1951 * Docker now works with registries that support SHA-512 1952 * Multiple registry endpoints are supported to allow registry mirrors 1953 1954 ## 0.10.0 (2014-04-08) 1955 1956 #### Builder 1957 - Fix printing multiple messages on a single line. Fixes broken output during builds. 1958 - Follow symlinks inside container's root for ADD build instructions. 1959 - Fix EXPOSE caching. 1960 1961 #### Documentation 1962 - Add the new options of `docker ps` to the documentation. 1963 - Add the options of `docker restart` to the documentation. 1964 - Update daemon docs and help messages for --iptables and --ip-forward. 1965 - Updated apt-cacher-ng docs example. 1966 - Remove duplicate description of --mtu from docs. 1967 - Add missing -t and -v for `docker images` to the docs. 1968 - Add fixes to the cli docs. 1969 - Update libcontainer docs. 1970 - Update images in docs to remove references to AUFS and LXC. 1971 - Update the nodejs_web_app in the docs to use the new epel RPM address. 1972 - Fix external link on security of containers. 1973 - Update remote API docs. 1974 - Add image size to history docs. 1975 - Be explicit about binding to all interfaces in redis example. 1976 - Document DisableNetwork flag in the 1.10 remote api. 1977 - Document that `--lxc-conf` is lxc only. 1978 - Add chef usage documentation. 1979 - Add example for an image with multiple for `docker load`. 1980 - Explain what `docker run -a` does in the docs. 1981 1982 #### Contrib 1983 - Add variable for DOCKER_LOGFILE to sysvinit and use append instead of overwrite in opening the logfile. 1984 - Fix init script cgroup mounting workarounds to be more similar to cgroupfs-mount and thus work properly. 1985 - Remove inotifywait hack from the upstart host-integration example because it's not necessary any more. 1986 - Add check-config script to contrib. 1987 - Fix fish shell completion. 1988 1989 #### Hack 1990 * Clean up "go test" output from "make test" to be much more readable/scannable. 1991 * Exclude more "definitely not unit tested Go source code" directories from hack/make/test. 1992 + Generate md5 and sha256 hashes when building, and upload them via hack/release.sh. 1993 - Include contributed completions in Ubuntu PPA. 1994 + Add cli integration tests. 1995 * Add tweaks to the hack scripts to make them simpler. 1996 1997 #### Remote API 1998 + Add TLS auth support for API. 1999 * Move git clone from daemon to client. 2000 - Fix content-type detection in docker cp. 2001 * Split API into 2 go packages. 2002 2003 #### Runtime 2004 * Support hairpin NAT without going through Docker server. 2005 - devicemapper: succeed immediately when removing non-existent devices. 2006 - devicemapper: improve handling of devicemapper devices (add per device lock, increase sleep time and unlock while sleeping). 2007 - devicemapper: increase timeout in waitClose to 10 seconds. 2008 - devicemapper: ensure we shut down thin pool cleanly. 2009 - devicemapper: pass info, rather than hash to activateDeviceIfNeeded, deactivateDevice, setInitialized, deleteDevice. 2010 - devicemapper: avoid AB-BA deadlock. 2011 - devicemapper: make shutdown better/faster. 2012 - improve alpha sorting in mflag. 2013 - Remove manual http cookie management because the cookiejar is being used. 2014 - Use BSD raw mode on Darwin. Fixes nano, tmux and others. 2015 - Add FreeBSD support for the client. 2016 - Merge auth package into registry. 2017 - Add deprecation warning for -t on `docker pull`. 2018 - Remove goroutine leak on error. 2019 - Update parseLxcInfo to comply with new lxc1.0 format. 2020 - Fix attach exit on darwin. 2021 - Improve deprecation message. 2022 - Retry to retrieve the layer metadata up to 5 times for `docker pull`. 2023 - Only unshare the mount namespace for execin. 2024 - Merge existing config when committing. 2025 - Disable daemon startup timeout. 2026 - Fix issue #4681: add loopback interface when networking is disabled. 2027 - Add failing test case for issue #4681. 2028 - Send SIGTERM to child, instead of SIGKILL. 2029 - Show the driver and the kernel version in `docker info` even when not in debug mode. 2030 - Always symlink /dev/ptmx for libcontainer. This fixes console related problems. 2031 - Fix issue caused by the absence of /etc/apparmor.d. 2032 - Don't leave empty cidFile behind when failing to create the container. 2033 - Mount cgroups automatically if they're not mounted already. 2034 - Use mock for search tests. 2035 - Update to double-dash everywhere. 2036 - Move .dockerenv parsing to lxc driver. 2037 - Move all bind-mounts in the container inside the namespace. 2038 - Don't use separate bind mount for container. 2039 - Always symlink /dev/ptmx for libcontainer. 2040 - Don't kill by pid for other drivers. 2041 - Add initial logging to libcontainer. 2042 * Sort by port in `docker ps`. 2043 - Move networking drivers into runtime top level package. 2044 + Add --no-prune to `docker rmi`. 2045 + Add time since exit in `docker ps`. 2046 - graphdriver: add build tags. 2047 - Prevent allocation of previously allocated ports & prevent improve port allocation. 2048 * Add support for --since/--before in `docker ps`. 2049 - Clean up container stop. 2050 + Add support for configurable dns search domains. 2051 - Add support for relative WORKDIR instructions. 2052 - Add --output flag for docker save. 2053 - Remove duplication of DNS entries in config merging. 2054 - Add cpuset.cpus to cgroups and native driver options. 2055 - Remove docker-ci. 2056 - Promote btrfs. btrfs is no longer considered experimental. 2057 - Add --input flag to `docker load`. 2058 - Return error when existing bridge doesn't match IP address. 2059 - Strip comments before parsing line continuations to avoid interpreting instructions as comments. 2060 - Fix TestOnlyLoopbackExistsWhenUsingDisableNetworkOption to ignore "DOWN" interfaces. 2061 - Add systemd implementation of cgroups and make containers show up as systemd units. 2062 - Fix commit and import when no repository is specified. 2063 - Remount /var/lib/docker as --private to fix scaling issue. 2064 - Use the environment's proxy when pinging the remote registry. 2065 - Reduce error level from harmless errors. 2066 * Allow --volumes-from to be individual files. 2067 - Fix expanding buffer in StdCopy. 2068 - Set error regardless of attach or stdin. This fixes #3364. 2069 - Add support for --env-file to load environment variables from files. 2070 - Symlink /etc/mtab and /proc/mounts. 2071 - Allow pushing a single tag. 2072 - Shut down containers cleanly at shutdown and wait forever for the containers to shut down. This makes container shutdown on daemon shutdown work properly via SIGTERM. 2073 - Don't throw error when starting an already running container. 2074 - Fix dynamic port allocation limit. 2075 - remove setupDev from libcontainer. 2076 - Add API version to `docker version`. 2077 - Return correct exit code when receiving signal and make SIGQUIT quit without cleanup. 2078 - Fix --volumes-from mount failure. 2079 - Allow non-privileged containers to create device nodes. 2080 - Skip login tests because of external dependency on a hosted service. 2081 - Deprecate `docker images --tree` and `docker images --viz`. 2082 - Deprecate `docker insert`. 2083 - Include base abstraction for apparmor. This fixes some apparmor related problems on Ubuntu 14.04. 2084 - Add specific error message when hitting 401 over HTTP on push. 2085 - Fix absolute volume check. 2086 - Remove volumes-from from the config. 2087 - Move DNS options to hostconfig. 2088 - Update the apparmor profile for libcontainer. 2089 - Add deprecation notice for `docker commit -run`. 2090 2091 ## 0.9.1 (2014-03-24) 2092 2093 #### Builder 2094 - Fix printing multiple messages on a single line. Fixes broken output during builds. 2095 2096 #### Documentation 2097 - Fix external link on security of containers. 2098 2099 #### Contrib 2100 - Fix init script cgroup mounting workarounds to be more similar to cgroupfs-mount and thus work properly. 2101 - Add variable for DOCKER_LOGFILE to sysvinit and use append instead of overwrite in opening the logfile. 2102 2103 #### Hack 2104 - Generate md5 and sha256 hashes when building, and upload them via hack/release.sh. 2105 2106 #### Remote API 2107 - Fix content-type detection in `docker cp`. 2108 2109 #### Runtime 2110 - Use BSD raw mode on Darwin. Fixes nano, tmux and others. 2111 - Only unshare the mount namespace for execin. 2112 - Retry to retrieve the layer metadata up to 5 times for `docker pull`. 2113 - Merge existing config when committing. 2114 - Fix panic in monitor. 2115 - Disable daemon startup timeout. 2116 - Fix issue #4681: add loopback interface when networking is disabled. 2117 - Add failing test case for issue #4681. 2118 - Send SIGTERM to child, instead of SIGKILL. 2119 - Show the driver and the kernel version in `docker info` even when not in debug mode. 2120 - Always symlink /dev/ptmx for libcontainer. This fixes console related problems. 2121 - Fix issue caused by the absence of /etc/apparmor.d. 2122 - Don't leave empty cidFile behind when failing to create the container. 2123 - Improve deprecation message. 2124 - Fix attach exit on darwin. 2125 - devicemapper: improve handling of devicemapper devices (add per device lock, increase sleep time, unlock while sleeping). 2126 - devicemapper: succeed immediately when removing non-existent devices. 2127 - devicemapper: increase timeout in waitClose to 10 seconds. 2128 - Remove goroutine leak on error. 2129 - Update parseLxcInfo to comply with new lxc1.0 format. 2130 2131 ## 0.9.0 (2014-03-10) 2132 2133 #### Builder 2134 - Avoid extra mount/unmount during build. This fixes mount/unmount related errors during build. 2135 - Add error to docker build --rm. This adds missing error handling. 2136 - Forbid chained onbuild, `onbuild from` and `onbuild maintainer` triggers. 2137 - Make `--rm` the default for `docker build`. 2138 2139 #### Documentation 2140 - Download the docker client binary for Mac over https. 2141 - Update the titles of the install instructions & descriptions. 2142 * Add instructions for upgrading boot2docker. 2143 * Add port forwarding example in OS X install docs. 2144 - Attempt to disentangle repository and registry. 2145 - Update docs to explain more about `docker ps`. 2146 - Update sshd example to use a Dockerfile. 2147 - Rework some examples, including the Python examples. 2148 - Update docs to include instructions for a container's lifecycle. 2149 - Update docs documentation to discuss the docs branch. 2150 - Don't skip cert check for an example & use HTTPS. 2151 - Bring back the memory and swap accounting section which was lost when the kernel page was removed. 2152 - Explain DNS warnings and how to fix them on systems running and using a local nameserver. 2153 2154 #### Contrib 2155 - Add Tanglu support for mkimage-debootstrap. 2156 - Add SteamOS support for mkimage-debootstrap. 2157 2158 #### Hack 2159 - Get package coverage when running integration tests. 2160 - Remove the Vagrantfile. This is being replaced with boot2docker. 2161 - Fix tests on systems where aufs isn't available. 2162 - Update packaging instructions and remove the dependency on lxc. 2163 2164 #### Remote API 2165 * Move code specific to the API to the api package. 2166 - Fix header content type for the API. Makes all endpoints use proper content type. 2167 - Fix registry auth & remove ping calls from CmdPush and CmdPull. 2168 - Add newlines to the JSON stream functions. 2169 2170 #### Runtime 2171 * Do not ping the registry from the CLI. All requests to registries flow through the daemon. 2172 - Check for nil information return in the lxc driver. This fixes panics with older lxc versions. 2173 - Devicemapper: cleanups and fix for unmount. Fixes two problems which were causing unmount to fail intermittently. 2174 - Devicemapper: remove directory when removing device. Directories don't get left behind when removing the device. 2175 * Devicemapper: enable skip_block_zeroing. Improves performance by not zeroing blocks. 2176 - Devicemapper: fix shutdown warnings. Fixes shutdown warnings concerning pool device removal. 2177 - Ensure docker cp stream is closed properly. Fixes problems with files not being copied by `docker cp`. 2178 - Stop making `tcp://` default to `127.0.0.1:4243` and remove the default port for tcp. 2179 - Fix `--run` in `docker commit`. This makes `docker commit --run` work again. 2180 - Fix custom bridge related options. This makes custom bridges work again. 2181 + Mount-bind the PTY as container console. This allows tmux/screen to run. 2182 + Add the pure Go libcontainer library to make it possible to run containers using only features of the Linux kernel. 2183 + Add native exec driver which uses libcontainer and make it the default exec driver. 2184 - Add support for handling extended attributes in archives. 2185 * Set the container MTU to be the same as the host MTU. 2186 + Add simple sha256 checksums for layers to speed up `docker push`. 2187 * Improve kernel version parsing. 2188 * Allow flag grouping (`docker run -it`). 2189 - Remove chroot exec driver. 2190 - Fix divide by zero to fix panic. 2191 - Rewrite `docker rmi`. 2192 - Fix docker info with lxc 1.0.0. 2193 - Fix fedora tty with apparmor. 2194 * Don't always append env vars, replace defaults with vars from config. 2195 * Fix a goroutine leak. 2196 * Switch to Go 1.2.1. 2197 - Fix unique constraint error checks. 2198 * Handle symlinks for Docker's data directory and for TMPDIR. 2199 - Add deprecation warnings for flags (-flag is deprecated in favor of --flag) 2200 - Add apparmor profile for the native execution driver. 2201 * Move system specific code from archive to pkg/system. 2202 - Fix duplicate signal for `docker run -i -t` (issue #3336). 2203 - Return correct process pid for lxc. 2204 - Add a -G option to specify the group which unix sockets belong to. 2205 + Add `-f` flag to `docker rm` to force removal of running containers. 2206 + Kill ghost containers and restart all ghost containers when the docker daemon restarts. 2207 + Add `DOCKER_RAMDISK` environment variable to make Docker work when the root is on a ramdisk. 2208 2209 ## 0.8.1 (2014-02-18) 2210 2211 #### Builder 2212 2213 - Avoid extra mount/unmount during build. This removes an unneeded mount/unmount operation which was causing problems with devicemapper 2214 - Fix regression with ADD of tar files. This stops Docker from decompressing tarballs added via ADD from the local file system 2215 - Add error to `docker build --rm`. This adds a missing error check to ensure failures to remove containers are detected and reported 2216 2217 #### Documentation 2218 2219 * Update issue filing instructions 2220 * Warn against the use of symlinks for Docker's storage folder 2221 * Replace the Firefox example with an IceWeasel example 2222 * Rewrite the PostgreSQL example using a Dockerfile and add more details to it 2223 * Improve the OS X documentation 2224 2225 #### Remote API 2226 2227 - Fix broken images API for version less than 1.7 2228 - Use the right encoding for all API endpoints which return JSON 2229 - Move remote api client to api/ 2230 - Queue calls to the API using generic socket wait 2231 2232 #### Runtime 2233 2234 - Fix the use of custom settings for bridges and custom bridges 2235 - Refactor the devicemapper code to avoid many mount/unmount race conditions and failures 2236 - Remove two panics which could make Docker crash in some situations 2237 - Don't ping registry from the CLI client 2238 - Enable skip_block_zeroing for devicemapper. This stops devicemapper from always zeroing entire blocks 2239 - Fix --run in `docker commit`. This makes docker commit store `--run` in the image configuration 2240 - Remove directory when removing devicemapper device. This cleans up leftover mount directories 2241 - Drop NET_ADMIN capability for non-privileged containers. Unprivileged containers can't change their network configuration 2242 - Ensure `docker cp` stream is closed properly 2243 - Avoid extra mount/unmount during container registration. This removes an unneeded mount/unmount operation which was causing problems with devicemapper 2244 - Stop allowing tcp:// as a default tcp bin address which binds to 127.0.0.1:4243 and remove the default port 2245 + Mount-bind the PTY as container console. This allows tmux and screen to run in a container 2246 - Clean up archive closing. This fixes and improves archive handling 2247 - Fix engine tests on systems where temp directories are symlinked 2248 - Add test methods for save and load 2249 - Avoid temporarily unmounting the container when restarting it. This fixes a race for devicemapper during restart 2250 - Support submodules when building from a GitHub repository 2251 - Quote volume path to allow spaces 2252 - Fix remote tar ADD behavior. This fixes a regression which was causing Docker to extract tarballs 2253 2254 ## 0.8.0 (2014-02-04) 2255 2256 #### Notable features since 0.7.0 2257 2258 * Images and containers can be removed much faster 2259 * Building an image from source with docker build is now much faster 2260 * The Docker daemon starts and stops much faster 2261 * The memory footprint of many common operations has been reduced, by streaming files instead of buffering them in memory, fixing memory leaks, and fixing various suboptimal memory allocations 2262 * Several race conditions were fixed, making Docker more stable under very high concurrency load. This makes Docker more stable and less likely to crash and reduces the memory footprint of many common operations 2263 * All packaging operations are now built on the Go language’s standard tar implementation, which is bundled with Docker itself. This makes packaging more portable across host distributions, and solves several issues caused by quirks and incompatibilities between different distributions of tar 2264 * Docker can now create, remove and modify larger numbers of containers and images graciously thanks to more aggressive releasing of system resources. For example the storage driver API now allows Docker to do reference counting on mounts created by the drivers 2265 With the ongoing changes to the networking and execution subsystems of docker testing these areas have been a focus of the refactoring. By moving these subsystems into separate packages we can test, analyze, and monitor coverage and quality of these packages 2266 * Many components have been separated into smaller sub-packages, each with a dedicated test suite. As a result the code is better-tested, more readable and easier to change 2267 2268 * The ADD instruction now supports caching, which avoids unnecessarily re-uploading the same source content again and again when it hasn’t changed 2269 * The new ONBUILD instruction adds to your image a “trigger” instruction to be executed at a later time, when the image is used as the base for another build 2270 * Docker now ships with an experimental storage driver which uses the BTRFS filesystem for copy-on-write 2271 * Docker is officially supported on Mac OS X 2272 * The Docker daemon supports systemd socket activation 2273 2274 ## 0.7.6 (2014-01-14) 2275 2276 #### Builder 2277 2278 * Do not follow symlink outside of build context 2279 2280 #### Runtime 2281 2282 - Remount bind mounts when ro is specified 2283 * Use https for fetching docker version 2284 2285 #### Other 2286 2287 * Inline the test.docker.io fingerprint 2288 * Add ca-certificates to packaging documentation 2289 2290 ## 0.7.5 (2014-01-09) 2291 2292 #### Builder 2293 2294 * Disable compression for build. More space usage but a much faster upload 2295 - Fix ADD caching for certain paths 2296 - Do not compress archive from git build 2297 2298 #### Documentation 2299 2300 - Fix error in GROUP add example 2301 * Make sure the GPG fingerprint is inline in the documentation 2302 * Give more specific advice on setting up signing of commits for DCO 2303 2304 #### Runtime 2305 2306 - Fix misspelled container names 2307 - Do not add hostname when networking is disabled 2308 * Return most recent image from the cache by date 2309 - Return all errors from docker wait 2310 * Add Content-Type Header "application/json" to GET /version and /info responses 2311 2312 #### Other 2313 2314 * Update DCO to version 1.1 2315 + Update Makefile to use "docker:GIT_BRANCH" as the generated image name 2316 * Update Travis to check for new 1.1 DCO version 2317 2318 ## 0.7.4 (2014-01-07) 2319 2320 #### Builder 2321 2322 - Fix ADD caching issue with . prefixed path 2323 - Fix docker build on devicemapper by reverting sparse file tar option 2324 - Fix issue with file caching and prevent wrong cache hit 2325 * Use same error handling while unmarshalling CMD and ENTRYPOINT 2326 2327 #### Documentation 2328 2329 * Simplify and streamline Amazon Quickstart 2330 * Install instructions use unprefixed Fedora image 2331 * Update instructions for mtu flag for Docker on GCE 2332 + Add Ubuntu Saucy to installation 2333 - Fix for wrong version warning on master instead of latest 2334 2335 #### Runtime 2336 2337 - Only get the image's rootfs when we need to calculate the image size 2338 - Correctly handle unmapping UDP ports 2339 * Make CopyFileWithTar use a pipe instead of a buffer to save memory on docker build 2340 - Fix login message to say pull instead of push 2341 - Fix "docker load" help by removing "SOURCE" prompt and mentioning STDIN 2342 * Make blank -H option default to the same as no -H was sent 2343 * Extract cgroups utilities to own submodule 2344 2345 #### Other 2346 2347 + Add Travis CI configuration to validate DCO and gofmt requirements 2348 + Add Developer Certificate of Origin Text 2349 * Upgrade VBox Guest Additions 2350 * Check standalone header when pinging a registry server 2351 2352 ## 0.7.3 (2014-01-02) 2353 2354 #### Builder 2355 2356 + Update ADD to use the image cache, based on a hash of the added content 2357 * Add error message for empty Dockerfile 2358 2359 #### Documentation 2360 2361 - Fix outdated link to the "Introduction" on www.docker.io 2362 + Update the docs to get wider when the screen does 2363 - Add information about needing to install LXC when using raw binaries 2364 * Update Fedora documentation to disentangle the docker and docker.io conflict 2365 * Add a note about using the new `-mtu` flag in several GCE zones 2366 + Add FrugalWare installation instructions 2367 + Add a more complete example of `docker run` 2368 - Fix API documentation for creating and starting Privileged containers 2369 - Add missing "name" parameter documentation on "/containers/create" 2370 * Add a mention of `lxc-checkconfig` as a way to check for some of the necessary kernel configuration 2371 - Update the 1.8 API documentation with some additions that were added to the docs for 1.7 2372 2373 #### Hack 2374 2375 - Add missing libdevmapper dependency to the packagers documentation 2376 * Update minimum Go requirement to a hard line at Go 1.2+ 2377 * Many minor improvements to the Vagrantfile 2378 + Add ability to customize dockerinit search locations when compiling (to be used very sparingly only by packagers of platforms who require a nonstandard location) 2379 + Add coverprofile generation reporting 2380 - Add `-a` to our Go build flags, removing the need for recompiling the stdlib manually 2381 * Update Dockerfile to be more canonical and have less spurious warnings during build 2382 - Fix some miscellaneous `docker pull` progress bar display issues 2383 * Migrate more miscellaneous packages under the "pkg" folder 2384 * Update TextMate highlighting to automatically be enabled for files named "Dockerfile" 2385 * Reorganize syntax highlighting files under a common "contrib/syntax" directory 2386 * Update install.sh script (https://get.docker.io/) to not fail if busybox fails to download or run at the end of the Ubuntu/Debian installation 2387 * Add support for container names in bash completion 2388 2389 #### Packaging 2390 2391 + Add an official Docker client binary for Darwin (Mac OS X) 2392 * Remove empty "Vendor" string and added "License" on deb package 2393 + Add a stubbed version of "/etc/default/docker" in the deb package 2394 2395 #### Runtime 2396 2397 * Update layer application to extract tars in place, avoiding file churn while handling whiteouts 2398 - Fix permissiveness of mtime comparisons in tar handling (since GNU tar and Go tar do not yet support sub-second mtime precision) 2399 * Reimplement `docker top` in pure Go to work more consistently, and even inside Docker-in-Docker (thus removing the shell injection vulnerability present in some versions of `lxc-ps`) 2400 + Update `-H unix://` to work similarly to `-H tcp://` by inserting the default values for missing portions 2401 - Fix more edge cases regarding dockerinit and deleted or replaced docker or dockerinit files 2402 * Update container name validation to include '.' 2403 - Fix use of a symlink or non-absolute path as the argument to `-g` to work as expected 2404 * Update to handle external mounts outside of LXC, fixing many small mounting quirks and making future execution backends and other features simpler 2405 * Update to use proper box-drawing characters everywhere in `docker images -tree` 2406 * Move MTU setting from LXC configuration to directly use netlink 2407 * Add `-S` option to external tar invocation for more efficient spare file handling 2408 + Add arch/os info to User-Agent string, especially for registry requests 2409 + Add `-mtu` option to Docker daemon for configuring MTU 2410 - Fix `docker build` to exit with a non-zero exit code on error 2411 + Add `DOCKER_HOST` environment variable to configure the client `-H` flag without specifying it manually for every invocation 2412 2413 ## 0.7.2 (2013-12-16) 2414 2415 #### Runtime 2416 2417 + Validate container names on creation with standard regex 2418 * Increase maximum image depth to 127 from 42 2419 * Continue to move api endpoints to the job api 2420 + Add -bip flag to allow specification of dynamic bridge IP via CIDR 2421 - Allow bridge creation when ipv6 is not enabled on certain systems 2422 * Set hostname and IP address from within dockerinit 2423 * Drop capabilities from within dockerinit 2424 - Fix volumes on host when symlink is present the image 2425 - Prevent deletion of image if ANY container is depending on it even if the container is not running 2426 * Update docker push to use new progress display 2427 * Use os.Lstat to allow mounting unix sockets when inspecting volumes 2428 - Adjust handling of inactive user login 2429 - Add missing defines in devicemapper for older kernels 2430 - Allow untag operations with no container validation 2431 - Add auth config to docker build 2432 2433 #### Documentation 2434 2435 * Add more information about Docker logging 2436 + Add RHEL documentation 2437 * Add a direct example for changing the CMD that is run in a container 2438 * Update Arch installation documentation 2439 + Add section on Trusted Builds 2440 + Add Network documentation page 2441 2442 #### Other 2443 2444 + Add new cover bundle for providing code coverage reporting 2445 * Separate integration tests in bundles 2446 * Make Tianon the hack maintainer 2447 * Update mkimage-debootstrap with more tweaks for keeping images small 2448 * Use https to get the install script 2449 * Remove vendored dotcloud/tar now that Go 1.2 has been released 2450 2451 ## 0.7.1 (2013-12-05) 2452 2453 #### Documentation 2454 2455 + Add @SvenDowideit as documentation maintainer 2456 + Add links example 2457 + Add documentation regarding ambassador pattern 2458 + Add Google Cloud Platform docs 2459 + Add dockerfile best practices 2460 * Update doc for RHEL 2461 * Update doc for registry 2462 * Update Postgres examples 2463 * Update doc for Ubuntu install 2464 * Improve remote api doc 2465 2466 #### Runtime 2467 2468 + Add hostconfig to docker inspect 2469 + Implement `docker log -f` to stream logs 2470 + Add env variable to disable kernel version warning 2471 + Add -format to `docker inspect` 2472 + Support bind-mount for files 2473 - Fix bridge creation on RHEL 2474 - Fix image size calculation 2475 - Make sure iptables are called even if the bridge already exists 2476 - Fix issue with stderr only attach 2477 - Remove init layer when destroying a container 2478 - Fix same port binding on different interfaces 2479 - `docker build` now returns the correct exit code 2480 - Fix `docker port` to display correct port 2481 - `docker build` now check that the dockerfile exists client side 2482 - `docker attach` now returns the correct exit code 2483 - Remove the name entry when the container does not exist 2484 2485 #### Registry 2486 2487 * Improve progress bars, add ETA for downloads 2488 * Simultaneous pulls now waits for the first to finish instead of failing 2489 - Tag only the top-layer image when pushing to registry 2490 - Fix issue with offline image transfer 2491 - Fix issue preventing using ':' in password for registry 2492 2493 #### Other 2494 2495 + Add pprof handler for debug 2496 + Create a Makefile 2497 * Use stdlib tar that now includes fix 2498 * Improve make.sh test script 2499 * Handle SIGQUIT on the daemon 2500 * Disable verbose during tests 2501 * Upgrade to go1.2 for official build 2502 * Improve unit tests 2503 * The test suite now runs all tests even if one fails 2504 * Refactor C in Go (Devmapper) 2505 - Fix OS X compilation 2506 2507 ## 0.7.0 (2013-11-25) 2508 2509 #### Notable features since 0.6.0 2510 2511 * Storage drivers: choose from aufs, device-mapper, or vfs. 2512 * Standard Linux support: docker now runs on unmodified Linux kernels and all major distributions. 2513 * Links: compose complex software stacks by connecting containers to each other. 2514 * Container naming: organize your containers by giving them memorable names. 2515 * Advanced port redirects: specify port redirects per interface, or keep sensitive ports private. 2516 * Offline transfer: push and pull images to the filesystem without losing information. 2517 * Quality: numerous bugfixes and small usability improvements. Significant increase in test coverage. 2518 2519 ## 0.6.7 (2013-11-21) 2520 2521 #### Runtime 2522 2523 * Improve stability, fixes some race conditions 2524 * Skip the volumes mounted when deleting the volumes of container. 2525 * Fix layer size computation: handle hard links correctly 2526 * Use the work Path for docker cp CONTAINER:PATH 2527 * Fix tmp dir never cleanup 2528 * Speedup docker ps 2529 * More informative error message on name collisions 2530 * Fix nameserver regex 2531 * Always return long id's 2532 * Fix container restart race condition 2533 * Keep published ports on docker stop;docker start 2534 * Fix container networking on Fedora 2535 * Correctly express "any address" to iptables 2536 * Fix network setup when reconnecting to ghost container 2537 * Prevent deletion if image is used by a running container 2538 * Lock around read operations in graph 2539 2540 #### RemoteAPI 2541 2542 * Return full ID on docker rmi 2543 2544 #### Client 2545 2546 + Add -tree option to images 2547 + Offline image transfer 2548 * Exit with status 2 on usage error and display usage on stderr 2549 * Do not forward SIGCHLD to container 2550 * Use string timestamp for docker events -since 2551 2552 #### Other 2553 2554 * Update to go 1.2rc5 2555 + Add /etc/default/docker support to upstart 2556 2557 ## 0.6.6 (2013-11-06) 2558 2559 #### Runtime 2560 2561 * Ensure container name on register 2562 * Fix regression in /etc/hosts 2563 + Add lock around write operations in graph 2564 * Check if port is valid 2565 * Fix restart runtime error with ghost container networking 2566 + Add some more colors and animals to increase the pool of generated names 2567 * Fix issues in docker inspect 2568 + Escape apparmor confinement 2569 + Set environment variables using a file. 2570 * Prevent docker insert to erase something 2571 + Prevent DNS server conflicts in CreateBridgeIface 2572 + Validate bind mounts on the server side 2573 + Use parent image config in docker build 2574 * Fix regression in /etc/hosts 2575 2576 #### Client 2577 2578 + Add -P flag to publish all exposed ports 2579 + Add -notrunc and -q flags to docker history 2580 * Fix docker commit, tag and import usage 2581 + Add stars, trusted builds and library flags in docker search 2582 * Fix docker logs with tty 2583 2584 #### RemoteAPI 2585 2586 * Make /events API send headers immediately 2587 * Do not split last column docker top 2588 + Add size to history 2589 2590 #### Other 2591 2592 + Contrib: Desktop integration. Firefox usecase. 2593 + Dockerfile: bump to go1.2rc3 2594 2595 ## 0.6.5 (2013-10-29) 2596 2597 #### Runtime 2598 2599 + Containers can now be named 2600 + Containers can now be linked together for service discovery 2601 + 'run -a', 'start -a' and 'attach' can forward signals to the container for better integration with process supervisors 2602 + Automatically start crashed containers after a reboot 2603 + Expose IP, port, and proto as separate environment vars for container links 2604 * Allow ports to be published to specific ips 2605 * Prohibit inter-container communication by default 2606 - Ignore ErrClosedPipe for stdin in Container.Attach 2607 - Remove unused field kernelVersion 2608 * Fix issue when mounting subdirectories of /mnt in container 2609 - Fix untag during removal of images 2610 * Check return value of syscall.Chdir when changing working directory inside dockerinit 2611 2612 #### Client 2613 2614 - Only pass stdin to hijack when needed to avoid closed pipe errors 2615 * Use less reflection in command-line method invocation 2616 - Monitor the tty size after starting the container, not prior 2617 - Remove useless os.Exit() calls after log.Fatal 2618 2619 #### Hack 2620 2621 + Add initial init scripts library and a safer Ubuntu packaging script that works for Debian 2622 * Add -p option to invoke debootstrap with http_proxy 2623 - Update install.sh with $sh_c to get sudo/su for modprobe 2624 * Update all the mkimage scripts to use --numeric-owner as a tar argument 2625 * Update hack/release.sh process to automatically invoke hack/make.sh and bail on build and test issues 2626 2627 #### Other 2628 2629 * Documentation: Fix the flags for nc in example 2630 * Testing: Remove warnings and prevent mount issues 2631 - Testing: Change logic for tty resize to avoid warning in tests 2632 - Builder: Fix race condition in docker build with verbose output 2633 - Registry: Fix content-type for PushImageJSONIndex method 2634 * Contrib: Improve helper tools to generate debian and Arch linux server images 2635 2636 ## 0.6.4 (2013-10-16) 2637 2638 #### Runtime 2639 2640 - Add cleanup of container when Start() fails 2641 * Add better comments to utils/stdcopy.go 2642 * Add utils.Errorf for error logging 2643 + Add -rm to docker run for removing a container on exit 2644 - Remove error messages which are not actually errors 2645 - Fix `docker rm` with volumes 2646 - Fix some error cases where an HTTP body might not be closed 2647 - Fix panic with wrong dockercfg file 2648 - Fix the attach behavior with -i 2649 * Record termination time in state. 2650 - Use empty string so TempDir uses the OS's temp dir automatically 2651 - Make sure to close the network allocators 2652 + Autorestart containers by default 2653 * Bump vendor kr/pty to commit 3b1f6487b `(syscall.O_NOCTTY)` 2654 * lxc: Allow set_file_cap capability in container 2655 - Move run -rm to the cli only 2656 * Split stdout stderr 2657 * Always create a new session for the container 2658 2659 #### Testing 2660 2661 - Add aggregated docker-ci email report 2662 - Add cleanup to remove leftover containers 2663 * Add nightly release to docker-ci 2664 * Add more tests around auth.ResolveAuthConfig 2665 - Remove a few errors in tests 2666 - Catch errClosing error when TCP and UDP proxies are terminated 2667 * Only run certain tests with TESTFLAGS='-run TestName' make.sh 2668 * Prevent docker-ci to test closing PRs 2669 * Replace panic by log.Fatal in tests 2670 - Increase TestRunDetach timeout 2671 2672 #### Documentation 2673 2674 * Add initial draft of the Docker infrastructure doc 2675 * Add devenvironment link to CONTRIBUTING.md 2676 * Add `apt-get install curl` to Ubuntu docs 2677 * Add explanation for export restrictions 2678 * Add .dockercfg doc 2679 * Remove Gentoo install notes about #1422 workaround 2680 * Fix help text for -v option 2681 * Fix Ping endpoint documentation 2682 - Fix parameter names in docs for ADD command 2683 - Fix ironic typo in changelog 2684 * Various command fixes in postgres example 2685 * Document how to edit and release docs 2686 - Minor updates to `postgresql_service.rst` 2687 * Clarify LGTM process to contributors 2688 - Corrected error in the package name 2689 * Document what `vagrant up` is actually doing 2690 + improve doc search results 2691 * Cleanup whitespace in API 1.5 docs 2692 * use angle brackets in MAINTAINER example email 2693 * Update archlinux.rst 2694 + Changes to a new style for the docs. Includes version switcher. 2695 * Formatting, add information about multiline json 2696 * Improve registry and index REST API documentation 2697 - Replace deprecated upgrading reference to docker-latest.tgz, which hasn't been updated since 0.5.3 2698 * Update Gentoo installation documentation now that we're in the portage tree proper 2699 * Cleanup and reorganize docs and tooling for contributors and maintainers 2700 - Minor spelling correction of protocoll -> protocol 2701 2702 #### Contrib 2703 2704 * Add vim syntax highlighting for Dockerfiles from @honza 2705 * Add mkimage-arch.sh 2706 * Reorganize contributed completion scripts to add zsh completion 2707 2708 #### Hack 2709 2710 * Add vagrant user to the docker group 2711 * Add proper bash completion for "docker push" 2712 * Add xz utils as a runtime dep 2713 * Add cleanup/refactor portion of #2010 for hack and Dockerfile updates 2714 + Add contrib/mkimage-centos.sh back (from #1621), and associated documentation link 2715 * Add several of the small make.sh fixes from #1920, and make the output more consistent and contributor-friendly 2716 + Add @tianon to hack/MAINTAINERS 2717 * Improve network performance for VirtualBox 2718 * Revamp install.sh to be usable by more people, and to use official install methods whenever possible (apt repo, portage tree, etc.) 2719 - Fix contrib/mkimage-debian.sh apt caching prevention 2720 + Add Dockerfile.tmLanguage to contrib 2721 * Configured FPM to make /etc/init/docker.conf a config file 2722 * Enable SSH Agent forwarding in Vagrant VM 2723 * Several small tweaks/fixes for contrib/mkimage-debian.sh 2724 2725 #### Other 2726 2727 - Builder: Abort build if mergeConfig returns an error and fix duplicate error message 2728 - Packaging: Remove deprecated packaging directory 2729 - Registry: Use correct auth config when logging in. 2730 - Registry: Fix the error message so it is the same as the regex 2731 2732 ## 0.6.3 (2013-09-23) 2733 2734 #### Packaging 2735 2736 * Add 'docker' group on install for ubuntu package 2737 * Update tar vendor dependency 2738 * Download apt key over HTTPS 2739 2740 #### Runtime 2741 2742 - Only copy and change permissions on non-bindmount volumes 2743 * Allow multiple volumes-from 2744 - Fix HTTP imports from STDIN 2745 2746 #### Documentation 2747 2748 * Update section on extracting the docker binary after build 2749 * Update development environment docs for new build process 2750 * Remove 'base' image from documentation 2751 2752 #### Other 2753 2754 - Client: Fix detach issue 2755 - Registry: Update regular expression to match index 2756 2757 ## 0.6.2 (2013-09-17) 2758 2759 #### Runtime 2760 2761 + Add domainname support 2762 + Implement image filtering with path.Match 2763 * Remove unnecessary warnings 2764 * Remove os/user dependency 2765 * Only mount the hostname file when the config exists 2766 * Handle signals within the `docker login` command 2767 - UID and GID are now also applied to volumes 2768 - `docker start` set error code upon error 2769 - `docker run` set the same error code as the process started 2770 2771 #### Builder 2772 2773 + Add -rm option in order to remove intermediate containers 2774 * Allow multiline for the RUN instruction 2775 2776 #### Registry 2777 2778 * Implement login with private registry 2779 - Fix push issues 2780 2781 #### Other 2782 2783 + Hack: Vendor all dependencies 2784 * Remote API: Bump to v1.5 2785 * Packaging: Break down hack/make.sh into small scripts, one per 'bundle': test, binary, ubuntu etc. 2786 * Documentation: General improvements 2787 2788 ## 0.6.1 (2013-08-23) 2789 2790 #### Registry 2791 2792 * Pass "meta" headers in API calls to the registry 2793 2794 #### Packaging 2795 2796 - Use correct upstart script with new build tool 2797 - Use libffi-dev, don`t build it from sources 2798 - Remove duplicate mercurial install command 2799 2800 ## 0.6.0 (2013-08-22) 2801 2802 #### Runtime 2803 2804 + Add lxc-conf flag to allow custom lxc options 2805 + Add an option to set the working directory 2806 * Add Image name to LogEvent tests 2807 + Add -privileged flag and relevant tests, docs, and examples 2808 * Add websocket support to /container/<name>/attach/ws 2809 * Add warning when net.ipv4.ip_forwarding = 0 2810 * Add hostname to environment 2811 * Add last stable version in `docker version` 2812 - Fix race conditions in parallel pull 2813 - Fix Graph ByParent() to generate list of child images per parent image. 2814 - Fix typo: fmt.Sprint -> fmt.Sprintf 2815 - Fix small \n error un docker build 2816 * Fix to "Inject dockerinit at /.dockerinit" 2817 * Fix #910. print user name to docker info output 2818 * Use Go 1.1.2 for dockerbuilder 2819 * Use ranged for loop on channels 2820 - Use utils.ParseRepositoryTag instead of strings.Split(name, ":") in server.ImageDelete 2821 - Improve CMD, ENTRYPOINT, and attach docs. 2822 - Improve connect message with socket error 2823 - Load authConfig only when needed and fix useless WARNING 2824 - Show tag used when image is missing 2825 * Apply volumes-from before creating volumes 2826 - Make docker run handle SIGINT/SIGTERM 2827 - Prevent crash when .dockercfg not readable 2828 - Install script should be fetched over https, not http. 2829 * API, issue 1471: Use groups for socket permissions 2830 - Correctly detect IPv4 forwarding 2831 * Mount /dev/shm as a tmpfs 2832 - Switch from http to https for get.docker.io 2833 * Let userland proxy handle container-bound traffic 2834 * Update the Docker CLI to specify a value for the "Host" header. 2835 - Change network range to avoid conflict with EC2 DNS 2836 - Reduce connect and read timeout when pinging the registry 2837 * Parallel pull 2838 - Handle ip route showing mask-less IP addresses 2839 * Allow ENTRYPOINT without CMD 2840 - Always consider localhost as a domain name when parsing the FQN repos name 2841 * Refactor checksum 2842 2843 #### Documentation 2844 2845 * Add MongoDB image example 2846 * Add instructions for creating and using the docker group 2847 * Add sudo to examples and installation to documentation 2848 * Add ufw doc 2849 * Add a reference to ps -a 2850 * Add information about Docker`s high level tools over LXC. 2851 * Fix typo in docs for docker run -dns 2852 * Fix a typo in the ubuntu installation guide 2853 * Fix to docs regarding adding docker groups 2854 * Update default -H docs 2855 * Update readme with dependencies for building 2856 * Update amazon.rst to explain that Vagrant is not necessary for running Docker on ec2 2857 * PostgreSQL service example in documentation 2858 * Suggest installing linux-headers by default. 2859 * Change the twitter handle 2860 * Clarify Amazon EC2 installation 2861 * 'Base' image is deprecated and should no longer be referenced in the docs. 2862 * Move note about officially supported kernel 2863 - Solved the logo being squished in Safari 2864 2865 #### Builder 2866 2867 + Add USER instruction do Dockerfile 2868 + Add workdir support for the Buildfile 2869 * Add no cache for docker build 2870 - Fix docker build and docker events output 2871 - Only count known instructions as build steps 2872 - Make sure ENV instruction within build perform a commit each time 2873 - Forbid certain paths within docker build ADD 2874 - Repository name (and optionally a tag) in build usage 2875 - Make sure ADD will create everything in 0755 2876 2877 #### Remote API 2878 2879 * Sort Images by most recent creation date. 2880 * Reworking opaque requests in registry module 2881 * Add image name in /events 2882 * Use mime pkg to parse Content-Type 2883 * 650 http utils and user agent field 2884 2885 #### Hack 2886 2887 + Bash Completion: Limit commands to containers of a relevant state 2888 * Add docker dependencies coverage testing into docker-ci 2889 2890 #### Packaging 2891 2892 + Docker-brew 0.5.2 support and memory footprint reduction 2893 * Add new docker dependencies into docker-ci 2894 - Revert "docker.upstart: avoid spawning a `sh` process" 2895 + Docker-brew and Docker standard library 2896 + Release docker with docker 2897 * Fix the upstart script generated by get.docker.io 2898 * Enabled the docs to generate manpages. 2899 * Revert Bind daemon to 0.0.0.0 in Vagrant. 2900 2901 #### Register 2902 2903 * Improve auth push 2904 * Registry unit tests + mock registry 2905 2906 #### Tests 2907 2908 * Improve TestKillDifferentUser to prevent timeout on buildbot 2909 - Fix typo in TestBindMounts (runContainer called without image) 2910 * Improve TestGetContainersTop so it does not rely on sleep 2911 * Relax the lo interface test to allow iface index != 1 2912 * Add registry functional test to docker-ci 2913 * Add some tests in server and utils 2914 2915 #### Other 2916 2917 * Contrib: bash completion script 2918 * Client: Add docker cp command and copy api endpoint to copy container files/folders to the host 2919 * Don`t read from stdout when only attached to stdin 2920 2921 ## 0.5.3 (2013-08-13) 2922 2923 #### Runtime 2924 2925 * Use docker group for socket permissions 2926 - Spawn shell within upstart script 2927 - Handle ip route showing mask-less IP addresses 2928 - Add hostname to environment 2929 2930 #### Builder 2931 2932 - Make sure ENV instruction within build perform a commit each time 2933 2934 ## 0.5.2 (2013-08-08) 2935 2936 * Builder: Forbid certain paths within docker build ADD 2937 - Runtime: Change network range to avoid conflict with EC2 DNS 2938 * API: Change daemon to listen on unix socket by default 2939 2940 ## 0.5.1 (2013-07-30) 2941 2942 #### Runtime 2943 2944 + Add `ps` args to `docker top` 2945 + Add support for container ID files (pidfile like) 2946 + Add container=lxc in default env 2947 + Support networkless containers with `docker run -n` and `docker -d -b=none` 2948 * Stdout/stderr logs are now stored in the same file as JSON 2949 * Allocate a /16 IP range by default, with fallback to /24. Try 12 ranges instead of 3. 2950 * Change .dockercfg format to json and support multiple auth remote 2951 - Do not override volumes from config 2952 - Fix issue with EXPOSE override 2953 2954 #### API 2955 2956 + Docker client now sets useragent (RFC 2616) 2957 + Add /events endpoint 2958 2959 #### Builder 2960 2961 + ADD command now understands URLs 2962 + CmdAdd and CmdEnv now respect Dockerfile-set ENV variables 2963 - Create directories with 755 instead of 700 within ADD instruction 2964 2965 #### Hack 2966 2967 * Simplify unit tests with helpers 2968 * Improve docker.upstart event 2969 * Add coverage testing into docker-ci 2970 2971 ## 0.5.0 (2013-07-17) 2972 2973 #### Runtime 2974 2975 + List all processes running inside a container with 'docker top' 2976 + Host directories can be mounted as volumes with 'docker run -v' 2977 + Containers can expose public UDP ports (eg, '-p 123/udp') 2978 + Optionally specify an exact public port (eg. '-p 80:4500') 2979 * 'docker login' supports additional options 2980 - Don't save a container`s hostname when committing an image. 2981 2982 #### Registry 2983 2984 + New image naming scheme inspired by Go packaging convention allows arbitrary combinations of registries 2985 - Fix issues when uploading images to a private registry 2986 2987 #### Builder 2988 2989 + ENTRYPOINT instruction sets a default binary entry point to a container 2990 + VOLUME instruction marks a part of the container as persistent data 2991 * 'docker build' displays the full output of a build by default 2992 2993 ## 0.4.8 (2013-07-01) 2994 2995 + Builder: New build operation ENTRYPOINT adds an executable entry point to the container. - Runtime: Fix a bug which caused 'docker run -d' to no longer print the container ID. 2996 - Tests: Fix issues in the test suite 2997 2998 ## 0.4.7 (2013-06-28) 2999 3000 #### Remote API 3001 3002 * The progress bar updates faster when downloading and uploading large files 3003 - Fix a bug in the optional unix socket transport 3004 3005 #### Runtime 3006 3007 * Improve detection of kernel version 3008 + Host directories can be mounted as volumes with 'docker run -b' 3009 - fix an issue when only attaching to stdin 3010 * Use 'tar --numeric-owner' to avoid uid mismatch across multiple hosts 3011 3012 #### Hack 3013 3014 * Improve test suite and dev environment 3015 * Remove dependency on unit tests on 'os/user' 3016 3017 #### Other 3018 3019 * Registry: easier push/pull to a custom registry 3020 + Documentation: add terminology section 3021 3022 ## 0.4.6 (2013-06-22) 3023 3024 - Runtime: fix a bug which caused creation of empty images (and volumes) to crash. 3025 3026 ## 0.4.5 (2013-06-21) 3027 3028 + Builder: 'docker build git://URL' fetches and builds a remote git repository 3029 * Runtime: 'docker ps -s' optionally prints container size 3030 * Tests: improved and simplified 3031 - Runtime: fix a regression introduced in 0.4.3 which caused the logs command to fail. 3032 - Builder: fix a regression when using ADD with single regular file. 3033 3034 ## 0.4.4 (2013-06-19) 3035 3036 - Builder: fix a regression introduced in 0.4.3 which caused builds to fail on new clients. 3037 3038 ## 0.4.3 (2013-06-19) 3039 3040 #### Builder 3041 3042 + ADD of a local file will detect tar archives and unpack them 3043 * ADD improvements: use tar for copy + automatically unpack local archives 3044 * ADD uses tar/untar for copies instead of calling 'cp -ar' 3045 * Fix the behavior of ADD to be (mostly) reverse-compatible, predictable and well-documented. 3046 - Fix a bug which caused builds to fail if ADD was the first command 3047 * Nicer output for 'docker build' 3048 3049 #### Runtime 3050 3051 * Remove bsdtar dependency 3052 * Add unix socket and multiple -H support 3053 * Prevent rm of running containers 3054 * Use go1.1 cookiejar 3055 - Fix issue detaching from running TTY container 3056 - Forbid parallel push/pull for a single image/repo. Fixes #311 3057 - Fix race condition within Run command when attaching. 3058 3059 #### Client 3060 3061 * HumanReadable ProgressBar sizes in pull 3062 * Fix docker version`s git commit output 3063 3064 #### API 3065 3066 * Send all tags on History API call 3067 * Add tag lookup to history command. Fixes #882 3068 3069 #### Documentation 3070 3071 - Fix missing command in irc bouncer example 3072 3073 ## 0.4.2 (2013-06-17) 3074 3075 - Packaging: Bumped version to work around an Ubuntu bug 3076 3077 ## 0.4.1 (2013-06-17) 3078 3079 #### Remote Api 3080 3081 + Add flag to enable cross domain requests 3082 + Add images and containers sizes in docker ps and docker images 3083 3084 #### Runtime 3085 3086 + Configure dns configuration host-wide with 'docker -d -dns' 3087 + Detect faulty DNS configuration and replace it with a public default 3088 + Allow docker run <name>:<id> 3089 + You can now specify public port (ex: -p 80:4500) 3090 * Improve image removal to garbage-collect unreferenced parents 3091 3092 #### Client 3093 3094 * Allow multiple params in inspect 3095 * Print the container id before the hijack in `docker run` 3096 3097 #### Registry 3098 3099 * Add regexp check on repo`s name 3100 * Move auth to the client 3101 - Remove login check on pull 3102 3103 #### Other 3104 3105 * Vagrantfile: Add the rest api port to vagrantfile`s port_forward 3106 * Upgrade to Go 1.1 3107 - Builder: don`t ignore last line in Dockerfile when it doesn`t end with \n 3108 3109 ## 0.4.0 (2013-06-03) 3110 3111 #### Builder 3112 3113 + Introducing Builder 3114 + 'docker build' builds a container, layer by layer, from a source repository containing a Dockerfile 3115 3116 #### Remote API 3117 3118 + Introducing Remote API 3119 + control Docker programmatically using a simple HTTP/json API 3120 3121 #### Runtime 3122 3123 * Various reliability and usability improvements 3124 3125 ## 0.3.4 (2013-05-30) 3126 3127 #### Builder 3128 3129 + 'docker build' builds a container, layer by layer, from a source repository containing a Dockerfile 3130 + 'docker build -t FOO' applies the tag FOO to the newly built container. 3131 3132 #### Runtime 3133 3134 + Interactive TTYs correctly handle window resize 3135 * Fix how configuration is merged between layers 3136 3137 #### Remote API 3138 3139 + Split stdout and stderr on 'docker run' 3140 + Optionally listen on a different IP and port (use at your own risk) 3141 3142 #### Documentation 3143 3144 * Improve install instructions. 3145 3146 ## 0.3.3 (2013-05-23) 3147 3148 - Registry: Fix push regression 3149 - Various bugfixes 3150 3151 ## 0.3.2 (2013-05-09) 3152 3153 #### Registry 3154 3155 * Improve the checksum process 3156 * Use the size to have a good progress bar while pushing 3157 * Use the actual archive if it exists in order to speed up the push 3158 - Fix error 400 on push 3159 3160 #### Runtime 3161 3162 * Store the actual archive on commit 3163 3164 ## 0.3.1 (2013-05-08) 3165 3166 #### Builder 3167 3168 + Implement the autorun capability within docker builder 3169 + Add caching to docker builder 3170 + Add support for docker builder with native API as top level command 3171 + Implement ENV within docker builder 3172 - Check the command existence prior create and add Unit tests for the case 3173 * use any whitespaces instead of tabs 3174 3175 #### Runtime 3176 3177 + Add go version to debug infos 3178 * Kernel version - don`t show the dash if flavor is empty 3179 3180 #### Registry 3181 3182 + Add docker search top level command in order to search a repository 3183 - Fix pull for official images with specific tag 3184 - Fix issue when login in with a different user and trying to push 3185 * Improve checksum - async calculation 3186 3187 #### Images 3188 3189 + Output graph of images to dot (graphviz) 3190 - Fix ByParent function 3191 3192 #### Documentation 3193 3194 + New introduction and high-level overview 3195 + Add the documentation for docker builder 3196 - CSS fix for docker documentation to make REST API docs look better. 3197 - Fix CouchDB example page header mistake 3198 - Fix README formatting 3199 * Update www.docker.io website. 3200 3201 #### Other 3202 3203 + Website: new high-level overview 3204 - Makefile: Swap "go get" for "go get -d", especially to compile on go1.1rc 3205 * Packaging: packaging ubuntu; issue #510: Use goland-stable PPA package to build docker 3206 3207 ## 0.3.0 (2013-05-06) 3208 3209 #### Runtime 3210 3211 - Fix the command existence check 3212 - strings.Split may return an empty string on no match 3213 - Fix an index out of range crash if cgroup memory is not 3214 3215 #### Documentation 3216 3217 * Various improvements 3218 + New example: sharing data between 2 couchdb databases 3219 3220 #### Other 3221 3222 * Vagrant: Use only one deb line in /etc/apt 3223 + Registry: Implement the new registry 3224 3225 ## 0.2.2 (2013-05-03) 3226 3227 + Support for data volumes ('docker run -v=PATH') 3228 + Share data volumes between containers ('docker run -volumes-from') 3229 + Improve documentation 3230 * Upgrade to Go 1.0.3 3231 * Various upgrades to the dev environment for contributors 3232 3233 ## 0.2.1 (2013-05-01) 3234 3235 + 'docker commit -run' bundles a layer with default runtime options: command, ports etc. 3236 * Improve install process on Vagrant 3237 + New Dockerfile operation: "maintainer" 3238 + New Dockerfile operation: "expose" 3239 + New Dockerfile operation: "cmd" 3240 + Contrib script to build a Debian base layer 3241 + 'docker -d -r': restart crashed containers at daemon startup 3242 * Runtime: improve test coverage 3243 3244 ## 0.2.0 (2013-04-23) 3245 3246 - Runtime: ghost containers can be killed and waited for 3247 * Documentation: update install instructions 3248 - Packaging: fix Vagrantfile 3249 - Development: automate releasing binaries and ubuntu packages 3250 + Add a changelog 3251 - Various bugfixes 3252 3253 ## 0.1.8 (2013-04-22) 3254 3255 - Dynamically detect cgroup capabilities 3256 - Issue stability warning on kernels <3.8 3257 - 'docker push' buffers on disk instead of memory 3258 - Fix 'docker diff' for removed files 3259 - Fix 'docker stop' for ghost containers 3260 - Fix handling of pidfile 3261 - Various bugfixes and stability improvements 3262 3263 ## 0.1.7 (2013-04-18) 3264 3265 - Container ports are available on localhost 3266 - 'docker ps' shows allocated TCP ports 3267 - Contributors can run 'make hack' to start a continuous integration VM 3268 - Streamline ubuntu packaging & uploading 3269 - Various bugfixes and stability improvements 3270 3271 ## 0.1.6 (2013-04-17) 3272 3273 - Record the author an image with 'docker commit -author' 3274 3275 ## 0.1.5 (2013-04-17) 3276 3277 - Disable standalone mode 3278 - Use a custom DNS resolver with 'docker -d -dns' 3279 - Detect ghost containers 3280 - Improve diagnosis of missing system capabilities 3281 - Allow disabling memory limits at compile time 3282 - Add debian packaging 3283 - Documentation: installing on Arch Linux 3284 - Documentation: running Redis on docker 3285 - Fix lxc 0.9 compatibility 3286 - Automatically load aufs module 3287 - Various bugfixes and stability improvements 3288 3289 ## 0.1.4 (2013-04-09) 3290 3291 - Full support for TTY emulation 3292 - Detach from a TTY session with the escape sequence `C-p C-q` 3293 - Various bugfixes and stability improvements 3294 - Minor UI improvements 3295 - Automatically create our own bridge interface 'docker0' 3296 3297 ## 0.1.3 (2013-04-04) 3298 3299 - Choose TCP frontend port with '-p :PORT' 3300 - Layer format is versioned 3301 - Major reliability improvements to the process manager 3302 - Various bugfixes and stability improvements 3303 3304 ## 0.1.2 (2013-04-03) 3305 3306 - Set container hostname with 'docker run -h' 3307 - Selective attach at run with 'docker run -a [stdin[,stdout[,stderr]]]' 3308 - Various bugfixes and stability improvements 3309 - UI polish 3310 - Progress bar on push/pull 3311 - Use XZ compression by default 3312 - Make IP allocator lazy 3313 3314 ## 0.1.1 (2013-03-31) 3315 3316 - Display shorthand IDs for convenience 3317 - Stabilize process management 3318 - Layers can include a commit message 3319 - Simplified 'docker attach' 3320 - Fix support for re-attaching 3321 - Various bugfixes and stability improvements 3322 - Auto-download at run 3323 - Auto-login on push 3324 - Beefed up documentation 3325 3326 ## 0.1.0 (2013-03-23) 3327 3328 Initial public release 3329 3330 - Implement registry in order to push/pull images 3331 - TCP port allocation 3332 - Fix termcaps on Linux 3333 - Add documentation 3334 - Add Vagrant support with Vagrantfile 3335 - Add unit tests 3336 - Add repository/tags to ease image management 3337 - Improve the layer implementation