github.com/kobeld/docker@v1.12.0-rc1/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.12.0 (2016-07-14) 9 10 ### Builder 11 12 + New `HEALTHCHECK` Dockerfile instruction to support user-defined healthchecks [#23218](https://github.com/docker/docker/pull/23218) 13 + 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) 14 + Add `#escape=` Dockerfile directive to support platform-specific parsing of file paths in Dockerfile [#22268](https://github.com/docker/docker/pull/22268) 15 + Add support for comments in `.dockerignore` [#23111](https://github.com/docker/docker/pull/23111) 16 * Support for UTF-8 in Dockerfiles [#23372](https://github.com/docker/docker/pull/23372) 17 * Skip UTF-8 BOM bytes from `Dockerfile` and `.dockerignore` if exist [#23234](https://github.com/docker/docker/pull/23234) 18 19 ### Contrib 20 21 - Remove MountFlags in systemd unit to allow shared mount propagation [#22806](https://github.com/docker/docker/pull/22806) 22 23 ### Distribution 24 25 + 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) 26 * Registry operations now honor the `ALL_PROXY` environment variable [#22316](https://github.com/docker/docker/pull/22316) 27 * Provide more information to the user on `docker load` [#23377](https://github.com/docker/docker/pull/23377) 28 29 ### Logging 30 31 + Syslog logging driver now supports DGRAM sockets [#21613](https://github.com/docker/docker/pull/21613) 32 + Add `--details` option to `docker logs` to also display log tags [#21889](https://github.com/docker/docker/pull/21889) 33 * Inherit the daemon log options when creating containers [#21153](https://github.com/docker/docker/pull/21153) 34 * 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) 35 36 ### Networking 37 38 + Add `driver` filter to `network ls` [#22319](https://github.com/docker/docker/pull/22319) 39 + Adding `network` filter to `docker ps --filter` [#23300](https://github.com/docker/docker/pull/23300) 40 - Fix DNS issue when renaming containers with generated names [#22716](https://github.com/docker/docker/pull/22716) 41 - 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) 42 + 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) 43 44 ### Plugins (experimental) 45 46 + New `plugin` command to manager plugins with `install`, `enable`, `disable`, `rm`, `inspect`, `set` subcommands [#23446](https://github.com/docker/docker/pull/23446) 47 48 ### Remote API (v1.24) 49 50 + Add `before` and `since` filters to `docker images --filter` [#22908](https://github.com/docker/docker/pull/22908) 51 + Add `--limit` option to `docker search` [#23107](https://github.com/docker/docker/pull/23107) 52 + Add `--filter` option to `docker search` [#22369](https://github.com/docker/docker/pull/22369) 53 * API now returns a JSON object when an error occurs making it more consistent [#22880](https://github.com/docker/docker/pull/22880) 54 - Prevent `docker run -i --restart` from hanging on exit [#22777](https://github.com/docker/docker/pull/22777) 55 56 ### Runtime 57 58 + 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) 59 + 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) 60 + New `overlay2` graphdriver for Linux 4.0+ with multiple lower directory support [#22126](https://github.com/docker/docker/pull/22126) 61 + New load/save image events [#22137](https://github.com/docker/docker/pull/22137) 62 + Add support for reloading daemon configuration through systemd [#22446](https://github.com/docker/docker/pull/22446) 63 + Add disk quota support for btrfs [#19651](https://github.com/docker/docker/pull/19651) 64 + Add disk quota support for zfs [#21946](https://github.com/docker/docker/pull/21946) 65 + Add support for `docker run --pid=container:<id>` [#22481](https://github.com/docker/docker/pull/22481) 66 + Align default seccomp profile with selected capabilities [#22554](https://github.com/docker/docker/pull/22554) 67 + Add a `daemon reload` event when the daemon reloads its configuration [#22590](https://github.com/docker/docker/pull/22590) 68 + Add `trace` capability in the pprof profiler to show execution traces in binary form [#22715](https://github.com/docker/docker/pull/22715) 69 + Add a `detach` event [#22898](https://github.com/docker/docker/pull/22898) 70 * Undeprecate the `-c` short alias of `--cpu-shares` on `run`, `build`, `create`, `update` [#22621](https://github.com/docker/docker/pull/22621) 71 * Prevent from using aufs and overlay graphdrivers on an eCryptfs mount [#23121](https://github.com/docker/docker/pull/23121) 72 - Fix issues with tmpfs mount ordering [#22329](https://github.com/docker/docker/pull/22329) 73 - Created containers are no longer listed on `docker ps -a -f exited=0` [#21947](https://github.com/docker/docker/pull/21947) 74 - Fix an issue where containers are stuck in a "Removal In Progress" state [#22423](https://github.com/docker/docker/pull/22423) 75 - 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) 76 - 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) 77 - SELinux labeling is now disabled when using `--privileged` mode [#22993](https://github.com/docker/docker/pull/22993) 78 - 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) 79 - Fix inconsistency in `--tmpfs` behavior regarding mount options [#22438](https://github.com/docker/docker/pull/22438) 80 - Fix an issue where daemon hangs at startup [#23148](https://github.com/docker/docker/pull/23148) 81 - Ignore SIGPIPE events to prevent journald restarts to crash docker in some cases [#22460](https://github.com/docker/docker/pull/22460) 82 83 ### Swarm Mode 84 85 + New `swarm` command to manage swarms with `init`, `join`, `leave`, `update` subcommands [#23361](https://github.com/docker/docker/pull/23361) 86 + New `service` command to manage swarm-wide services with `create`, `inspect`, `update`, `remove`, `tasks` subcommands [#23361](https://github.com/docker/docker/pull/23361) 87 + New `node` command to manage nodes with `accept`, `promote`, `demote`, `inspect`, `update`, `tasks`, `ls` and `rm` subcommands [#23361](https://github.com/docker/docker/pull/23361) 88 + (experimental) New `stack` and `deploy` commands to manage and deploy multi-service applications [#23522](https://github.com/docker/docker/pull/23522) 89 90 ### Volume 91 92 + Add support for local and global volume scopes (analogous to network scopes) [#22077](https://github.com/docker/docker/pull/22077) 93 * 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) 94 - Fix issue preventing to remove a volume in a corner case [#22103](https://github.com/docker/docker/pull/22103) 95 96 97 ### DEPRECATION 98 * Environment variables `DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE` and `DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE` have been renamed 99 to `DOCKER_CONTENT_TRUST_ROOT_PASSPHRASE` and `DOCKER_CONTENT_TRUST_REPOSITORY_PASSPHRASE` respectively [#22574](https://github.com/docker/docker/pull/22574) 100 * 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) 101 * Remove deprecated feature of passing HostConfig at API container start [#22570](https://github.com/docker/docker/pull/22570) 102 * Remove deprecated `-f`/`--force` flag on docker tag [#23090](https://github.com/docker/docker/pull/23090) 103 * Remove deprecated `/containers/<id|name>/copy` endpoint [#22149](https://github.com/docker/docker/pull/22149) 104 * Deprecate the old 3-args form of `docker import` [#23273](https://github.com/docker/docker/pull/23273) 105 106 ## 1.11.2 (2016-05-31) 107 108 ### Networking 109 110 - Fix a stale endpoint issue on overlay networks during ungraceful restart ([#23015](https://github.com/docker/docker/pull/23015)) 111 - Fix an issue where the wrong port could be reported by `docker inspect/ps/port` ([#22997](https://github.com/docker/docker/pull/22997)) 112 113 ### Runtime 114 115 - Fix a potential panic when running `docker build` ([#23032](https://github.com/docker/docker/pull/23032)) 116 - Fix interpretation of `--user` parameter ([#22998](https://github.com/docker/docker/pull/22998)) 117 - Fix a bug preventing container statistics to be correctly reported ([#22955](https://github.com/docker/docker/pull/22955)) 118 - Fix an issue preventing container to be restarted after daemon restart ([#22947](https://github.com/docker/docker/pull/22947)) 119 - Fix issues when running 32 bit binaries on Ubuntu 16.04 ([#22922](https://github.com/docker/docker/pull/22922)) 120 - Fix a possible deadlock on image deletion and container attach ([#22918](https://github.com/docker/docker/pull/22918)) 121 - 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)) 122 - 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)) 123 - 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)) 124 125 126 ## 1.11.1 (2016-04-26) 127 128 ### Distribution 129 130 - Fix schema2 manifest media type to be of type `application/vnd.docker.container.image.v1+json` ([#21949](https://github.com/docker/docker/pull/21949)) 131 132 ### Documentation 133 134 + Add missing API documentation for changes introduced with 1.11.0 ([#22048](https://github.com/docker/docker/pull/22048)) 135 136 ### Builder 137 138 * 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)) 139 140 ### Networking 141 142 - Fix a panic that would occur when forwarding DNS query ([#22261](https://github.com/docker/docker/pull/22261)) 143 - 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)) 144 145 ### Runtime 146 147 - Fix a bug preventing labels configuration to be reloaded via the config file ([#22299](https://github.com/docker/docker/pull/22299)) 148 - Fix a regression where container mounting `/var/run` would prevent other containers from being removed ([#22256](https://github.com/docker/docker/pull/22256)) 149 - 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)) 150 - 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)) 151 - Add missing cleanup of container temporary files when cancelling a schedule restart ([#22237](https://github.com/docker/docker/pull/22237)) 152 - Remove scary error message when no restart policy is specified ([#21993](https://github.com/docker/docker/pull/21993)) 153 - Fix a panic that would occur when the plugins were activated via the json spec ([#22191](https://github.com/docker/docker/pull/22191)) 154 - Fix restart backoff logic to correctly reset delay if container ran for at least 10secs ([#22125](https://github.com/docker/docker/pull/22125)) 155 - Remove error message when a container restart get cancelled ([#22123](https://github.com/docker/docker/pull/22123)) 156 - Fix an issue where `docker` would not correctly clean up after `docker exec` ([#22121](https://github.com/docker/docker/pull/22121)) 157 - Fix a panic that could occur when serving concurrent `docker stats` commands ([#22120](https://github.com/docker/docker/pull/22120))` 158 - Revert deprecation of non-existent host directories auto-creation ([#22065](https://github.com/docker/docker/pull/22065)) 159 - Hide misleading rpc error on daemon shutdown ([#22058](https://github.com/docker/docker/pull/22058)) 160 161 ## 1.11.0 (2016-04-13) 162 163 **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`. 164 165 ### Builder 166 167 - 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)) 168 - 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)) 169 170 ### Client 171 172 * Usage of the `:` separator for security option has been deprecated. `=` should be used instead ([#21232](https://github.com/docker/docker/pull/21232)) 173 + 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)) 174 * Allow setting the Domainname and Hostname separately through the API ([#20200](https://github.com/docker/docker/pull/20200)) 175 * 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)) 176 - Fix an issue where `docker stats --no-stream` output could be all 0s ([#20803](https://github.com/docker/docker/pull/20803)) 177 - 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)) 178 * Post processing is no longer enabled for linux-cgo terminals ([#20587](https://github.com/docker/docker/pull/20587)) 179 - 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)) 180 + Docker learned how to use a SOCKS proxy ([#20366](https://github.com/docker/docker/pull/20366), [#18373](https://github.com/docker/docker/pull/18373)) 181 + Docker now supports external credential stores ([#20107](https://github.com/docker/docker/pull/20107)) 182 * `docker ps` now supports displaying the list of volumes mounted inside a container ([#20017](https://github.com/docker/docker/pull/20017)) 183 * `docker info` now also reports Docker's root directory location ([#19986](https://github.com/docker/docker/pull/19986)) 184 - Docker now prohibits login in with an empty username (spaces are trimmed) ([#19806](https://github.com/docker/docker/pull/19806)) 185 * Docker events attributes are now sorted by key ([#19761](https://github.com/docker/docker/pull/19761)) 186 * `docker ps` no longer shows exported port for stopped containers ([#19483](https://github.com/docker/docker/pull/19483)) 187 - Docker now cleans after itself if a save/export command fails ([#17849](https://github.com/docker/docker/pull/17849)) 188 * 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)) 189 190 ### Distribution 191 192 - Fix a panic that occurred when pulling an image with 0 layers ([#21222](https://github.com/docker/docker/pull/21222)) 193 - 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)) 194 + All first-level delegation roles are now signed when doing a trusted push ([#21046](https://github.com/docker/docker/pull/21046)) 195 + OAuth support for registries was added ([#20970](https://github.com/docker/docker/pull/20970)) 196 * `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)) 197 * `docker login` will no longer prompt for an email ([#20565](https://github.com/docker/docker/pull/20565)) 198 * Docker will now fallback to registry V1 if no basic auth credentials are available ([#20241](https://github.com/docker/docker/pull/20241)) 199 * 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)) 200 - Fix generated manifest mediaType when pushing cross-repository ([#19509](https://github.com/docker/docker/pull/19509)) 201 - Fix docker requesting additional push credentials when pulling an image if Content Trust is enabled ([#20382](https://github.com/docker/docker/pull/20382)) 202 203 ### Logging 204 205 - Fix a race in the journald log driver ([#21311](https://github.com/docker/docker/pull/21311)) 206 * Docker syslog driver now uses the RFC-5424 format when emitting logs ([#20121](https://github.com/docker/docker/pull/20121)) 207 * 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)) 208 * Docker daemon learned to output uncolorized logs via the `--raw-logs` options ([#19794](https://github.com/docker/docker/pull/19794)) 209 + Docker, on Windows platform, now includes an ETW (Event Tracing in Windows) logging driver named `etwlogs` ([#19689](https://github.com/docker/docker/pull/19689)) 210 * Journald log driver learned how to handle tags ([#19564](https://github.com/docker/docker/pull/19564)) 211 + 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)) 212 + Docker learned to send log to Google Cloud via the new `gcplogs` logging driver. ([#18766](https://github.com/docker/docker/pull/18766)) 213 214 215 ### Misc 216 217 + 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/c)) 218 + Support for building the Docker cli for OpenBSD was added ([#21325](https://github.com/docker/docker/pull/21325)) 219 + Labels can now be applied at network, volume and image creation ([#21270](https://github.com/docker/docker/pull/21270)) 220 * The `dockremap` is now created as a system user ([#21266](https://github.com/docker/docker/pull/21266)) 221 - Fix a few response body leaks ([#21258](https://github.com/docker/docker/pull/21258)) 222 - Docker, when run as a service with systemd, will now properly manage its processes cgroups ([#20633](https://github.com/docker/docker/pull/20633)) 223 * `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)) 224 * `docker info` now also reports the cgroup driver in use ([#20388](https://github.com/docker/docker/pull/20388)) 225 * Docker completion is now available on PowerShell ([#19894](https://github.com/docker/docker/pull/19894)) 226 * `dockerinit` is no more ([#19490](https://github.com/docker/docker/pull/19490),[#19851](https://github.com/docker/docker/pull/19851)) 227 + Support for building Docker on arm64 was added ([#19013](https://github.com/docker/docker/pull/19013)) 228 + Experimental support for building docker.exe in a native Windows Docker installation ([#18348](https://github.com/docker/docker/pull/18348)) 229 230 ### Networking 231 232 - Fix panic if a node is forcibly removed from the cluster ([#21671](https://github.com/docker/docker/pull/21671)) 233 - Fix "error creating vxlan interface" when starting a container in a Swarm cluster ([#21671](https://github.com/docker/docker/pull/21671)) 234 * `docker network inspect` will now report all endpoints whether they have an active container or not ([#21160](https://github.com/docker/docker/pull/21160)) 235 + Experimental support for the MacVlan and IPVlan network drivers has been added ([#21122](https://github.com/docker/docker/pull/21122)) 236 * Output of `docker network ls` is now sorted by network name ([#20383](https://github.com/docker/docker/pull/20383)) 237 - 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)) 238 * `docker network inspect` returns whether a network is internal or not ([#19357](https://github.com/docker/docker/pull/19357)) 239 + 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)) 240 * Support for AAAA Records (aka IPv6 Service Discovery) in embedded DNS Server ([#21396](https://github.com/docker/docker/pull/21396)) 241 - Fix to not forward docker domain IPv6 queries to external servers ([#21396](https://github.com/docker/docker/pull/21396)) 242 * Multiple A/AAAA records from embedded DNS Server for DNS Round robin ([#21019](https://github.com/docker/docker/pull/21019)) 243 - Fix endpoint count inconsistency after an ungraceful dameon restart ([#21261](https://github.com/docker/docker/pull/21261)) 244 - Move the ownership of exposed ports and port-mapping options from Endpoint to Sandbox ([#21019](https://github.com/docker/docker/pull/21019)) 245 - Fixed a bug which prevents docker reload when host is configured with ipv6.disable=1 ([#21019](https://github.com/docker/docker/pull/21019)) 246 - Added inbuilt nil IPAM driver ([#21019](https://github.com/docker/docker/pull/21019)) 247 - Fixed bug in iptables.Exists() logic [#21019](https://github.com/docker/docker/pull/21019) 248 - Fixed a Veth interface leak when using overlay network ([#21019](https://github.com/docker/docker/pull/21019)) 249 - Fixed a bug which prevents docker reload after a network delete during shutdown ([#20214](https://github.com/docker/docker/pull/20214)) 250 - Make sure iptables chains are recreated on firewalld reload ([#20419](https://github.com/docker/docker/pull/20419)) 251 - Allow to pass global datastore during config reload ([#20419](https://github.com/docker/docker/pull/20419)) 252 - For anonymous containers use the alias name for IP to name mapping, ie:DNS PTR record ([#21019](https://github.com/docker/docker/pull/21019)) 253 - Fix a panic when deleting an entry from /etc/hosts file ([#21019](https://github.com/docker/docker/pull/21019)) 254 - Source the forwarded DNS queries from the container net namespace ([#21019](https://github.com/docker/docker/pull/21019)) 255 - Fix to retain the network internal mode config for bridge networks on daemon reload ([#21780] (https://github.com/docker/docker/pull/21780)) 256 - Fix to retain IPAM driver option configs on daemon reload ([#21914] (https://github.com/docker/docker/pull/21914)) 257 258 ### Plugins 259 260 - Fix a file descriptor leak that would occur every time plugins were enumerated ([#20686](https://github.com/docker/docker/pull/20686)) 261 - 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)) 262 263 ### Runtime 264 265 - Fix a panic that could occur when cleanup after a container started with invalid parameters ([#21716](https://github.com/docker/docker/pull/21716)) 266 - Fix a race with event timers stopping early ([#21692](https://github.com/docker/docker/pull/21692)) 267 - Fix race conditions in the layer store, potentially corrupting the map and crashing the process ([#21677](https://github.com/docker/docker/pull/21677)) 268 - Un-deprecate auto-creation of host directories for mounts. This feature was marked deprecated in ([#21666](https://github.com/docker/docker/pull/21666)) 269 Docker 1.9, but was decided to be too much of a backward-incompatible change, so it was decided to keep the feature. 270 + 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)) 271 + `docker inspect <image-id>` will now expose the rootfs layers ([#21370](https://github.com/docker/docker/pull/21370)) 272 + Docker Windows gained a minimal `top` implementation ([#21354](https://github.com/docker/docker/pull/21354)) 273 * 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)) 274 * Docker with device mapper will now refuse to run if `udev sync` is not available ([#21097](https://github.com/docker/docker/pull/21097)) 275 - Fix a bug where Docker would not validate the config file upon configuration reload ([#21089](https://github.com/docker/docker/pull/21089)) 276 - Fix a hang that would happen on attach if initial start was to fail ([#21048](https://github.com/docker/docker/pull/21048)) 277 - 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)) 278 - Fix a race between the exec and resize operations ([#21022](https://github.com/docker/docker/pull/21022)) 279 - Fix an issue where nanoseconds were not correctly taken in account when filtering Docker events ([#21013](https://github.com/docker/docker/pull/21013)) 280 - Fix the handling of Docker command when passed a 64 bytes id ([#21002](https://github.com/docker/docker/pull/21002)) 281 * 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)) 282 - 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) 283 * 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)) 284 + 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)) 285 - Starting a container with the `--device` option will now correctly resolves symlinks ([#20684](https://github.com/docker/docker/pull/20684)) 286 + 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)) 287 - Fix docker configuration reloading to only alter value present in the given config file ([#20604](https://github.com/docker/docker/pull/20604)) 288 + Docker now allows setting a container hostname via the `--hostname` flag when `--net=host` ([#20177](https://github.com/docker/docker/pull/20177)) 289 + 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)) 290 - Fix Docker not cleaning up correctly old containers upon restarting after a crash ([#19679](https://github.com/docker/docker/pull/19679)) 291 * 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)) 292 - Fix container loading, on daemon startup, when they depends on a plugin running within a container ([#19500](https://github.com/docker/docker/pull/19500)) 293 * `docker update` learned how to change a container restart policy ([#19116](https://github.com/docker/docker/pull/19116)) 294 * `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)) 295 + 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)) 296 - `docker load` now has a `--quiet` option to suppress the load output ([#20078](https://github.com/docker/docker/pull/20078)) 297 - Fix a bug in neighbor discovery for IPv6 peers ([#20842](https://github.com/docker/docker/pull/20842)) 298 - Fix a panic during cleanup if a container was started with invalid options ([#21802](https://github.com/docker/docker/pull/21802)) 299 - Fix a situation where a container cannot be stopped if the terminal is closed ([#21840](https://github.com/docker/docker/pull/21840)) 300 301 ### Security 302 303 * Object with the `pcp_pmcd_t` selinux type were given management access to `/var/lib/docker(/.*)?` ([#21370](https://github.com/docker/docker/pull/21370)) 304 * `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)) 305 * `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)) 306 * Docker Content Trust now requests the server to perform snapshot signing ([#21046](https://github.com/docker/docker/pull/21046)) 307 * Support for using YubiKeys for Content Trust signing has been moved out of experimental ([#21591](https://github.com/docker/docker/pull/21591)) 308 309 ### Volumes 310 311 * Output of `docker volume ls` is now sorted by volume name ([#20389](https://github.com/docker/docker/pull/20389)) 312 * Local volumes can now accept options similar to the unix `mount` tool ([#20262](https://github.com/docker/docker/pull/20262)) 313 - Fix an issue where one letter directory name could not be used as source for volumes ([#21106](https://github.com/docker/docker/pull/21106)) 314 + `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)) 315 316 ## 1.10.3 (2016-03-10) 317 318 ### Runtime 319 320 - Fix Docker client exiting with an "Unrecognized input header" error [#20706](https://github.com/docker/docker/pull/20706) 321 - Fix Docker exiting if Exec is started with both `AttachStdin` and `Detach` [#20647](https://github.com/docker/docker/pull/20647) 322 323 ### Distribution 324 325 - 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) 326 - Fix a panic when pushing images to a registry which uses a misconfigured token service [#21030](https://github.com/docker/docker/pull/21030) 327 328 ### Plugin system 329 330 - Fix issue preventing volume plugins to start when SELinux is enabled [#20834](https://github.com/docker/docker/pull/20834) 331 - Prevent Docker from exiting if a volume plugin returns a null response for Get requests [#20682](https://github.com/docker/docker/pull/20682) 332 - Fix plugin system leaking file descriptors if a plugin has an error [#20680](https://github.com/docker/docker/pull/20680) 333 334 ### Security 335 336 - Fix linux32 emulation to fail during docker build [#20672](https://github.com/docker/docker/pull/20672) 337 It was due to the `personality` syscall being blocked by the default seccomp profile. 338 - Fix Oracle XE 10g failing to start in a container [#20981](https://github.com/docker/docker/pull/20981) 339 It was due to the `ipc` syscall being blocked by the default seccomp profile. 340 - Fix user namespaces not working on Linux From Scratch [#20685](https://github.com/docker/docker/pull/20685) 341 - 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) 342 343 ## 1.10.2 (2016-02-22) 344 345 ### Runtime 346 347 - Prevent systemd from deleting containers' cgroups when its configuration is reloaded [#20518](https://github.com/docker/docker/pull/20518) 348 - Fix SELinux issues by disregarding `--read-only` when mounting `/dev/mqueue` [#20333](https://github.com/docker/docker/pull/20333) 349 - Fix chown permissions used during `docker cp` when userns is used [#20446](https://github.com/docker/docker/pull/20446) 350 - Fix configuration loading issue with all booleans defaulting to `true` [#20471](https://github.com/docker/docker/pull/20471) 351 - Fix occasional panic with `docker logs -f` [#20522](https://github.com/docker/docker/pull/20522) 352 353 ### Distribution 354 355 - Keep layer reference if deletion failed to avoid a badly inconsistent state [#20513](https://github.com/docker/docker/pull/20513) 356 - Handle gracefully a corner case when canceling migration [#20372](https://github.com/docker/docker/pull/20372) 357 - Fix docker import on compressed data [#20367](https://github.com/docker/docker/pull/20367) 358 - 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) 359 360 ### Networking 361 362 - Fix daemon crash if embedded DNS is sent garbage [#20510](https://github.com/docker/docker/pull/20510) 363 364 ### Volumes 365 366 - Fix issue with multiple volume references with same name [#20381](https://github.com/docker/docker/pull/20381) 367 368 ### Security 369 370 - Fix potential cache corruption and delegation conflict issues [#20523](https://github.com/docker/docker/pull/20523) 371 372 ## 1.10.1 (2016-02-11) 373 374 ### Runtime 375 376 * Do not stop daemon on migration hard failure [#20156](https://github.com/docker/docker/pull/20156) 377 - Fix various issues with migration to content-addressable images [#20058](https://github.com/docker/docker/pull/20058) 378 - Fix ZFS permission bug with user namespaces [#20045](https://github.com/docker/docker/pull/20045) 379 - 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) 380 - Fix `docker ps --filter before=...` to not show stopped containers without providing `-a` flag [#20135](https://github.com/docker/docker/pull/20135) 381 382 ### Security 383 384 - Fix issue preventing docker events to work properly with authorization plugin [#20002](https://github.com/docker/docker/pull/20002) 385 386 ### Distribution 387 388 * Add additional verifications and prevent from uploading invalid data to registries [#20164](https://github.com/docker/docker/pull/20164) 389 - Fix regression preventing uppercase characters in image reference hostname [#20175](https://github.com/docker/docker/pull/20175) 390 391 ### Networking 392 393 - Fix embedded DNS for user-defined networks in the presence of firewalld [#20060](https://github.com/docker/docker/pull/20060) 394 - 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) 395 - Embedded DNS is now able to return compressed results [#20181](https://github.com/docker/docker/issues/20181) 396 - Fix port-mapping issue with `userland-proxy=false` [#20181](https://github.com/docker/docker/issues/20181) 397 398 ### Logging 399 400 - Fix bug where tcp+tls protocol would be rejected [#20109](https://github.com/docker/docker/pull/20109) 401 402 ### Volumes 403 404 - Fix issue whereby older volume drivers would not receive volume options [#19983](https://github.com/docker/docker/pull/19983) 405 406 ### Misc 407 408 - Remove TasksMax from Docker systemd service [#20167](https://github.com/docker/docker/pull/20167) 409 410 ## 1.10.0 (2016-02-04) 411 412 **IMPORTANT**: Docker 1.10 uses a new content-addressable storage for images and layers. 413 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. 414 Refer to this page on the wiki for more information: https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration 415 We also released a cool migration utility that enables you to perform the migration before updating to reduce downtime. 416 Engine 1.10 migrator can be found on Docker Hub: https://hub.docker.com/r/docker/v1.10-migrator/ 417 418 ### Runtime 419 420 + New `docker update` command that allows updating resource constraints on running containers [#15078](https://github.com/docker/docker/pull/15078) 421 + Add `--tmpfs` flag to `docker run` to create a tmpfs mount in a container [#13587](https://github.com/docker/docker/pull/13587) 422 + Add `--format` flag to `docker images` command [#17692](https://github.com/docker/docker/pull/17692) 423 + Allow to set daemon configuration in a file and hot-reload it with the `SIGHUP` signal [#18587](https://github.com/docker/docker/pull/18587) 424 + Updated docker events to include more meta-data and event types [#18888](https://github.com/docker/docker/pull/18888) 425 This change is backward compatible in the API, but not on the CLI. 426 + Add `--blkio-weight-device` flag to `docker run` [#13959](https://github.com/docker/docker/pull/13959) 427 + Add `--device-read-bps` and `--device-write-bps` flags to `docker run` [#14466](https://github.com/docker/docker/pull/14466) 428 + Add `--device-read-iops` and `--device-write-iops` flags to `docker run` [#15879](https://github.com/docker/docker/pull/15879) 429 + Add `--oom-score-adj` flag to `docker run` [#16277](https://github.com/docker/docker/pull/16277) 430 + 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) 431 + Add `--shm-size` flag to `run`, `create` and `build` to set the size of `/dev/shm` [#16168](https://github.com/docker/docker/pull/16168) 432 + Show the number of running, stopped, and paused containers in `docker info` [#19249](https://github.com/docker/docker/pull/19249) 433 + Show the `OSType` and `Architecture` in `docker info` [#17478](https://github.com/docker/docker/pull/17478) 434 + Add `--cgroup-parent` flag on `daemon` to set cgroup parent for all containers [#19062](https://github.com/docker/docker/pull/19062) 435 + Add `-L` flag to docker cp to follow symlinks [#16613](https://github.com/docker/docker/pull/16613) 436 + New `status=dead` filter for `docker ps` [#17908](https://github.com/docker/docker/pull/17908) 437 * Change `docker run` exit codes to distinguish between runtime and application errors [#14012](https://github.com/docker/docker/pull/14012) 438 * Enhance `docker events --since` and `--until` to support nanoseconds and timezones [#17495](https://github.com/docker/docker/pull/17495) 439 * Add `--all`/`-a` flag to `stats` to include both running and stopped containers [#16742](https://github.com/docker/docker/pull/16742) 440 * Change the default cgroup-driver to `cgroupfs` [#17704](https://github.com/docker/docker/pull/17704) 441 * Emit a "tag" event when tagging an image with `build -t` [#17115](https://github.com/docker/docker/pull/17115) 442 * Best effort for linked containers' start order when starting the daemon [#18208](https://github.com/docker/docker/pull/18208) 443 * Add ability to add multiple tags on `build` [#15780](https://github.com/docker/docker/pull/15780) 444 * Permit `OPTIONS` request against any url, thus fixing issue with CORS [#19569](https://github.com/docker/docker/pull/19569) 445 - Fix the `--quiet` flag on `docker build` to actually be quiet [#17428](https://github.com/docker/docker/pull/17428) 446 - Fix `docker images --filter dangling=false` to now show all non-dangling images [#19326](https://github.com/docker/docker/pull/19326) 447 - Fix race condition causing autorestart turning off on restart [#17629](https://github.com/docker/docker/pull/17629) 448 - Recognize GPFS filesystems [#19216](https://github.com/docker/docker/pull/19216) 449 - Fix obscure bug preventing to start containers [#19751](https://github.com/docker/docker/pull/19751) 450 - Forbid `exec` during container restart [#19722](https://github.com/docker/docker/pull/19722) 451 - devicemapper: Increasing `--storage-opt dm.basesize` will now increase the base device size on daemon restart [#19123](https://github.com/docker/docker/pull/19123) 452 453 ### Security 454 455 + Add `--userns-remap` flag to `daemon` to support user namespaces (previously in experimental) [#19187](https://github.com/docker/docker/pull/19187) 456 + Add support for custom seccomp profiles in `--security-opt` [#17989](https://github.com/docker/docker/pull/17989) 457 + Add default seccomp profile [#18780](https://github.com/docker/docker/pull/18780) 458 + Add `--authorization-plugin` flag to `daemon` to customize ACLs [#15365](https://github.com/docker/docker/pull/15365) 459 + Docker Content Trust now supports the ability to read and write user delegations [#18887](https://github.com/docker/docker/pull/18887) 460 This is an optional, opt-in feature that requires the explicit use of the Notary command-line utility in order to be enabled. 461 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. 462 * Allow SELinux to run in a container when using the BTRFS storage driver [#16452](https://github.com/docker/docker/pull/16452) 463 464 ### Distribution 465 466 * Use content-addressable storage for images and layers [#17924](https://github.com/docker/docker/pull/17924) 467 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. 468 Images no longer depend on the parent chain but contain a list of layer references. 469 `docker load`/`docker save` tarballs now also contain content-addressable image configurations. 470 For more information: https://github.com/docker/docker/wiki/Engine-v1.10.0-content-addressability-migration 471 * 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) 472 * 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) 473 * Limit v1 protocol fallbacks [#18590](https://github.com/docker/docker/pull/18590) 474 - Fix issue where docker could hang indefinitely waiting for a nonexistent process to pull an image [#19743](https://github.com/docker/docker/pull/19743) 475 476 ### Networking 477 478 + Use DNS-based discovery instead of `/etc/hosts` [#19198](https://github.com/docker/docker/pull/19198) 479 + Support for network-scoped alias using `--net-alias` on `run` and `--alias` on `network connect` [#19242](https://github.com/docker/docker/pull/19242) 480 + 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) 481 + Add `--ipam-opt` to `network create` for passing custom IPAM options [#17316](https://github.com/docker/docker/pull/17316) 482 + Add `--internal` flag to `network create` to restrict external access to and from the network [#19276](https://github.com/docker/docker/pull/19276) 483 + Add `kv.path` option to `--cluster-store-opt` [#19167](https://github.com/docker/docker/pull/19167) 484 + 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) 485 + Add `--format` flag to `network inspect` [#17481](https://github.com/docker/docker/pull/17481) 486 + Add `--link` to `network connect` to provide a container-local alias [#19229](https://github.com/docker/docker/pull/19229) 487 + Support for Capability exchange with remote IPAM plugins [#18775](https://github.com/docker/docker/pull/18775) 488 + Add `--force` to `network disconnect` to force container to be disconnected from network [#19317](https://github.com/docker/docker/pull/19317) 489 * 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) 490 * `--link` is now supported on `docker run` for containers in user-defined network [#19229](https://github.com/docker/docker/pull/19229) 491 * Enhance `docker network rm` to allow removing multiple networks [#17489](https://github.com/docker/docker/pull/17489) 492 * Include container names in `network inspect` [#17615](https://github.com/docker/docker/pull/17615) 493 * Include auto-generated subnets for user-defined networks in `network inspect` [#17316](https://github.com/docker/docker/pull/17316) 494 * Add `--filter` flag to `network ls` to hide predefined networks [#17782](https://github.com/docker/docker/pull/17782) 495 * Add support for network connect/disconnect to stopped containers [#18906](https://github.com/docker/docker/pull/18906) 496 * Add network ID to container inspect [#19323](https://github.com/docker/docker/pull/19323) 497 - Fix MTU issue where Docker would not start with two or more default routes [#18108](https://github.com/docker/docker/pull/18108) 498 - Fix duplicate IP address for containers [#18106](https://github.com/docker/docker/pull/18106) 499 - Fix issue preventing sometimes docker from creating the bridge network [#19338](https://github.com/docker/docker/pull/19338) 500 - Do not substitute 127.0.0.1 name server when using `--net=host` [#19573](https://github.com/docker/docker/pull/19573) 501 502 ### Logging 503 504 + New logging driver for Splunk [#16488](https://github.com/docker/docker/pull/16488) 505 + Add support for syslog over TCP+TLS [#18998](https://github.com/docker/docker/pull/18998) 506 * Enhance `docker logs --since` and `--until` to support nanoseconds and time [#17495](https://github.com/docker/docker/pull/17495) 507 * Enhance AWS logs to auto-detect region [#16640](https://github.com/docker/docker/pull/16640) 508 509 ### Volumes 510 511 + Add support to set the mount propagation mode for a volume [#17034](https://github.com/docker/docker/pull/17034) 512 * Add `ls` and `inspect` endpoints to volume plugin API [#16534](https://github.com/docker/docker/pull/16534) 513 Existing plugins need to make use of these new APIs to satisfy users' expectation 514 For that, please use the new MIME type `application/vnd.docker.plugins.v1.2+json` [#19549](https://github.com/docker/docker/pull/19549) 515 - Fix data not being copied to named volumes [#19175](https://github.com/docker/docker/pull/19175) 516 - Fix issues preventing volume drivers from being containerized [#19500](https://github.com/docker/docker/pull/19500) 517 - Fix `docker volumes ls --dangling=false` to now show all non-dangling volumes [#19671](https://github.com/docker/docker/pull/19671) 518 - Do not remove named volumes on container removal [#19568](https://github.com/docker/docker/pull/19568) 519 - Allow external volume drivers to host anonymous volumes [#19190](https://github.com/docker/docker/pull/19190) 520 521 ### Builder 522 523 + Add support for `**` in `.dockerignore` to wildcard multiple levels of directories [#17090](https://github.com/docker/docker/pull/17090) 524 - Fix handling of UTF-8 characters in Dockerfiles [#17055](https://github.com/docker/docker/pull/17055) 525 - Fix permissions problem when reading from STDIN [#19283](https://github.com/docker/docker/pull/19283) 526 527 ### Client 528 529 + Add support for overriding the API version to use via an `DOCKER_API_VERSION` environment-variable [#15964](https://github.com/docker/docker/pull/15964) 530 - Fix a bug preventing Windows clients to log in to Docker Hub [#19891](https://github.com/docker/docker/pull/19891) 531 532 ### Misc 533 534 * systemd: Set TasksMax in addition to LimitNPROC in systemd service file [#19391](https://github.com/docker/docker/pull/19391) 535 536 ### Deprecations 537 538 * 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) 539 * Remove `--exec-driver` daemon flag, because it is no longer in use [#17700](https://github.com/docker/docker/pull/17700) 540 * Remove old deprecated single-dashed long CLI flags (such as `-rm`; use `--rm` instead) [#17724](https://github.com/docker/docker/pull/17724) 541 * Deprecate HostConfig at API container start [#17799](https://github.com/docker/docker/pull/17799) 542 * 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) 543 * Deprecate `-f` flag for docker tag [#18350](https://github.com/docker/docker/pull/18350) 544 545 ## 1.9.1 (2015-11-21) 546 547 ### Runtime 548 549 - Do not prevent daemon from booting if images could not be restored (#17695) 550 - Force IPC mount to unmount on daemon shutdown/init (#17539) 551 - Turn IPC unmount errors into warnings (#17554) 552 - Fix `docker stats` performance regression (#17638) 553 - Clarify cryptic error message upon `docker logs` if `--log-driver=none` (#17767) 554 - Fix seldom panics (#17639, #17634, #17703) 555 - Fix opq whiteouts problems for files with dot prefix (#17819) 556 - devicemapper: try defaulting to xfs instead of ext4 for performance reasons (#17903, #17918) 557 - devicemapper: fix displayed fs in docker info (#17974) 558 - selinux: only relabel if user requested so with the `z` option (#17450, #17834) 559 - Do not make network calls when normalizing names (#18014) 560 561 ### Client 562 563 - Fix `docker login` on windows (#17738) 564 - Fix bug with `docker inspect` output when not connected to daemon (#17715) 565 - Fix `docker inspect -f {{.HostConfig.Dns}} somecontainer` (#17680) 566 567 ### Builder 568 569 - Fix regression with symlink behavior in ADD/COPY (#17710) 570 571 ### Networking 572 573 - Allow passing a network ID as an argument for `--net` (#17558) 574 - Fix connect to host and prevent disconnect from host for `host` network (#17476) 575 - Fix `--fixed-cidr` issue when gateway ip falls in ip-range and ip-range is 576 not the first block in the network (#17853) 577 - Restore deterministic `IPv6` generation from `MAC` address on default `bridge` network (#17890) 578 - Allow port-mapping only for endpoints created on docker run (#17858) 579 - Fixed an endpoint delete issue with a possible stale sbox (#18102) 580 581 ### Distribution 582 583 - Correct parent chain in v2 push when v1Compatibility files on the disk are inconsistent (#18047) 584 585 ## 1.9.0 (2015-11-03) 586 587 ### Runtime 588 589 + `docker stats` now returns block IO metrics (#15005) 590 + `docker stats` now details network stats per interface (#15786) 591 + Add `ancestor=<image>` filter to `docker ps --filter` flag to filter 592 containers based on their ancestor images (#14570) 593 + Add `label=<somelabel>` filter to `docker ps --filter` to filter containers 594 based on label (#16530) 595 + Add `--kernel-memory` flag to `docker run` (#14006) 596 + Add `--message` flag to `docker import` allowing to specify an optional 597 message (#15711) 598 + Add `--privileged` flag to `docker exec` (#14113) 599 + Add `--stop-signal` flag to `docker run` allowing to replace the container 600 process stopping signal (#15307) 601 + Add a new `unless-stopped` restart policy (#15348) 602 + Inspecting an image now returns tags (#13185) 603 + Add container size information to `docker inspect` (#15796) 604 + Add `RepoTags` and `RepoDigests` field to `/images/{name:.*}/json` (#17275) 605 - Remove the deprecated `/container/ps` endpoint from the API (#15972) 606 - Send and document correct HTTP codes for `/exec/<name>/start` (#16250) 607 - Share shm and mqueue between containers sharing IPC namespace (#15862) 608 - Event stream now shows OOM status when `--oom-kill-disable` is set (#16235) 609 - Ensure special network files (/etc/hosts etc.) are read-only if bind-mounted 610 with `ro` option (#14965) 611 - Improve `rmi` performance (#16890) 612 - Do not update /etc/hosts for the default bridge network, except for links (#17325) 613 - Fix conflict with duplicate container names (#17389) 614 - Fix an issue with incorrect template execution in `docker inspect` (#17284) 615 - DEPRECATE `-c` short flag variant for `--cpu-shares` in docker run (#16271) 616 617 ### Client 618 619 + Allow `docker import` to import from local files (#11907) 620 621 ### Builder 622 623 + Add a `STOPSIGNAL` Dockerfile instruction allowing to set a different 624 stop-signal for the container process (#15307) 625 + Add an `ARG` Dockerfile instruction and a `--build-arg` flag to `docker build` 626 that allows to add build-time environment variables (#15182) 627 - Improve cache miss performance (#16890) 628 629 ### Storage 630 631 - devicemapper: Implement deferred deletion capability (#16381) 632 633 ## Networking 634 635 + `docker network` exits experimental and is part of standard release (#16645) 636 + New network top-level concept, with associated subcommands and API (#16645) 637 WARNING: the API is different from the experimental API 638 + Support for multiple isolated/micro-segmented networks (#16645) 639 + Built-in multihost networking using VXLAN based overlay driver (#14071) 640 + Support for third-party network plugins (#13424) 641 + Ability to dynamically connect containers to multiple networks (#16645) 642 + Support for user-defined IP address management via pluggable IPAM drivers (#16910) 643 + Add daemon flags `--cluster-store` and `--cluster-advertise` for built-in nodes discovery (#16229) 644 + Add `--cluster-store-opt` for setting up TLS settings (#16644) 645 + Add `--dns-opt` to the daemon (#16031) 646 - DEPRECATE following container `NetworkSettings` fields in API v1.21: `EndpointID`, `Gateway`, 647 `GlobalIPv6Address`, `GlobalIPv6PrefixLen`, `IPAddress`, `IPPrefixLen`, `IPv6Gateway` and `MacAddress`. 648 Those are now specific to the `bridge` network. Use `NetworkSettings.Networks` to inspect 649 the networking settings of a container per network. 650 651 ### Volumes 652 653 + New top-level `volume` subcommand and API (#14242) 654 - Move API volume driver settings to host-specific config (#15798) 655 - Print an error message if volume name is not unique (#16009) 656 - Ensure volumes created from Dockerfiles always use the local volume driver 657 (#15507) 658 - DEPRECATE auto-creating missing host paths for bind mounts (#16349) 659 660 ### Logging 661 662 + Add `awslogs` logging driver for Amazon CloudWatch (#15495) 663 + Add generic `tag` log option to allow customizing container/image 664 information passed to driver (e.g. show container names) (#15384) 665 - Implement the `docker logs` endpoint for the journald driver (#13707) 666 - DEPRECATE driver-specific log tags (e.g. `syslog-tag`, etc.) (#15384) 667 668 ### Distribution 669 670 + `docker search` now works with partial names (#16509) 671 - Push optimization: avoid buffering to file (#15493) 672 - The daemon will display progress for images that were already being pulled 673 by another client (#15489) 674 - Only permissions required for the current action being performed are requested (#) 675 + Renaming trust keys (and respective environment variables) from `offline` to 676 `root` and `tagging` to `repository` (#16894) 677 - DEPRECATE trust key environment variables 678 `DOCKER_CONTENT_TRUST_OFFLINE_PASSPHRASE` and 679 `DOCKER_CONTENT_TRUST_TAGGING_PASSPHRASE` (#16894) 680 681 ### Security 682 683 + Add SELinux profiles to the rpm package (#15832) 684 - Fix various issues with AppArmor profiles provided in the deb package 685 (#14609) 686 - Add AppArmor policy that prevents writing to /proc (#15571) 687 688 ## 1.8.3 (2015-10-12) 689 690 ### Distribution 691 692 - Fix layer IDs lead to local graph poisoning (CVE-2014-8178) 693 - Fix manifest validation and parsing logic errors allow pull-by-digest validation bypass (CVE-2014-8179) 694 + Add `--disable-legacy-registry` to prevent a daemon from using a v1 registry 695 696 ## 1.8.2 (2015-09-10) 697 698 ### Distribution 699 700 - Fixes rare edge case of handling GNU LongLink and LongName entries. 701 - Fix ^C on docker pull. 702 - Fix docker pull issues on client disconnection. 703 - Fix issue that caused the daemon to panic when loggers weren't configured properly. 704 - Fix goroutine leak pulling images from registry V2. 705 706 ### Runtime 707 708 - Fix a bug mounting cgroups for docker daemons running inside docker containers. 709 - Initialize log configuration properly. 710 711 ### Client: 712 713 - Handle `-q` flag in `docker ps` properly when there is a default format. 714 715 ### Networking 716 717 - Fix several corner cases with netlink. 718 719 ### Contrib 720 721 - Fix several issues with bash completion. 722 723 ## 1.8.1 (2015-08-12) 724 725 ### Distribution 726 727 * Fix a bug where pushing multiple tags would result in invalid images 728 729 ## 1.8.0 (2015-08-11) 730 731 ### Distribution 732 733 + Trusted pull, push and build, disabled by default 734 * Make tar layers deterministic between registries 735 * Don't allow deleting the image of running containers 736 * Check if a tag name to load is a valid digest 737 * Allow one character repository names 738 * Add a more accurate error description for invalid tag name 739 * Make build cache ignore mtime 740 741 ### Cli 742 743 + Add support for DOCKER_CONFIG/--config to specify config file dir 744 + Add --type flag for docker inspect command 745 + Add formatting options to `docker ps` with `--format` 746 + Replace `docker -d` with new subcommand `docker daemon` 747 * Zsh completion updates and improvements 748 * Add some missing events to bash completion 749 * Support daemon urls with base paths in `docker -H` 750 * Validate status= filter to docker ps 751 * Display when a container is in --net=host in docker ps 752 * Extend docker inspect to export image metadata related to graph driver 753 * Restore --default-gateway{,-v6} daemon options 754 * Add missing unpublished ports in docker ps 755 * Allow duration strings in `docker events` as --since/--until 756 * Expose more mounts information in `docker inspect` 757 758 ### Runtime 759 760 + Add new Fluentd logging driver 761 + Allow `docker import` to load from local files 762 + Add logging driver for GELF via UDP 763 + Allow to copy files from host to containers with `docker cp` 764 + Promote volume drivers from experimental to master 765 + Add rollover options to json-file log driver, and --log-driver-opts flag 766 + Add memory swappiness tuning options 767 * Remove cgroup read-only flag when privileged 768 * Make /proc, /sys, & /dev readonly for readonly containers 769 * Add cgroup bind mount by default 770 * Overlay: Export metadata for container and image in `docker inspect` 771 * Devicemapper: external device activation 772 * Devicemapper: Compare uuid of base device on startup 773 * Remove RC4 from the list of registry cipher suites 774 * Add syslog-facility option 775 * LXC execdriver compatibility with recent LXC versions 776 * Mark LXC execriver as deprecated (to be removed with the migration to runc) 777 778 ### Plugins 779 780 * Separate plugin sockets and specs locations 781 * Allow TLS connections to plugins 782 783 ### Bug fixes 784 785 - Add missing 'Names' field to /containers/json API output 786 - Make `docker rmi` of dangling images safe while pulling 787 - Devicemapper: Change default basesize to 100G 788 - Go Scheduler issue with sync.Mutex and gcc 789 - Fix issue where Search API endpoint would panic due to empty AuthConfig 790 - Set image canonical names correctly 791 - Check dockerinit only if lxc driver is used 792 - Fix ulimit usage of nproc 793 - Always attach STDIN if -i,--interactive is specified 794 - Show error messages when saving container state fails 795 - Fixed incorrect assumption on --bridge=none treated as disable network 796 - Check for invalid port specifications in host configuration 797 - Fix endpoint leave failure for --net=host mode 798 - Fix goroutine leak in the stats API if the container is not running 799 - Check for apparmor file before reading it 800 - Fix DOCKER_TLS_VERIFY being ignored 801 - Set umask to the default on startup 802 - Correct the message of pause and unpause a non-running container 803 - Adjust disallowed CpuShares in container creation 804 - ZFS: correctly apply selinux context 805 - Display empty string instead of <nil> when IP opt is nil 806 - `docker kill` returns error when container is not running 807 - Fix COPY/ADD quoted/json form 808 - Fix goroutine leak on logs -f with no output 809 - Remove panic in nat package on invalid hostport 810 - Fix container linking in Fedora 22 811 - Fix error caused using default gateways outside of the allocated range 812 - Format times in inspect command with a template as RFC3339Nano 813 - Make registry client to accept 2xx and 3xx http status responses as successful 814 - Fix race issue that caused the daemon to crash with certain layer downloads failed in a specific order. 815 - Fix error when the docker ps format was not valid. 816 - Remove redundant ip forward check. 817 - Fix issue trying to push images to repository mirrors. 818 - Fix error cleaning up network entrypoints when there is an initialization issue. 819 820 ## 1.7.1 (2015-07-14) 821 822 #### Runtime 823 824 - Fix default user spawning exec process with `docker exec` 825 - Make `--bridge=none` not to configure the network bridge 826 - Publish networking stats properly 827 - Fix implicit devicemapper selection with static binaries 828 - Fix socket connections that hung intermittently 829 - Fix bridge interface creation on CentOS/RHEL 6.6 830 - Fix local dns lookups added to resolv.conf 831 - Fix copy command mounting volumes 832 - Fix read/write privileges in volumes mounted with --volumes-from 833 834 #### Remote API 835 836 - Fix unmarshalling of Command and Entrypoint 837 - Set limit for minimum client version supported 838 - Validate port specification 839 - Return proper errors when attach/reattach fail 840 841 #### Distribution 842 843 - Fix pulling private images 844 - Fix fallback between registry V2 and V1 845 846 ## 1.7.0 (2015-06-16) 847 848 #### Runtime 849 + Experimental feature: support for out-of-process volume plugins 850 * The userland proxy can be disabled in favor of hairpin NAT using the daemon’s `--userland-proxy=false` flag 851 * The `exec` command supports the `-u|--user` flag to specify the new process owner 852 + Default gateway for containers can be specified daemon-wide using the `--default-gateway` and `--default-gateway-v6` flags 853 + The CPU CFS (Completely Fair Scheduler) quota can be set in `docker run` using `--cpu-quota` 854 + Container block IO can be controlled in `docker run` using`--blkio-weight` 855 + ZFS support 856 + The `docker logs` command supports a `--since` argument 857 + UTS namespace can be shared with the host with `docker run --uts=host` 858 859 #### Quality 860 * Networking stack was entirely rewritten as part of the libnetwork effort 861 * Engine internals refactoring 862 * Volumes code was entirely rewritten to support the plugins effort 863 + Sending SIGUSR1 to a daemon will dump all goroutines stacks without exiting 864 865 #### Build 866 + Support ${variable:-value} and ${variable:+value} syntax for environment variables 867 + Support resource management flags `--cgroup-parent`, `--cpu-period`, `--cpu-quota`, `--cpuset-cpus`, `--cpuset-mems` 868 + git context changes with branches and directories 869 * The .dockerignore file support exclusion rules 870 871 #### Distribution 872 + Client support for v2 mirroring support for the official registry 873 874 #### Bugfixes 875 * Firewalld is now supported and will automatically be used when available 876 * mounting --device recursively 877 878 ## 1.6.2 (2015-05-13) 879 880 #### Runtime 881 - Revert change prohibiting mounting into /sys 882 883 ## 1.6.1 (2015-05-07) 884 885 #### Security 886 - Fix read/write /proc paths (CVE-2015-3630) 887 - Prohibit VOLUME /proc and VOLUME / (CVE-2015-3631) 888 - Fix opening of file-descriptor 1 (CVE-2015-3627) 889 - Fix symlink traversal on container respawn allowing local privilege escalation (CVE-2015-3629) 890 - Prohibit mount of /sys 891 892 #### Runtime 893 - Update AppArmor policy to not allow mounts 894 895 ## 1.6.0 (2015-04-07) 896 897 #### Builder 898 + Building images from an image ID 899 + Build containers with resource constraints, ie `docker build --cpu-shares=100 --memory=1024m...` 900 + `commit --change` to apply specified Dockerfile instructions while committing the image 901 + `import --change` to apply specified Dockerfile instructions while importing the image 902 + Builds no longer continue in the background when canceled with CTRL-C 903 904 #### Client 905 + Windows Support 906 907 #### Runtime 908 + Container and image Labels 909 + `--cgroup-parent` for specifying a parent cgroup to place container cgroup within 910 + Logging drivers, `json-file`, `syslog`, or `none` 911 + Pulling images by ID 912 + `--ulimit` to set the ulimit on a container 913 + `--default-ulimit` option on the daemon which applies to all created containers (and overwritten by `--ulimit` on run) 914 915 ## 1.5.0 (2015-02-10) 916 917 #### Builder 918 + Dockerfile to use for a given `docker build` can be specified with the `-f` flag 919 * 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 920 * ADD and COPY instructions accept relative paths 921 * Dockerfile `FROM scratch` instruction is now interpreted as a no-base specifier 922 * Improve performance when exposing a large number of ports 923 924 #### Hack 925 + Allow client-side only integration tests for Windows 926 * Include docker-py integration tests against Docker daemon as part of our test suites 927 928 #### Packaging 929 + Support for the new version of the registry HTTP API 930 * Speed up `docker push` for images with a majority of already existing layers 931 - Fixed contacting a private registry through a proxy 932 933 #### Remote API 934 + A new endpoint will stream live container resource metrics and can be accessed with the `docker stats` command 935 + Containers can be renamed using the new `rename` endpoint and the associated `docker rename` command 936 * Container `inspect` endpoint show the ID of `exec` commands running in this container 937 * Container `inspect` endpoint show the number of times Docker auto-restarted the container 938 * New types of event can be streamed by the `events` endpoint: ‘OOM’ (container died with out of memory), ‘exec_create’, and ‘exec_start' 939 - Fixed returned string fields which hold numeric characters incorrectly omitting surrounding double quotes 940 941 #### Runtime 942 + Docker daemon has full IPv6 support 943 + 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 944 + 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 945 + Container total memory usage can be limited for `docker run` using the `--memory-swap` flag 946 * Major stability improvements for devicemapper storage driver 947 * Better integration with host system: containers will reflect changes to the host's `/etc/resolv.conf` file when restarted 948 * Better integration with host system: per-container iptable rules are moved to the DOCKER chain 949 - Fixed container exiting on out of memory to return an invalid exit code 950 951 #### Other 952 * The HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables are properly taken into account by the client when connecting to the Docker daemon 953 954 ## 1.4.1 (2014-12-15) 955 956 #### Runtime 957 - Fix issue with volumes-from and bind mounts not being honored after create 958 959 ## 1.4.0 (2014-12-11) 960 961 #### Notable Features since 1.3.0 962 + Set key=value labels to the daemon (displayed in `docker info`), applied with 963 new `-label` daemon flag 964 + Add support for `ENV` in Dockerfile of the form: 965 `ENV name=value name2=value2...` 966 + New Overlayfs Storage Driver 967 + `docker info` now returns an `ID` and `Name` field 968 + Filter events by event name, container, or image 969 + `docker cp` now supports copying from container volumes 970 - Fixed `docker tag`, so it honors `--force` when overriding a tag for existing 971 image. 972 973 ## 1.3.3 (2014-12-11) 974 975 #### Security 976 - Fix path traversal vulnerability in processing of absolute symbolic links (CVE-2014-9356) 977 - Fix decompression of xz image archives, preventing privilege escalation (CVE-2014-9357) 978 - Validate image IDs (CVE-2014-9358) 979 980 #### Runtime 981 - Fix an issue when image archives are being read slowly 982 983 #### Client 984 - Fix a regression related to stdin redirection 985 - Fix a regression with `docker cp` when destination is the current directory 986 987 ## 1.3.2 (2014-11-20) 988 989 #### Security 990 - Fix tar breakout vulnerability 991 * Extractions are now sandboxed chroot 992 - Security options are no longer committed to images 993 994 #### Runtime 995 - Fix deadlock in `docker ps -f exited=1` 996 - Fix a bug when `--volumes-from` references a container that failed to start 997 998 #### Registry 999 + `--insecure-registry` now accepts CIDR notation such as 10.1.0.0/16 1000 * Private registries whose IPs fall in the 127.0.0.0/8 range do no need the `--insecure-registry` flag 1001 - Skip the experimental registry v2 API when mirroring is enabled 1002 1003 ## 1.3.1 (2014-10-28) 1004 1005 #### Security 1006 * Prevent fallback to SSL protocols < TLS 1.0 for client, daemon and registry 1007 + Secure HTTPS connection to registries with certificate verification and without HTTP fallback unless `--insecure-registry` is specified 1008 1009 #### Runtime 1010 - Fix issue where volumes would not be shared 1011 1012 #### Client 1013 - Fix issue with `--iptables=false` not automatically setting `--ip-masq=false` 1014 - Fix docker run output to non-TTY stdout 1015 1016 #### Builder 1017 - Fix escaping `$` for environment variables 1018 - Fix issue with lowercase `onbuild` Dockerfile instruction 1019 - Restrict environment variable expansion to `ENV`, `ADD`, `COPY`, `WORKDIR`, `EXPOSE`, `VOLUME` and `USER` 1020 1021 ## 1.3.0 (2014-10-14) 1022 1023 #### Notable features since 1.2.0 1024 + Docker `exec` allows you to run additional processes inside existing containers 1025 + Docker `create` gives you the ability to create a container via the CLI without executing a process 1026 + `--security-opts` options to allow user to customize container labels and apparmor profiles 1027 + Docker `ps` filters 1028 - Wildcard support to COPY/ADD 1029 + Move production URLs to get.docker.com from get.docker.io 1030 + Allocate IP address on the bridge inside a valid CIDR 1031 + Use drone.io for PR and CI testing 1032 + Ability to setup an official registry mirror 1033 + Ability to save multiple images with docker `save` 1034 1035 ## 1.2.0 (2014-08-20) 1036 1037 #### Runtime 1038 + Make /etc/hosts /etc/resolv.conf and /etc/hostname editable at runtime 1039 + Auto-restart containers using policies 1040 + Use /var/lib/docker/tmp for large temporary files 1041 + `--cap-add` and `--cap-drop` to tweak what linux capability you want 1042 + `--device` to use devices in containers 1043 1044 #### Client 1045 + `docker search` on private registries 1046 + Add `exited` filter to `docker ps --filter` 1047 * `docker rm -f` now kills instead of stop 1048 + Support for IPv6 addresses in `--dns` flag 1049 1050 #### Proxy 1051 + Proxy instances in separate processes 1052 * Small bug fix on UDP proxy 1053 1054 ## 1.1.2 (2014-07-23) 1055 1056 #### Runtime 1057 + Fix port allocation for existing containers 1058 + Fix containers restart on daemon restart 1059 1060 #### Packaging 1061 + Fix /etc/init.d/docker issue on Debian 1062 1063 ## 1.1.1 (2014-07-09) 1064 1065 #### Builder 1066 * Fix issue with ADD 1067 1068 ## 1.1.0 (2014-07-03) 1069 1070 #### Notable features since 1.0.1 1071 + Add `.dockerignore` support 1072 + Pause containers during `docker commit` 1073 + Add `--tail` to `docker logs` 1074 1075 #### Builder 1076 + Allow a tar file as context for `docker build` 1077 * Fix issue with white-spaces and multi-lines in `Dockerfiles` 1078 1079 #### Runtime 1080 * Overall performance improvements 1081 * Allow `/` as source of `docker run -v` 1082 * Fix port allocation 1083 * Fix bug in `docker save` 1084 * Add links information to `docker inspect` 1085 1086 #### Client 1087 * Improve command line parsing for `docker commit` 1088 1089 #### Remote API 1090 * Improve status code for the `start` and `stop` endpoints 1091 1092 ## 1.0.1 (2014-06-19) 1093 1094 #### Notable features since 1.0.0 1095 * Enhance security for the LXC driver 1096 1097 #### Builder 1098 * Fix `ONBUILD` instruction passed to grandchildren 1099 1100 #### Runtime 1101 * Fix events subscription 1102 * Fix /etc/hostname file with host networking 1103 * Allow `-h` and `--net=none` 1104 * Fix issue with hotplug devices in `--privileged` 1105 1106 #### Client 1107 * Fix artifacts with events 1108 * Fix a panic with empty flags 1109 * Fix `docker cp` on Mac OS X 1110 1111 #### Miscellaneous 1112 * Fix compilation on Mac OS X 1113 * Fix several races 1114 1115 ## 1.0.0 (2014-06-09) 1116 1117 #### Notable features since 0.12.0 1118 * Production support 1119 1120 ## 0.12.0 (2014-06-05) 1121 1122 #### Notable features since 0.11.0 1123 * 40+ various improvements to stability, performance and usability 1124 * 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 1125 * Inherit file permissions from the host on `ADD` 1126 * New `pause` and `unpause` commands to allow pausing and unpausing of containers using cgroup freezer 1127 * The `images` command has a `-f`/`--filter` option to filter the list of images 1128 * Add `--force-rm` to clean up after a failed build 1129 * Standardize JSON keys in Remote API to CamelCase 1130 * Pull from a docker run now assumes `latest` tag if not specified 1131 * Enhance security on Linux capabilities and device nodes 1132 1133 ## 0.11.1 (2014-05-07) 1134 1135 #### Registry 1136 - Fix push and pull to private registry 1137 1138 ## 0.11.0 (2014-05-07) 1139 1140 #### Notable features since 0.10.0 1141 1142 * SELinux support for mount and process labels 1143 * Linked containers can be accessed by hostname 1144 * Use the net `--net` flag to allow advanced network configuration such as host networking so that containers can use the host's network interfaces 1145 * Add a ping endpoint to the Remote API to do healthchecks of your docker daemon 1146 * Logs can now be returned with an optional timestamp 1147 * Docker now works with registries that support SHA-512 1148 * Multiple registry endpoints are supported to allow registry mirrors 1149 1150 ## 0.10.0 (2014-04-08) 1151 1152 #### Builder 1153 - Fix printing multiple messages on a single line. Fixes broken output during builds. 1154 - Follow symlinks inside container's root for ADD build instructions. 1155 - Fix EXPOSE caching. 1156 1157 #### Documentation 1158 - Add the new options of `docker ps` to the documentation. 1159 - Add the options of `docker restart` to the documentation. 1160 - Update daemon docs and help messages for --iptables and --ip-forward. 1161 - Updated apt-cacher-ng docs example. 1162 - Remove duplicate description of --mtu from docs. 1163 - Add missing -t and -v for `docker images` to the docs. 1164 - Add fixes to the cli docs. 1165 - Update libcontainer docs. 1166 - Update images in docs to remove references to AUFS and LXC. 1167 - Update the nodejs_web_app in the docs to use the new epel RPM address. 1168 - Fix external link on security of containers. 1169 - Update remote API docs. 1170 - Add image size to history docs. 1171 - Be explicit about binding to all interfaces in redis example. 1172 - Document DisableNetwork flag in the 1.10 remote api. 1173 - Document that `--lxc-conf` is lxc only. 1174 - Add chef usage documentation. 1175 - Add example for an image with multiple for `docker load`. 1176 - Explain what `docker run -a` does in the docs. 1177 1178 #### Contrib 1179 - Add variable for DOCKER_LOGFILE to sysvinit and use append instead of overwrite in opening the logfile. 1180 - Fix init script cgroup mounting workarounds to be more similar to cgroupfs-mount and thus work properly. 1181 - Remove inotifywait hack from the upstart host-integration example because it's not necessary any more. 1182 - Add check-config script to contrib. 1183 - Fix fish shell completion. 1184 1185 #### Hack 1186 * Clean up "go test" output from "make test" to be much more readable/scannable. 1187 * Exclude more "definitely not unit tested Go source code" directories from hack/make/test. 1188 + Generate md5 and sha256 hashes when building, and upload them via hack/release.sh. 1189 - Include contributed completions in Ubuntu PPA. 1190 + Add cli integration tests. 1191 * Add tweaks to the hack scripts to make them simpler. 1192 1193 #### Remote API 1194 + Add TLS auth support for API. 1195 * Move git clone from daemon to client. 1196 - Fix content-type detection in docker cp. 1197 * Split API into 2 go packages. 1198 1199 #### Runtime 1200 * Support hairpin NAT without going through Docker server. 1201 - devicemapper: succeed immediately when removing non-existent devices. 1202 - devicemapper: improve handling of devicemapper devices (add per device lock, increase sleep time and unlock while sleeping). 1203 - devicemapper: increase timeout in waitClose to 10 seconds. 1204 - devicemapper: ensure we shut down thin pool cleanly. 1205 - devicemapper: pass info, rather than hash to activateDeviceIfNeeded, deactivateDevice, setInitialized, deleteDevice. 1206 - devicemapper: avoid AB-BA deadlock. 1207 - devicemapper: make shutdown better/faster. 1208 - improve alpha sorting in mflag. 1209 - Remove manual http cookie management because the cookiejar is being used. 1210 - Use BSD raw mode on Darwin. Fixes nano, tmux and others. 1211 - Add FreeBSD support for the client. 1212 - Merge auth package into registry. 1213 - Add deprecation warning for -t on `docker pull`. 1214 - Remove goroutine leak on error. 1215 - Update parseLxcInfo to comply with new lxc1.0 format. 1216 - Fix attach exit on darwin. 1217 - Improve deprecation message. 1218 - Retry to retrieve the layer metadata up to 5 times for `docker pull`. 1219 - Only unshare the mount namespace for execin. 1220 - Merge existing config when committing. 1221 - Disable daemon startup timeout. 1222 - Fix issue #4681: add loopback interface when networking is disabled. 1223 - Add failing test case for issue #4681. 1224 - Send SIGTERM to child, instead of SIGKILL. 1225 - Show the driver and the kernel version in `docker info` even when not in debug mode. 1226 - Always symlink /dev/ptmx for libcontainer. This fixes console related problems. 1227 - Fix issue caused by the absence of /etc/apparmor.d. 1228 - Don't leave empty cidFile behind when failing to create the container. 1229 - Mount cgroups automatically if they're not mounted already. 1230 - Use mock for search tests. 1231 - Update to double-dash everywhere. 1232 - Move .dockerenv parsing to lxc driver. 1233 - Move all bind-mounts in the container inside the namespace. 1234 - Don't use separate bind mount for container. 1235 - Always symlink /dev/ptmx for libcontainer. 1236 - Don't kill by pid for other drivers. 1237 - Add initial logging to libcontainer. 1238 * Sort by port in `docker ps`. 1239 - Move networking drivers into runtime top level package. 1240 + Add --no-prune to `docker rmi`. 1241 + Add time since exit in `docker ps`. 1242 - graphdriver: add build tags. 1243 - Prevent allocation of previously allocated ports & prevent improve port allocation. 1244 * Add support for --since/--before in `docker ps`. 1245 - Clean up container stop. 1246 + Add support for configurable dns search domains. 1247 - Add support for relative WORKDIR instructions. 1248 - Add --output flag for docker save. 1249 - Remove duplication of DNS entries in config merging. 1250 - Add cpuset.cpus to cgroups and native driver options. 1251 - Remove docker-ci. 1252 - Promote btrfs. btrfs is no longer considered experimental. 1253 - Add --input flag to `docker load`. 1254 - Return error when existing bridge doesn't match IP address. 1255 - Strip comments before parsing line continuations to avoid interpreting instructions as comments. 1256 - Fix TestOnlyLoopbackExistsWhenUsingDisableNetworkOption to ignore "DOWN" interfaces. 1257 - Add systemd implementation of cgroups and make containers show up as systemd units. 1258 - Fix commit and import when no repository is specified. 1259 - Remount /var/lib/docker as --private to fix scaling issue. 1260 - Use the environment's proxy when pinging the remote registry. 1261 - Reduce error level from harmless errors. 1262 * Allow --volumes-from to be individual files. 1263 - Fix expanding buffer in StdCopy. 1264 - Set error regardless of attach or stdin. This fixes #3364. 1265 - Add support for --env-file to load environment variables from files. 1266 - Symlink /etc/mtab and /proc/mounts. 1267 - Allow pushing a single tag. 1268 - 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. 1269 - Don't throw error when starting an already running container. 1270 - Fix dynamic port allocation limit. 1271 - remove setupDev from libcontainer. 1272 - Add API version to `docker version`. 1273 - Return correct exit code when receiving signal and make SIGQUIT quit without cleanup. 1274 - Fix --volumes-from mount failure. 1275 - Allow non-privileged containers to create device nodes. 1276 - Skip login tests because of external dependency on a hosted service. 1277 - Deprecate `docker images --tree` and `docker images --viz`. 1278 - Deprecate `docker insert`. 1279 - Include base abstraction for apparmor. This fixes some apparmor related problems on Ubuntu 14.04. 1280 - Add specific error message when hitting 401 over HTTP on push. 1281 - Fix absolute volume check. 1282 - Remove volumes-from from the config. 1283 - Move DNS options to hostconfig. 1284 - Update the apparmor profile for libcontainer. 1285 - Add deprecation notice for `docker commit -run`. 1286 1287 ## 0.9.1 (2014-03-24) 1288 1289 #### Builder 1290 - Fix printing multiple messages on a single line. Fixes broken output during builds. 1291 1292 #### Documentation 1293 - Fix external link on security of containers. 1294 1295 #### Contrib 1296 - Fix init script cgroup mounting workarounds to be more similar to cgroupfs-mount and thus work properly. 1297 - Add variable for DOCKER_LOGFILE to sysvinit and use append instead of overwrite in opening the logfile. 1298 1299 #### Hack 1300 - Generate md5 and sha256 hashes when building, and upload them via hack/release.sh. 1301 1302 #### Remote API 1303 - Fix content-type detection in `docker cp`. 1304 1305 #### Runtime 1306 - Use BSD raw mode on Darwin. Fixes nano, tmux and others. 1307 - Only unshare the mount namespace for execin. 1308 - Retry to retrieve the layer metadata up to 5 times for `docker pull`. 1309 - Merge existing config when committing. 1310 - Fix panic in monitor. 1311 - Disable daemon startup timeout. 1312 - Fix issue #4681: add loopback interface when networking is disabled. 1313 - Add failing test case for issue #4681. 1314 - Send SIGTERM to child, instead of SIGKILL. 1315 - Show the driver and the kernel version in `docker info` even when not in debug mode. 1316 - Always symlink /dev/ptmx for libcontainer. This fixes console related problems. 1317 - Fix issue caused by the absence of /etc/apparmor.d. 1318 - Don't leave empty cidFile behind when failing to create the container. 1319 - Improve deprecation message. 1320 - Fix attach exit on darwin. 1321 - devicemapper: improve handling of devicemapper devices (add per device lock, increase sleep time, unlock while sleeping). 1322 - devicemapper: succeed immediately when removing non-existent devices. 1323 - devicemapper: increase timeout in waitClose to 10 seconds. 1324 - Remove goroutine leak on error. 1325 - Update parseLxcInfo to comply with new lxc1.0 format. 1326 1327 ## 0.9.0 (2014-03-10) 1328 1329 #### Builder 1330 - Avoid extra mount/unmount during build. This fixes mount/unmount related errors during build. 1331 - Add error to docker build --rm. This adds missing error handling. 1332 - Forbid chained onbuild, `onbuild from` and `onbuild maintainer` triggers. 1333 - Make `--rm` the default for `docker build`. 1334 1335 #### Documentation 1336 - Download the docker client binary for Mac over https. 1337 - Update the titles of the install instructions & descriptions. 1338 * Add instructions for upgrading boot2docker. 1339 * Add port forwarding example in OS X install docs. 1340 - Attempt to disentangle repository and registry. 1341 - Update docs to explain more about `docker ps`. 1342 - Update sshd example to use a Dockerfile. 1343 - Rework some examples, including the Python examples. 1344 - Update docs to include instructions for a container's lifecycle. 1345 - Update docs documentation to discuss the docs branch. 1346 - Don't skip cert check for an example & use HTTPS. 1347 - Bring back the memory and swap accounting section which was lost when the kernel page was removed. 1348 - Explain DNS warnings and how to fix them on systems running and using a local nameserver. 1349 1350 #### Contrib 1351 - Add Tanglu support for mkimage-debootstrap. 1352 - Add SteamOS support for mkimage-debootstrap. 1353 1354 #### Hack 1355 - Get package coverage when running integration tests. 1356 - Remove the Vagrantfile. This is being replaced with boot2docker. 1357 - Fix tests on systems where aufs isn't available. 1358 - Update packaging instructions and remove the dependency on lxc. 1359 1360 #### Remote API 1361 * Move code specific to the API to the api package. 1362 - Fix header content type for the API. Makes all endpoints use proper content type. 1363 - Fix registry auth & remove ping calls from CmdPush and CmdPull. 1364 - Add newlines to the JSON stream functions. 1365 1366 #### Runtime 1367 * Do not ping the registry from the CLI. All requests to registries flow through the daemon. 1368 - Check for nil information return in the lxc driver. This fixes panics with older lxc versions. 1369 - Devicemapper: cleanups and fix for unmount. Fixes two problems which were causing unmount to fail intermittently. 1370 - Devicemapper: remove directory when removing device. Directories don't get left behind when removing the device. 1371 * Devicemapper: enable skip_block_zeroing. Improves performance by not zeroing blocks. 1372 - Devicemapper: fix shutdown warnings. Fixes shutdown warnings concerning pool device removal. 1373 - Ensure docker cp stream is closed properly. Fixes problems with files not being copied by `docker cp`. 1374 - Stop making `tcp://` default to `127.0.0.1:4243` and remove the default port for tcp. 1375 - Fix `--run` in `docker commit`. This makes `docker commit --run` work again. 1376 - Fix custom bridge related options. This makes custom bridges work again. 1377 + Mount-bind the PTY as container console. This allows tmux/screen to run. 1378 + Add the pure Go libcontainer library to make it possible to run containers using only features of the Linux kernel. 1379 + Add native exec driver which uses libcontainer and make it the default exec driver. 1380 - Add support for handling extended attributes in archives. 1381 * Set the container MTU to be the same as the host MTU. 1382 + Add simple sha256 checksums for layers to speed up `docker push`. 1383 * Improve kernel version parsing. 1384 * Allow flag grouping (`docker run -it`). 1385 - Remove chroot exec driver. 1386 - Fix divide by zero to fix panic. 1387 - Rewrite `docker rmi`. 1388 - Fix docker info with lxc 1.0.0. 1389 - Fix fedora tty with apparmor. 1390 * Don't always append env vars, replace defaults with vars from config. 1391 * Fix a goroutine leak. 1392 * Switch to Go 1.2.1. 1393 - Fix unique constraint error checks. 1394 * Handle symlinks for Docker's data directory and for TMPDIR. 1395 - Add deprecation warnings for flags (-flag is deprecated in favor of --flag) 1396 - Add apparmor profile for the native execution driver. 1397 * Move system specific code from archive to pkg/system. 1398 - Fix duplicate signal for `docker run -i -t` (issue #3336). 1399 - Return correct process pid for lxc. 1400 - Add a -G option to specify the group which unix sockets belong to. 1401 + Add `-f` flag to `docker rm` to force removal of running containers. 1402 + Kill ghost containers and restart all ghost containers when the docker daemon restarts. 1403 + Add `DOCKER_RAMDISK` environment variable to make Docker work when the root is on a ramdisk. 1404 1405 ## 0.8.1 (2014-02-18) 1406 1407 #### Builder 1408 1409 - Avoid extra mount/unmount during build. This removes an unneeded mount/unmount operation which was causing problems with devicemapper 1410 - Fix regression with ADD of tar files. This stops Docker from decompressing tarballs added via ADD from the local file system 1411 - Add error to `docker build --rm`. This adds a missing error check to ensure failures to remove containers are detected and reported 1412 1413 #### Documentation 1414 1415 * Update issue filing instructions 1416 * Warn against the use of symlinks for Docker's storage folder 1417 * Replace the Firefox example with an IceWeasel example 1418 * Rewrite the PostgresSQL example using a Dockerfile and add more details to it 1419 * Improve the OS X documentation 1420 1421 #### Remote API 1422 1423 - Fix broken images API for version less than 1.7 1424 - Use the right encoding for all API endpoints which return JSON 1425 - Move remote api client to api/ 1426 - Queue calls to the API using generic socket wait 1427 1428 #### Runtime 1429 1430 - Fix the use of custom settings for bridges and custom bridges 1431 - Refactor the devicemapper code to avoid many mount/unmount race conditions and failures 1432 - Remove two panics which could make Docker crash in some situations 1433 - Don't ping registry from the CLI client 1434 - Enable skip_block_zeroing for devicemapper. This stops devicemapper from always zeroing entire blocks 1435 - Fix --run in `docker commit`. This makes docker commit store `--run` in the image configuration 1436 - Remove directory when removing devicemapper device. This cleans up leftover mount directories 1437 - Drop NET_ADMIN capability for non-privileged containers. Unprivileged containers can't change their network configuration 1438 - Ensure `docker cp` stream is closed properly 1439 - Avoid extra mount/unmount during container registration. This removes an unneeded mount/unmount operation which was causing problems with devicemapper 1440 - Stop allowing tcp:// as a default tcp bin address which binds to 127.0.0.1:4243 and remove the default port 1441 + Mount-bind the PTY as container console. This allows tmux and screen to run in a container 1442 - Clean up archive closing. This fixes and improves archive handling 1443 - Fix engine tests on systems where temp directories are symlinked 1444 - Add test methods for save and load 1445 - Avoid temporarily unmounting the container when restarting it. This fixes a race for devicemapper during restart 1446 - Support submodules when building from a GitHub repository 1447 - Quote volume path to allow spaces 1448 - Fix remote tar ADD behavior. This fixes a regression which was causing Docker to extract tarballs 1449 1450 ## 0.8.0 (2014-02-04) 1451 1452 #### Notable features since 0.7.0 1453 1454 * Images and containers can be removed much faster 1455 * Building an image from source with docker build is now much faster 1456 * The Docker daemon starts and stops much faster 1457 * 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 1458 * 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 1459 * 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 1460 * 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 1461 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 1462 * 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 1463 1464 * The ADD instruction now supports caching, which avoids unnecessarily re-uploading the same source content again and again when it hasn’t changed 1465 * 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 1466 * Docker now ships with an experimental storage driver which uses the BTRFS filesystem for copy-on-write 1467 * Docker is officially supported on Mac OS X 1468 * The Docker daemon supports systemd socket activation 1469 1470 ## 0.7.6 (2014-01-14) 1471 1472 #### Builder 1473 1474 * Do not follow symlink outside of build context 1475 1476 #### Runtime 1477 1478 - Remount bind mounts when ro is specified 1479 * Use https for fetching docker version 1480 1481 #### Other 1482 1483 * Inline the test.docker.io fingerprint 1484 * Add ca-certificates to packaging documentation 1485 1486 ## 0.7.5 (2014-01-09) 1487 1488 #### Builder 1489 1490 * Disable compression for build. More space usage but a much faster upload 1491 - Fix ADD caching for certain paths 1492 - Do not compress archive from git build 1493 1494 #### Documentation 1495 1496 - Fix error in GROUP add example 1497 * Make sure the GPG fingerprint is inline in the documentation 1498 * Give more specific advice on setting up signing of commits for DCO 1499 1500 #### Runtime 1501 1502 - Fix misspelled container names 1503 - Do not add hostname when networking is disabled 1504 * Return most recent image from the cache by date 1505 - Return all errors from docker wait 1506 * Add Content-Type Header "application/json" to GET /version and /info responses 1507 1508 #### Other 1509 1510 * Update DCO to version 1.1 1511 + Update Makefile to use "docker:GIT_BRANCH" as the generated image name 1512 * Update Travis to check for new 1.1 DCO version 1513 1514 ## 0.7.4 (2014-01-07) 1515 1516 #### Builder 1517 1518 - Fix ADD caching issue with . prefixed path 1519 - Fix docker build on devicemapper by reverting sparse file tar option 1520 - Fix issue with file caching and prevent wrong cache hit 1521 * Use same error handling while unmarshalling CMD and ENTRYPOINT 1522 1523 #### Documentation 1524 1525 * Simplify and streamline Amazon Quickstart 1526 * Install instructions use unprefixed Fedora image 1527 * Update instructions for mtu flag for Docker on GCE 1528 + Add Ubuntu Saucy to installation 1529 - Fix for wrong version warning on master instead of latest 1530 1531 #### Runtime 1532 1533 - Only get the image's rootfs when we need to calculate the image size 1534 - Correctly handle unmapping UDP ports 1535 * Make CopyFileWithTar use a pipe instead of a buffer to save memory on docker build 1536 - Fix login message to say pull instead of push 1537 - Fix "docker load" help by removing "SOURCE" prompt and mentioning STDIN 1538 * Make blank -H option default to the same as no -H was sent 1539 * Extract cgroups utilities to own submodule 1540 1541 #### Other 1542 1543 + Add Travis CI configuration to validate DCO and gofmt requirements 1544 + Add Developer Certificate of Origin Text 1545 * Upgrade VBox Guest Additions 1546 * Check standalone header when pinging a registry server 1547 1548 ## 0.7.3 (2014-01-02) 1549 1550 #### Builder 1551 1552 + Update ADD to use the image cache, based on a hash of the added content 1553 * Add error message for empty Dockerfile 1554 1555 #### Documentation 1556 1557 - Fix outdated link to the "Introduction" on www.docker.io 1558 + Update the docs to get wider when the screen does 1559 - Add information about needing to install LXC when using raw binaries 1560 * Update Fedora documentation to disentangle the docker and docker.io conflict 1561 * Add a note about using the new `-mtu` flag in several GCE zones 1562 + Add FrugalWare installation instructions 1563 + Add a more complete example of `docker run` 1564 - Fix API documentation for creating and starting Privileged containers 1565 - Add missing "name" parameter documentation on "/containers/create" 1566 * Add a mention of `lxc-checkconfig` as a way to check for some of the necessary kernel configuration 1567 - Update the 1.8 API documentation with some additions that were added to the docs for 1.7 1568 1569 #### Hack 1570 1571 - Add missing libdevmapper dependency to the packagers documentation 1572 * Update minimum Go requirement to a hard line at Go 1.2+ 1573 * Many minor improvements to the Vagrantfile 1574 + Add ability to customize dockerinit search locations when compiling (to be used very sparingly only by packagers of platforms who require a nonstandard location) 1575 + Add coverprofile generation reporting 1576 - Add `-a` to our Go build flags, removing the need for recompiling the stdlib manually 1577 * Update Dockerfile to be more canonical and have less spurious warnings during build 1578 - Fix some miscellaneous `docker pull` progress bar display issues 1579 * Migrate more miscellaneous packages under the "pkg" folder 1580 * Update TextMate highlighting to automatically be enabled for files named "Dockerfile" 1581 * Reorganize syntax highlighting files under a common "contrib/syntax" directory 1582 * 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 1583 * Add support for container names in bash completion 1584 1585 #### Packaging 1586 1587 + Add an official Docker client binary for Darwin (Mac OS X) 1588 * Remove empty "Vendor" string and added "License" on deb package 1589 + Add a stubbed version of "/etc/default/docker" in the deb package 1590 1591 #### Runtime 1592 1593 * Update layer application to extract tars in place, avoiding file churn while handling whiteouts 1594 - Fix permissiveness of mtime comparisons in tar handling (since GNU tar and Go tar do not yet support sub-second mtime precision) 1595 * 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`) 1596 + Update `-H unix://` to work similarly to `-H tcp://` by inserting the default values for missing portions 1597 - Fix more edge cases regarding dockerinit and deleted or replaced docker or dockerinit files 1598 * Update container name validation to include '.' 1599 - Fix use of a symlink or non-absolute path as the argument to `-g` to work as expected 1600 * Update to handle external mounts outside of LXC, fixing many small mounting quirks and making future execution backends and other features simpler 1601 * Update to use proper box-drawing characters everywhere in `docker images -tree` 1602 * Move MTU setting from LXC configuration to directly use netlink 1603 * Add `-S` option to external tar invocation for more efficient spare file handling 1604 + Add arch/os info to User-Agent string, especially for registry requests 1605 + Add `-mtu` option to Docker daemon for configuring MTU 1606 - Fix `docker build` to exit with a non-zero exit code on error 1607 + Add `DOCKER_HOST` environment variable to configure the client `-H` flag without specifying it manually for every invocation 1608 1609 ## 0.7.2 (2013-12-16) 1610 1611 #### Runtime 1612 1613 + Validate container names on creation with standard regex 1614 * Increase maximum image depth to 127 from 42 1615 * Continue to move api endpoints to the job api 1616 + Add -bip flag to allow specification of dynamic bridge IP via CIDR 1617 - Allow bridge creation when ipv6 is not enabled on certain systems 1618 * Set hostname and IP address from within dockerinit 1619 * Drop capabilities from within dockerinit 1620 - Fix volumes on host when symlink is present the image 1621 - Prevent deletion of image if ANY container is depending on it even if the container is not running 1622 * Update docker push to use new progress display 1623 * Use os.Lstat to allow mounting unix sockets when inspecting volumes 1624 - Adjust handling of inactive user login 1625 - Add missing defines in devicemapper for older kernels 1626 - Allow untag operations with no container validation 1627 - Add auth config to docker build 1628 1629 #### Documentation 1630 1631 * Add more information about Docker logging 1632 + Add RHEL documentation 1633 * Add a direct example for changing the CMD that is run in a container 1634 * Update Arch installation documentation 1635 + Add section on Trusted Builds 1636 + Add Network documentation page 1637 1638 #### Other 1639 1640 + Add new cover bundle for providing code coverage reporting 1641 * Separate integration tests in bundles 1642 * Make Tianon the hack maintainer 1643 * Update mkimage-debootstrap with more tweaks for keeping images small 1644 * Use https to get the install script 1645 * Remove vendored dotcloud/tar now that Go 1.2 has been released 1646 1647 ## 0.7.1 (2013-12-05) 1648 1649 #### Documentation 1650 1651 + Add @SvenDowideit as documentation maintainer 1652 + Add links example 1653 + Add documentation regarding ambassador pattern 1654 + Add Google Cloud Platform docs 1655 + Add dockerfile best practices 1656 * Update doc for RHEL 1657 * Update doc for registry 1658 * Update Postgres examples 1659 * Update doc for Ubuntu install 1660 * Improve remote api doc 1661 1662 #### Runtime 1663 1664 + Add hostconfig to docker inspect 1665 + Implement `docker log -f` to stream logs 1666 + Add env variable to disable kernel version warning 1667 + Add -format to `docker inspect` 1668 + Support bind-mount for files 1669 - Fix bridge creation on RHEL 1670 - Fix image size calculation 1671 - Make sure iptables are called even if the bridge already exists 1672 - Fix issue with stderr only attach 1673 - Remove init layer when destroying a container 1674 - Fix same port binding on different interfaces 1675 - `docker build` now returns the correct exit code 1676 - Fix `docker port` to display correct port 1677 - `docker build` now check that the dockerfile exists client side 1678 - `docker attach` now returns the correct exit code 1679 - Remove the name entry when the container does not exist 1680 1681 #### Registry 1682 1683 * Improve progress bars, add ETA for downloads 1684 * Simultaneous pulls now waits for the first to finish instead of failing 1685 - Tag only the top-layer image when pushing to registry 1686 - Fix issue with offline image transfer 1687 - Fix issue preventing using ':' in password for registry 1688 1689 #### Other 1690 1691 + Add pprof handler for debug 1692 + Create a Makefile 1693 * Use stdlib tar that now includes fix 1694 * Improve make.sh test script 1695 * Handle SIGQUIT on the daemon 1696 * Disable verbose during tests 1697 * Upgrade to go1.2 for official build 1698 * Improve unit tests 1699 * The test suite now runs all tests even if one fails 1700 * Refactor C in Go (Devmapper) 1701 - Fix OS X compilation 1702 1703 ## 0.7.0 (2013-11-25) 1704 1705 #### Notable features since 0.6.0 1706 1707 * Storage drivers: choose from aufs, device-mapper, or vfs. 1708 * Standard Linux support: docker now runs on unmodified Linux kernels and all major distributions. 1709 * Links: compose complex software stacks by connecting containers to each other. 1710 * Container naming: organize your containers by giving them memorable names. 1711 * Advanced port redirects: specify port redirects per interface, or keep sensitive ports private. 1712 * Offline transfer: push and pull images to the filesystem without losing information. 1713 * Quality: numerous bugfixes and small usability improvements. Significant increase in test coverage. 1714 1715 ## 0.6.7 (2013-11-21) 1716 1717 #### Runtime 1718 1719 * Improve stability, fixes some race conditions 1720 * Skip the volumes mounted when deleting the volumes of container. 1721 * Fix layer size computation: handle hard links correctly 1722 * Use the work Path for docker cp CONTAINER:PATH 1723 * Fix tmp dir never cleanup 1724 * Speedup docker ps 1725 * More informative error message on name collisions 1726 * Fix nameserver regex 1727 * Always return long id's 1728 * Fix container restart race condition 1729 * Keep published ports on docker stop;docker start 1730 * Fix container networking on Fedora 1731 * Correctly express "any address" to iptables 1732 * Fix network setup when reconnecting to ghost container 1733 * Prevent deletion if image is used by a running container 1734 * Lock around read operations in graph 1735 1736 #### RemoteAPI 1737 1738 * Return full ID on docker rmi 1739 1740 #### Client 1741 1742 + Add -tree option to images 1743 + Offline image transfer 1744 * Exit with status 2 on usage error and display usage on stderr 1745 * Do not forward SIGCHLD to container 1746 * Use string timestamp for docker events -since 1747 1748 #### Other 1749 1750 * Update to go 1.2rc5 1751 + Add /etc/default/docker support to upstart 1752 1753 ## 0.6.6 (2013-11-06) 1754 1755 #### Runtime 1756 1757 * Ensure container name on register 1758 * Fix regression in /etc/hosts 1759 + Add lock around write operations in graph 1760 * Check if port is valid 1761 * Fix restart runtime error with ghost container networking 1762 + Add some more colors and animals to increase the pool of generated names 1763 * Fix issues in docker inspect 1764 + Escape apparmor confinement 1765 + Set environment variables using a file. 1766 * Prevent docker insert to erase something 1767 + Prevent DNS server conflicts in CreateBridgeIface 1768 + Validate bind mounts on the server side 1769 + Use parent image config in docker build 1770 * Fix regression in /etc/hosts 1771 1772 #### Client 1773 1774 + Add -P flag to publish all exposed ports 1775 + Add -notrunc and -q flags to docker history 1776 * Fix docker commit, tag and import usage 1777 + Add stars, trusted builds and library flags in docker search 1778 * Fix docker logs with tty 1779 1780 #### RemoteAPI 1781 1782 * Make /events API send headers immediately 1783 * Do not split last column docker top 1784 + Add size to history 1785 1786 #### Other 1787 1788 + Contrib: Desktop integration. Firefox usecase. 1789 + Dockerfile: bump to go1.2rc3 1790 1791 ## 0.6.5 (2013-10-29) 1792 1793 #### Runtime 1794 1795 + Containers can now be named 1796 + Containers can now be linked together for service discovery 1797 + 'run -a', 'start -a' and 'attach' can forward signals to the container for better integration with process supervisors 1798 + Automatically start crashed containers after a reboot 1799 + Expose IP, port, and proto as separate environment vars for container links 1800 * Allow ports to be published to specific ips 1801 * Prohibit inter-container communication by default 1802 - Ignore ErrClosedPipe for stdin in Container.Attach 1803 - Remove unused field kernelVersion 1804 * Fix issue when mounting subdirectories of /mnt in container 1805 - Fix untag during removal of images 1806 * Check return value of syscall.Chdir when changing working directory inside dockerinit 1807 1808 #### Client 1809 1810 - Only pass stdin to hijack when needed to avoid closed pipe errors 1811 * Use less reflection in command-line method invocation 1812 - Monitor the tty size after starting the container, not prior 1813 - Remove useless os.Exit() calls after log.Fatal 1814 1815 #### Hack 1816 1817 + Add initial init scripts library and a safer Ubuntu packaging script that works for Debian 1818 * Add -p option to invoke debootstrap with http_proxy 1819 - Update install.sh with $sh_c to get sudo/su for modprobe 1820 * Update all the mkimage scripts to use --numeric-owner as a tar argument 1821 * Update hack/release.sh process to automatically invoke hack/make.sh and bail on build and test issues 1822 1823 #### Other 1824 1825 * Documentation: Fix the flags for nc in example 1826 * Testing: Remove warnings and prevent mount issues 1827 - Testing: Change logic for tty resize to avoid warning in tests 1828 - Builder: Fix race condition in docker build with verbose output 1829 - Registry: Fix content-type for PushImageJSONIndex method 1830 * Contrib: Improve helper tools to generate debian and Arch linux server images 1831 1832 ## 0.6.4 (2013-10-16) 1833 1834 #### Runtime 1835 1836 - Add cleanup of container when Start() fails 1837 * Add better comments to utils/stdcopy.go 1838 * Add utils.Errorf for error logging 1839 + Add -rm to docker run for removing a container on exit 1840 - Remove error messages which are not actually errors 1841 - Fix `docker rm` with volumes 1842 - Fix some error cases where an HTTP body might not be closed 1843 - Fix panic with wrong dockercfg file 1844 - Fix the attach behavior with -i 1845 * Record termination time in state. 1846 - Use empty string so TempDir uses the OS's temp dir automatically 1847 - Make sure to close the network allocators 1848 + Autorestart containers by default 1849 * Bump vendor kr/pty to commit 3b1f6487b `(syscall.O_NOCTTY)` 1850 * lxc: Allow set_file_cap capability in container 1851 - Move run -rm to the cli only 1852 * Split stdout stderr 1853 * Always create a new session for the container 1854 1855 #### Testing 1856 1857 - Add aggregated docker-ci email report 1858 - Add cleanup to remove leftover containers 1859 * Add nightly release to docker-ci 1860 * Add more tests around auth.ResolveAuthConfig 1861 - Remove a few errors in tests 1862 - Catch errClosing error when TCP and UDP proxies are terminated 1863 * Only run certain tests with TESTFLAGS='-run TestName' make.sh 1864 * Prevent docker-ci to test closing PRs 1865 * Replace panic by log.Fatal in tests 1866 - Increase TestRunDetach timeout 1867 1868 #### Documentation 1869 1870 * Add initial draft of the Docker infrastructure doc 1871 * Add devenvironment link to CONTRIBUTING.md 1872 * Add `apt-get install curl` to Ubuntu docs 1873 * Add explanation for export restrictions 1874 * Add .dockercfg doc 1875 * Remove Gentoo install notes about #1422 workaround 1876 * Fix help text for -v option 1877 * Fix Ping endpoint documentation 1878 - Fix parameter names in docs for ADD command 1879 - Fix ironic typo in changelog 1880 * Various command fixes in postgres example 1881 * Document how to edit and release docs 1882 - Minor updates to `postgresql_service.rst` 1883 * Clarify LGTM process to contributors 1884 - Corrected error in the package name 1885 * Document what `vagrant up` is actually doing 1886 + improve doc search results 1887 * Cleanup whitespace in API 1.5 docs 1888 * use angle brackets in MAINTAINER example email 1889 * Update archlinux.rst 1890 + Changes to a new style for the docs. Includes version switcher. 1891 * Formatting, add information about multiline json 1892 * Improve registry and index REST API documentation 1893 - Replace deprecated upgrading reference to docker-latest.tgz, which hasn't been updated since 0.5.3 1894 * Update Gentoo installation documentation now that we're in the portage tree proper 1895 * Cleanup and reorganize docs and tooling for contributors and maintainers 1896 - Minor spelling correction of protocoll -> protocol 1897 1898 #### Contrib 1899 1900 * Add vim syntax highlighting for Dockerfiles from @honza 1901 * Add mkimage-arch.sh 1902 * Reorganize contributed completion scripts to add zsh completion 1903 1904 #### Hack 1905 1906 * Add vagrant user to the docker group 1907 * Add proper bash completion for "docker push" 1908 * Add xz utils as a runtime dep 1909 * Add cleanup/refactor portion of #2010 for hack and Dockerfile updates 1910 + Add contrib/mkimage-centos.sh back (from #1621), and associated documentation link 1911 * Add several of the small make.sh fixes from #1920, and make the output more consistent and contributor-friendly 1912 + Add @tianon to hack/MAINTAINERS 1913 * Improve network performance for VirtualBox 1914 * Revamp install.sh to be usable by more people, and to use official install methods whenever possible (apt repo, portage tree, etc.) 1915 - Fix contrib/mkimage-debian.sh apt caching prevention 1916 + Add Dockerfile.tmLanguage to contrib 1917 * Configured FPM to make /etc/init/docker.conf a config file 1918 * Enable SSH Agent forwarding in Vagrant VM 1919 * Several small tweaks/fixes for contrib/mkimage-debian.sh 1920 1921 #### Other 1922 1923 - Builder: Abort build if mergeConfig returns an error and fix duplicate error message 1924 - Packaging: Remove deprecated packaging directory 1925 - Registry: Use correct auth config when logging in. 1926 - Registry: Fix the error message so it is the same as the regex 1927 1928 ## 0.6.3 (2013-09-23) 1929 1930 #### Packaging 1931 1932 * Add 'docker' group on install for ubuntu package 1933 * Update tar vendor dependency 1934 * Download apt key over HTTPS 1935 1936 #### Runtime 1937 1938 - Only copy and change permissions on non-bindmount volumes 1939 * Allow multiple volumes-from 1940 - Fix HTTP imports from STDIN 1941 1942 #### Documentation 1943 1944 * Update section on extracting the docker binary after build 1945 * Update development environment docs for new build process 1946 * Remove 'base' image from documentation 1947 1948 #### Other 1949 1950 - Client: Fix detach issue 1951 - Registry: Update regular expression to match index 1952 1953 ## 0.6.2 (2013-09-17) 1954 1955 #### Runtime 1956 1957 + Add domainname support 1958 + Implement image filtering with path.Match 1959 * Remove unnecessary warnings 1960 * Remove os/user dependency 1961 * Only mount the hostname file when the config exists 1962 * Handle signals within the `docker login` command 1963 - UID and GID are now also applied to volumes 1964 - `docker start` set error code upon error 1965 - `docker run` set the same error code as the process started 1966 1967 #### Builder 1968 1969 + Add -rm option in order to remove intermediate containers 1970 * Allow multiline for the RUN instruction 1971 1972 #### Registry 1973 1974 * Implement login with private registry 1975 - Fix push issues 1976 1977 #### Other 1978 1979 + Hack: Vendor all dependencies 1980 * Remote API: Bump to v1.5 1981 * Packaging: Break down hack/make.sh into small scripts, one per 'bundle': test, binary, ubuntu etc. 1982 * Documentation: General improvements 1983 1984 ## 0.6.1 (2013-08-23) 1985 1986 #### Registry 1987 1988 * Pass "meta" headers in API calls to the registry 1989 1990 #### Packaging 1991 1992 - Use correct upstart script with new build tool 1993 - Use libffi-dev, don`t build it from sources 1994 - Remove duplicate mercurial install command 1995 1996 ## 0.6.0 (2013-08-22) 1997 1998 #### Runtime 1999 2000 + Add lxc-conf flag to allow custom lxc options 2001 + Add an option to set the working directory 2002 * Add Image name to LogEvent tests 2003 + Add -privileged flag and relevant tests, docs, and examples 2004 * Add websocket support to /container/<name>/attach/ws 2005 * Add warning when net.ipv4.ip_forwarding = 0 2006 * Add hostname to environment 2007 * Add last stable version in `docker version` 2008 - Fix race conditions in parallel pull 2009 - Fix Graph ByParent() to generate list of child images per parent image. 2010 - Fix typo: fmt.Sprint -> fmt.Sprintf 2011 - Fix small \n error un docker build 2012 * Fix to "Inject dockerinit at /.dockerinit" 2013 * Fix #910. print user name to docker info output 2014 * Use Go 1.1.2 for dockerbuilder 2015 * Use ranged for loop on channels 2016 - Use utils.ParseRepositoryTag instead of strings.Split(name, ":") in server.ImageDelete 2017 - Improve CMD, ENTRYPOINT, and attach docs. 2018 - Improve connect message with socket error 2019 - Load authConfig only when needed and fix useless WARNING 2020 - Show tag used when image is missing 2021 * Apply volumes-from before creating volumes 2022 - Make docker run handle SIGINT/SIGTERM 2023 - Prevent crash when .dockercfg not readable 2024 - Install script should be fetched over https, not http. 2025 * API, issue 1471: Use groups for socket permissions 2026 - Correctly detect IPv4 forwarding 2027 * Mount /dev/shm as a tmpfs 2028 - Switch from http to https for get.docker.io 2029 * Let userland proxy handle container-bound traffic 2030 * Update the Docker CLI to specify a value for the "Host" header. 2031 - Change network range to avoid conflict with EC2 DNS 2032 - Reduce connect and read timeout when pinging the registry 2033 * Parallel pull 2034 - Handle ip route showing mask-less IP addresses 2035 * Allow ENTRYPOINT without CMD 2036 - Always consider localhost as a domain name when parsing the FQN repos name 2037 * Refactor checksum 2038 2039 #### Documentation 2040 2041 * Add MongoDB image example 2042 * Add instructions for creating and using the docker group 2043 * Add sudo to examples and installation to documentation 2044 * Add ufw doc 2045 * Add a reference to ps -a 2046 * Add information about Docker`s high level tools over LXC. 2047 * Fix typo in docs for docker run -dns 2048 * Fix a typo in the ubuntu installation guide 2049 * Fix to docs regarding adding docker groups 2050 * Update default -H docs 2051 * Update readme with dependencies for building 2052 * Update amazon.rst to explain that Vagrant is not necessary for running Docker on ec2 2053 * PostgreSQL service example in documentation 2054 * Suggest installing linux-headers by default. 2055 * Change the twitter handle 2056 * Clarify Amazon EC2 installation 2057 * 'Base' image is deprecated and should no longer be referenced in the docs. 2058 * Move note about officially supported kernel 2059 - Solved the logo being squished in Safari 2060 2061 #### Builder 2062 2063 + Add USER instruction do Dockerfile 2064 + Add workdir support for the Buildfile 2065 * Add no cache for docker build 2066 - Fix docker build and docker events output 2067 - Only count known instructions as build steps 2068 - Make sure ENV instruction within build perform a commit each time 2069 - Forbid certain paths within docker build ADD 2070 - Repository name (and optionally a tag) in build usage 2071 - Make sure ADD will create everything in 0755 2072 2073 #### Remote API 2074 2075 * Sort Images by most recent creation date. 2076 * Reworking opaque requests in registry module 2077 * Add image name in /events 2078 * Use mime pkg to parse Content-Type 2079 * 650 http utils and user agent field 2080 2081 #### Hack 2082 2083 + Bash Completion: Limit commands to containers of a relevant state 2084 * Add docker dependencies coverage testing into docker-ci 2085 2086 #### Packaging 2087 2088 + Docker-brew 0.5.2 support and memory footprint reduction 2089 * Add new docker dependencies into docker-ci 2090 - Revert "docker.upstart: avoid spawning a `sh` process" 2091 + Docker-brew and Docker standard library 2092 + Release docker with docker 2093 * Fix the upstart script generated by get.docker.io 2094 * Enabled the docs to generate manpages. 2095 * Revert Bind daemon to 0.0.0.0 in Vagrant. 2096 2097 #### Register 2098 2099 * Improve auth push 2100 * Registry unit tests + mock registry 2101 2102 #### Tests 2103 2104 * Improve TestKillDifferentUser to prevent timeout on buildbot 2105 - Fix typo in TestBindMounts (runContainer called without image) 2106 * Improve TestGetContainersTop so it does not rely on sleep 2107 * Relax the lo interface test to allow iface index != 1 2108 * Add registry functional test to docker-ci 2109 * Add some tests in server and utils 2110 2111 #### Other 2112 2113 * Contrib: bash completion script 2114 * Client: Add docker cp command and copy api endpoint to copy container files/folders to the host 2115 * Don`t read from stdout when only attached to stdin 2116 2117 ## 0.5.3 (2013-08-13) 2118 2119 #### Runtime 2120 2121 * Use docker group for socket permissions 2122 - Spawn shell within upstart script 2123 - Handle ip route showing mask-less IP addresses 2124 - Add hostname to environment 2125 2126 #### Builder 2127 2128 - Make sure ENV instruction within build perform a commit each time 2129 2130 ## 0.5.2 (2013-08-08) 2131 2132 * Builder: Forbid certain paths within docker build ADD 2133 - Runtime: Change network range to avoid conflict with EC2 DNS 2134 * API: Change daemon to listen on unix socket by default 2135 2136 ## 0.5.1 (2013-07-30) 2137 2138 #### Runtime 2139 2140 + Add `ps` args to `docker top` 2141 + Add support for container ID files (pidfile like) 2142 + Add container=lxc in default env 2143 + Support networkless containers with `docker run -n` and `docker -d -b=none` 2144 * Stdout/stderr logs are now stored in the same file as JSON 2145 * Allocate a /16 IP range by default, with fallback to /24. Try 12 ranges instead of 3. 2146 * Change .dockercfg format to json and support multiple auth remote 2147 - Do not override volumes from config 2148 - Fix issue with EXPOSE override 2149 2150 #### API 2151 2152 + Docker client now sets useragent (RFC 2616) 2153 + Add /events endpoint 2154 2155 #### Builder 2156 2157 + ADD command now understands URLs 2158 + CmdAdd and CmdEnv now respect Dockerfile-set ENV variables 2159 - Create directories with 755 instead of 700 within ADD instruction 2160 2161 #### Hack 2162 2163 * Simplify unit tests with helpers 2164 * Improve docker.upstart event 2165 * Add coverage testing into docker-ci 2166 2167 ## 0.5.0 (2013-07-17) 2168 2169 #### Runtime 2170 2171 + List all processes running inside a container with 'docker top' 2172 + Host directories can be mounted as volumes with 'docker run -v' 2173 + Containers can expose public UDP ports (eg, '-p 123/udp') 2174 + Optionally specify an exact public port (eg. '-p 80:4500') 2175 * 'docker login' supports additional options 2176 - Don't save a container`s hostname when committing an image. 2177 2178 #### Registry 2179 2180 + New image naming scheme inspired by Go packaging convention allows arbitrary combinations of registries 2181 - Fix issues when uploading images to a private registry 2182 2183 #### Builder 2184 2185 + ENTRYPOINT instruction sets a default binary entry point to a container 2186 + VOLUME instruction marks a part of the container as persistent data 2187 * 'docker build' displays the full output of a build by default 2188 2189 ## 0.4.8 (2013-07-01) 2190 2191 + 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. 2192 - Tests: Fix issues in the test suite 2193 2194 ## 0.4.7 (2013-06-28) 2195 2196 #### Remote API 2197 2198 * The progress bar updates faster when downloading and uploading large files 2199 - Fix a bug in the optional unix socket transport 2200 2201 #### Runtime 2202 2203 * Improve detection of kernel version 2204 + Host directories can be mounted as volumes with 'docker run -b' 2205 - fix an issue when only attaching to stdin 2206 * Use 'tar --numeric-owner' to avoid uid mismatch across multiple hosts 2207 2208 #### Hack 2209 2210 * Improve test suite and dev environment 2211 * Remove dependency on unit tests on 'os/user' 2212 2213 #### Other 2214 2215 * Registry: easier push/pull to a custom registry 2216 + Documentation: add terminology section 2217 2218 ## 0.4.6 (2013-06-22) 2219 2220 - Runtime: fix a bug which caused creation of empty images (and volumes) to crash. 2221 2222 ## 0.4.5 (2013-06-21) 2223 2224 + Builder: 'docker build git://URL' fetches and builds a remote git repository 2225 * Runtime: 'docker ps -s' optionally prints container size 2226 * Tests: improved and simplified 2227 - Runtime: fix a regression introduced in 0.4.3 which caused the logs command to fail. 2228 - Builder: fix a regression when using ADD with single regular file. 2229 2230 ## 0.4.4 (2013-06-19) 2231 2232 - Builder: fix a regression introduced in 0.4.3 which caused builds to fail on new clients. 2233 2234 ## 0.4.3 (2013-06-19) 2235 2236 #### Builder 2237 2238 + ADD of a local file will detect tar archives and unpack them 2239 * ADD improvements: use tar for copy + automatically unpack local archives 2240 * ADD uses tar/untar for copies instead of calling 'cp -ar' 2241 * Fix the behavior of ADD to be (mostly) reverse-compatible, predictable and well-documented. 2242 - Fix a bug which caused builds to fail if ADD was the first command 2243 * Nicer output for 'docker build' 2244 2245 #### Runtime 2246 2247 * Remove bsdtar dependency 2248 * Add unix socket and multiple -H support 2249 * Prevent rm of running containers 2250 * Use go1.1 cookiejar 2251 - Fix issue detaching from running TTY container 2252 - Forbid parallel push/pull for a single image/repo. Fixes #311 2253 - Fix race condition within Run command when attaching. 2254 2255 #### Client 2256 2257 * HumanReadable ProgressBar sizes in pull 2258 * Fix docker version`s git commit output 2259 2260 #### API 2261 2262 * Send all tags on History API call 2263 * Add tag lookup to history command. Fixes #882 2264 2265 #### Documentation 2266 2267 - Fix missing command in irc bouncer example 2268 2269 ## 0.4.2 (2013-06-17) 2270 2271 - Packaging: Bumped version to work around an Ubuntu bug 2272 2273 ## 0.4.1 (2013-06-17) 2274 2275 #### Remote Api 2276 2277 + Add flag to enable cross domain requests 2278 + Add images and containers sizes in docker ps and docker images 2279 2280 #### Runtime 2281 2282 + Configure dns configuration host-wide with 'docker -d -dns' 2283 + Detect faulty DNS configuration and replace it with a public default 2284 + Allow docker run <name>:<id> 2285 + You can now specify public port (ex: -p 80:4500) 2286 * Improve image removal to garbage-collect unreferenced parents 2287 2288 #### Client 2289 2290 * Allow multiple params in inspect 2291 * Print the container id before the hijack in `docker run` 2292 2293 #### Registry 2294 2295 * Add regexp check on repo`s name 2296 * Move auth to the client 2297 - Remove login check on pull 2298 2299 #### Other 2300 2301 * Vagrantfile: Add the rest api port to vagrantfile`s port_forward 2302 * Upgrade to Go 1.1 2303 - Builder: don`t ignore last line in Dockerfile when it doesn`t end with \n 2304 2305 ## 0.4.0 (2013-06-03) 2306 2307 #### Builder 2308 2309 + Introducing Builder 2310 + 'docker build' builds a container, layer by layer, from a source repository containing a Dockerfile 2311 2312 #### Remote API 2313 2314 + Introducing Remote API 2315 + control Docker programmatically using a simple HTTP/json API 2316 2317 #### Runtime 2318 2319 * Various reliability and usability improvements 2320 2321 ## 0.3.4 (2013-05-30) 2322 2323 #### Builder 2324 2325 + 'docker build' builds a container, layer by layer, from a source repository containing a Dockerfile 2326 + 'docker build -t FOO' applies the tag FOO to the newly built container. 2327 2328 #### Runtime 2329 2330 + Interactive TTYs correctly handle window resize 2331 * Fix how configuration is merged between layers 2332 2333 #### Remote API 2334 2335 + Split stdout and stderr on 'docker run' 2336 + Optionally listen on a different IP and port (use at your own risk) 2337 2338 #### Documentation 2339 2340 * Improve install instructions. 2341 2342 ## 0.3.3 (2013-05-23) 2343 2344 - Registry: Fix push regression 2345 - Various bugfixes 2346 2347 ## 0.3.2 (2013-05-09) 2348 2349 #### Registry 2350 2351 * Improve the checksum process 2352 * Use the size to have a good progress bar while pushing 2353 * Use the actual archive if it exists in order to speed up the push 2354 - Fix error 400 on push 2355 2356 #### Runtime 2357 2358 * Store the actual archive on commit 2359 2360 ## 0.3.1 (2013-05-08) 2361 2362 #### Builder 2363 2364 + Implement the autorun capability within docker builder 2365 + Add caching to docker builder 2366 + Add support for docker builder with native API as top level command 2367 + Implement ENV within docker builder 2368 - Check the command existence prior create and add Unit tests for the case 2369 * use any whitespaces instead of tabs 2370 2371 #### Runtime 2372 2373 + Add go version to debug infos 2374 * Kernel version - don`t show the dash if flavor is empty 2375 2376 #### Registry 2377 2378 + Add docker search top level command in order to search a repository 2379 - Fix pull for official images with specific tag 2380 - Fix issue when login in with a different user and trying to push 2381 * Improve checksum - async calculation 2382 2383 #### Images 2384 2385 + Output graph of images to dot (graphviz) 2386 - Fix ByParent function 2387 2388 #### Documentation 2389 2390 + New introduction and high-level overview 2391 + Add the documentation for docker builder 2392 - CSS fix for docker documentation to make REST API docs look better. 2393 - Fix CouchDB example page header mistake 2394 - Fix README formatting 2395 * Update www.docker.io website. 2396 2397 #### Other 2398 2399 + Website: new high-level overview 2400 - Makefile: Swap "go get" for "go get -d", especially to compile on go1.1rc 2401 * Packaging: packaging ubuntu; issue #510: Use goland-stable PPA package to build docker 2402 2403 ## 0.3.0 (2013-05-06) 2404 2405 #### Runtime 2406 2407 - Fix the command existence check 2408 - strings.Split may return an empty string on no match 2409 - Fix an index out of range crash if cgroup memory is not 2410 2411 #### Documentation 2412 2413 * Various improvements 2414 + New example: sharing data between 2 couchdb databases 2415 2416 #### Other 2417 2418 * Vagrant: Use only one deb line in /etc/apt 2419 + Registry: Implement the new registry 2420 2421 ## 0.2.2 (2013-05-03) 2422 2423 + Support for data volumes ('docker run -v=PATH') 2424 + Share data volumes between containers ('docker run -volumes-from') 2425 + Improve documentation 2426 * Upgrade to Go 1.0.3 2427 * Various upgrades to the dev environment for contributors 2428 2429 ## 0.2.1 (2013-05-01) 2430 2431 + 'docker commit -run' bundles a layer with default runtime options: command, ports etc. 2432 * Improve install process on Vagrant 2433 + New Dockerfile operation: "maintainer" 2434 + New Dockerfile operation: "expose" 2435 + New Dockerfile operation: "cmd" 2436 + Contrib script to build a Debian base layer 2437 + 'docker -d -r': restart crashed containers at daemon startup 2438 * Runtime: improve test coverage 2439 2440 ## 0.2.0 (2013-04-23) 2441 2442 - Runtime: ghost containers can be killed and waited for 2443 * Documentation: update install instructions 2444 - Packaging: fix Vagrantfile 2445 - Development: automate releasing binaries and ubuntu packages 2446 + Add a changelog 2447 - Various bugfixes 2448 2449 ## 0.1.8 (2013-04-22) 2450 2451 - Dynamically detect cgroup capabilities 2452 - Issue stability warning on kernels <3.8 2453 - 'docker push' buffers on disk instead of memory 2454 - Fix 'docker diff' for removed files 2455 - Fix 'docker stop' for ghost containers 2456 - Fix handling of pidfile 2457 - Various bugfixes and stability improvements 2458 2459 ## 0.1.7 (2013-04-18) 2460 2461 - Container ports are available on localhost 2462 - 'docker ps' shows allocated TCP ports 2463 - Contributors can run 'make hack' to start a continuous integration VM 2464 - Streamline ubuntu packaging & uploading 2465 - Various bugfixes and stability improvements 2466 2467 ## 0.1.6 (2013-04-17) 2468 2469 - Record the author an image with 'docker commit -author' 2470 2471 ## 0.1.5 (2013-04-17) 2472 2473 - Disable standalone mode 2474 - Use a custom DNS resolver with 'docker -d -dns' 2475 - Detect ghost containers 2476 - Improve diagnosis of missing system capabilities 2477 - Allow disabling memory limits at compile time 2478 - Add debian packaging 2479 - Documentation: installing on Arch Linux 2480 - Documentation: running Redis on docker 2481 - Fix lxc 0.9 compatibility 2482 - Automatically load aufs module 2483 - Various bugfixes and stability improvements 2484 2485 ## 0.1.4 (2013-04-09) 2486 2487 - Full support for TTY emulation 2488 - Detach from a TTY session with the escape sequence `C-p C-q` 2489 - Various bugfixes and stability improvements 2490 - Minor UI improvements 2491 - Automatically create our own bridge interface 'docker0' 2492 2493 ## 0.1.3 (2013-04-04) 2494 2495 - Choose TCP frontend port with '-p :PORT' 2496 - Layer format is versioned 2497 - Major reliability improvements to the process manager 2498 - Various bugfixes and stability improvements 2499 2500 ## 0.1.2 (2013-04-03) 2501 2502 - Set container hostname with 'docker run -h' 2503 - Selective attach at run with 'docker run -a [stdin[,stdout[,stderr]]]' 2504 - Various bugfixes and stability improvements 2505 - UI polish 2506 - Progress bar on push/pull 2507 - Use XZ compression by default 2508 - Make IP allocator lazy 2509 2510 ## 0.1.1 (2013-03-31) 2511 2512 - Display shorthand IDs for convenience 2513 - Stabilize process management 2514 - Layers can include a commit message 2515 - Simplified 'docker attach' 2516 - Fix support for re-attaching 2517 - Various bugfixes and stability improvements 2518 - Auto-download at run 2519 - Auto-login on push 2520 - Beefed up documentation 2521 2522 ## 0.1.0 (2013-03-23) 2523 2524 Initial public release 2525 2526 - Implement registry in order to push/pull images 2527 - TCP port allocation 2528 - Fix termcaps on Linux 2529 - Add documentation 2530 - Add Vagrant support with Vagrantfile 2531 - Add unit tests 2532 - Add repository/tags to ease image management 2533 - Improve the layer implementation