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