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