github.com/circular-dark/docker@v1.7.0/CHANGELOG.md (about) 1 # Changelog 2 3 ## 1.7.0 (2015-06-16) 4 5 #### Runtime 6 + Experimental feature: support for out-of-process volume plugins 7 * The userland proxy can be disabled in favor of hairpin NAT using the daemon’s `--userland-proxy=false` flag 8 * The `exec` command supports the `-u|--user` flag to specify the new process owner 9 + Default gateway for containers can be specified daemon-wide using the `--default-gateway` and `--default-gateway-v6` flags 10 + The CPU CFS (Completely Fair Scheduler) quota can be set in `docker run` using `--cpu-quota` 11 + Container block IO can be controlled in `docker run` using`--blkio-weight` 12 + ZFS support 13 + The `docker logs` command supports a `--since` argument 14 + UTS namespace can be shared with the host with `docker run --uts=host` 15 16 #### Quality 17 * Networking stack was entirely rewritten as part of the libnetwork effort 18 * Engine internals refactoring 19 * Volumes code was entirely rewritten to support the plugins effort 20 + Sending SIGUSR1 to a daemon will dump all goroutines stacks without exiting 21 22 #### Build 23 + Support ${variable:-value} and ${variable:+value} syntax for environment variables 24 + Support resource management flags `--cgroup-parent`, `--cpu-period`, `--cpu-quota`, `--cpuset-cpus`, `--cpuset-mems` 25 + git context changes with branches and directories 26 * The .dockerignore file support exclusion rules 27 28 #### Distribution 29 + Client support for v2 mirroring support for the official registry 30 31 #### Bugfixes 32 * Firewalld is now supported and will automatically be used when available 33 * mounting --device recursively 34 35 ## 1.6.2 (2015-05-13) 36 37 #### Runtime 38 - Revert change prohibiting mounting into /sys 39 40 ## 1.6.1 (2015-05-07) 41 42 #### Security 43 - Fix read/write /proc paths (CVE-2015-3630) 44 - Prohibit VOLUME /proc and VOLUME / (CVE-2015-3631) 45 - Fix opening of file-descriptor 1 (CVE-2015-3627) 46 - Fix symlink traversal on container respawn allowing local privilege escalation (CVE-2015-3629) 47 - Prohibit mount of /sys 48 49 #### Runtime 50 - Update Apparmor policy to not allow mounts 51 52 ## 1.6.0 (2015-04-07) 53 54 #### Builder 55 + Building images from an image ID 56 + Build containers with resource constraints, ie `docker build --cpu-shares=100 --memory=1024m...` 57 + `commit --change` to apply specified Dockerfile instructions while committing the image 58 + `import --change` to apply specified Dockerfile instructions while importing the image 59 + Builds no longer continue in the background when canceled with CTRL-C 60 61 #### Client 62 + Windows Support 63 64 #### Runtime 65 + Container and image Labels 66 + `--cgroup-parent` for specifying a parent cgroup to place container cgroup within 67 + Logging drivers, `json-file`, `syslog`, or `none` 68 + Pulling images by ID 69 + `--ulimit` to set the ulimit on a container 70 + `--default-ulimit` option on the daemon which applies to all created containers (and overwritten by `--ulimit` on run) 71 72 ## 1.5.0 (2015-02-10) 73 74 #### Builder 75 + Dockerfile to use for a given `docker build` can be specified with the `-f` flag 76 * 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 77 * ADD and COPY instructions accept relative paths 78 * Dockerfile `FROM scratch` instruction is now interpreted as a no-base specifier 79 * Improve performance when exposing a large number of ports 80 81 #### Hack 82 + Allow client-side only integration tests for Windows 83 * Include docker-py integration tests against Docker daemon as part of our test suites 84 85 #### Packaging 86 + Support for the new version of the registry HTTP API 87 * Speed up `docker push` for images with a majority of already existing layers 88 - Fixed contacting a private registry through a proxy 89 90 #### Remote API 91 + A new endpoint will stream live container resource metrics and can be accessed with the `docker stats` command 92 + Containers can be renamed using the new `rename` endpoint and the associated `docker rename` command 93 * Container `inspect` endpoint show the ID of `exec` commands running in this container 94 * Container `inspect` endpoint show the number of times Docker auto-restarted the container 95 * New types of event can be streamed by the `events` endpoint: ‘OOM’ (container died with out of memory), ‘exec_create’, and ‘exec_start' 96 - Fixed returned string fields which hold numeric characters incorrectly omitting surrounding double quotes 97 98 #### Runtime 99 + Docker daemon has full IPv6 support 100 + 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 101 + 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 102 + Container total memory usage can be limited for `docker run` using the `—memory-swap` flag 103 * Major stability improvements for devicemapper storage driver 104 * Better integration with host system: containers will reflect changes to the host's `/etc/resolv.conf` file when restarted 105 * Better integration with host system: per-container iptable rules are moved to the DOCKER chain 106 - Fixed container exiting on out of memory to return an invalid exit code 107 108 #### Other 109 * The HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables are properly taken into account by the client when connecting to the Docker daemon 110 111 ## 1.4.1 (2014-12-15) 112 113 #### Runtime 114 - Fix issue with volumes-from and bind mounts not being honored after create 115 116 ## 1.4.0 (2014-12-11) 117 118 #### Notable Features since 1.3.0 119 + Set key=value labels to the daemon (displayed in `docker info`), applied with 120 new `-label` daemon flag 121 + Add support for `ENV` in Dockerfile of the form: 122 `ENV name=value name2=value2...` 123 + New Overlayfs Storage Driver 124 + `docker info` now returns an `ID` and `Name` field 125 + Filter events by event name, container, or image 126 + `docker cp` now supports copying from container volumes 127 - Fixed `docker tag`, so it honors `--force` when overriding a tag for existing 128 image. 129 130 ## 1.3.3 (2014-12-11) 131 132 #### Security 133 - Fix path traversal vulnerability in processing of absolute symbolic links (CVE-2014-9356) 134 - Fix decompression of xz image archives, preventing privilege escalation (CVE-2014-9357) 135 - Validate image IDs (CVE-2014-9358) 136 137 #### Runtime 138 - Fix an issue when image archives are being read slowly 139 140 #### Client 141 - Fix a regression related to stdin redirection 142 - Fix a regression with `docker cp` when destination is the current directory 143 144 ## 1.3.2 (2014-11-20) 145 146 #### Security 147 - Fix tar breakout vulnerability 148 * Extractions are now sandboxed chroot 149 - Security options are no longer committed to images 150 151 #### Runtime 152 - Fix deadlock in `docker ps -f exited=1` 153 - Fix a bug when `--volumes-from` references a container that failed to start 154 155 #### Registry 156 + `--insecure-registry` now accepts CIDR notation such as 10.1.0.0/16 157 * Private registries whose IPs fall in the 127.0.0.0/8 range do no need the `--insecure-registry` flag 158 - Skip the experimental registry v2 API when mirroring is enabled 159 160 ## 1.3.1 (2014-10-28) 161 162 #### Security 163 * Prevent fallback to SSL protocols < TLS 1.0 for client, daemon and registry 164 + Secure HTTPS connection to registries with certificate verification and without HTTP fallback unless `--insecure-registry` is specified 165 166 #### Runtime 167 - Fix issue where volumes would not be shared 168 169 #### Client 170 - Fix issue with `--iptables=false` not automatically setting `--ip-masq=false` 171 - Fix docker run output to non-TTY stdout 172 173 #### Builder 174 - Fix escaping `$` for environment variables 175 - Fix issue with lowercase `onbuild` Dockerfile instruction 176 - Restrict environment variable expansion to `ENV`, `ADD`, `COPY`, `WORKDIR`, `EXPOSE`, `VOLUME` and `USER` 177 178 ## 1.3.0 (2014-10-14) 179 180 #### Notable features since 1.2.0 181 + Docker `exec` allows you to run additional processes inside existing containers 182 + Docker `create` gives you the ability to create a container via the CLI without executing a process 183 + `--security-opts` options to allow user to customize container labels and apparmor profiles 184 + Docker `ps` filters 185 - Wildcard support to COPY/ADD 186 + Move production URLs to get.docker.com from get.docker.io 187 + Allocate IP address on the bridge inside a valid CIDR 188 + Use drone.io for PR and CI testing 189 + Ability to setup an official registry mirror 190 + Ability to save multiple images with docker `save` 191 192 ## 1.2.0 (2014-08-20) 193 194 #### Runtime 195 + Make /etc/hosts /etc/resolv.conf and /etc/hostname editable at runtime 196 + Auto-restart containers using policies 197 + Use /var/lib/docker/tmp for large temporary files 198 + `--cap-add` and `--cap-drop` to tweak what linux capability you want 199 + `--device` to use devices in containers 200 201 #### Client 202 + `docker search` on private registries 203 + Add `exited` filter to `docker ps --filter` 204 * `docker rm -f` now kills instead of stop 205 + Support for IPv6 addresses in `--dns` flag 206 207 #### Proxy 208 + Proxy instances in separate processes 209 * Small bug fix on UDP proxy 210 211 ## 1.1.2 (2014-07-23) 212 213 #### Runtime 214 + Fix port allocation for existing containers 215 + Fix containers restart on daemon restart 216 217 #### Packaging 218 + Fix /etc/init.d/docker issue on Debian 219 220 ## 1.1.1 (2014-07-09) 221 222 #### Builder 223 * Fix issue with ADD 224 225 ## 1.1.0 (2014-07-03) 226 227 #### Notable features since 1.0.1 228 + Add `.dockerignore` support 229 + Pause containers during `docker commit` 230 + Add `--tail` to `docker logs` 231 232 #### Builder 233 + Allow a tar file as context for `docker build` 234 * Fix issue with white-spaces and multi-lines in `Dockerfiles` 235 236 #### Runtime 237 * Overall performance improvements 238 * Allow `/` as source of `docker run -v` 239 * Fix port allocation 240 * Fix bug in `docker save` 241 * Add links information to `docker inspect` 242 243 #### Client 244 * Improve command line parsing for `docker commit` 245 246 #### Remote API 247 * Improve status code for the `start` and `stop` endpoints 248 249 ## 1.0.1 (2014-06-19) 250 251 #### Notable features since 1.0.0 252 * Enhance security for the LXC driver 253 254 #### Builder 255 * Fix `ONBUILD` instruction passed to grandchildren 256 257 #### Runtime 258 * Fix events subscription 259 * Fix /etc/hostname file with host networking 260 * Allow `-h` and `--net=none` 261 * Fix issue with hotplug devices in `--privileged` 262 263 #### Client 264 * Fix artifacts with events 265 * Fix a panic with empty flags 266 * Fix `docker cp` on Mac OS X 267 268 #### Miscellaneous 269 * Fix compilation on Mac OS X 270 * Fix several races 271 272 ## 1.0.0 (2014-06-09) 273 274 #### Notable features since 0.12.0 275 * Production support 276 277 ## 0.12.0 (2014-06-05) 278 279 #### Notable features since 0.11.0 280 * 40+ various improvements to stability, performance and usability 281 * 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 282 * Inherit file permissions from the host on `ADD` 283 * New `pause` and `unpause` commands to allow pausing and unpausing of containers using cgroup freezer 284 * The `images` command has a `-f`/`--filter` option to filter the list of images 285 * Add `--force-rm` to clean up after a failed build 286 * Standardize JSON keys in Remote API to CamelCase 287 * Pull from a docker run now assumes `latest` tag if not specified 288 * Enhance security on Linux capabilities and device nodes 289 290 ## 0.11.1 (2014-05-07) 291 292 #### Registry 293 - Fix push and pull to private registry 294 295 ## 0.11.0 (2014-05-07) 296 297 #### Notable features since 0.10.0 298 299 * SELinux support for mount and process labels 300 * Linked containers can be accessed by hostname 301 * Use the net `--net` flag to allow advanced network configuration such as host networking so that containers can use the host's network interfaces 302 * Add a ping endpoint to the Remote API to do healthchecks of your docker daemon 303 * Logs can now be returned with an optional timestamp 304 * Docker now works with registries that support SHA-512 305 * Multiple registry endpoints are supported to allow registry mirrors 306 307 ## 0.10.0 (2014-04-08) 308 309 #### Builder 310 - Fix printing multiple messages on a single line. Fixes broken output during builds. 311 - Follow symlinks inside container's root for ADD build instructions. 312 - Fix EXPOSE caching. 313 314 #### Documentation 315 - Add the new options of `docker ps` to the documentation. 316 - Add the options of `docker restart` to the documentation. 317 - Update daemon docs and help messages for --iptables and --ip-forward. 318 - Updated apt-cacher-ng docs example. 319 - Remove duplicate description of --mtu from docs. 320 - Add missing -t and -v for `docker images` to the docs. 321 - Add fixes to the cli docs. 322 - Update libcontainer docs. 323 - Update images in docs to remove references to AUFS and LXC. 324 - Update the nodejs_web_app in the docs to use the new epel RPM address. 325 - Fix external link on security of containers. 326 - Update remote API docs. 327 - Add image size to history docs. 328 - Be explicit about binding to all interfaces in redis example. 329 - Document DisableNetwork flag in the 1.10 remote api. 330 - Document that `--lxc-conf` is lxc only. 331 - Add chef usage documentation. 332 - Add example for an image with multiple for `docker load`. 333 - Explain what `docker run -a` does in the docs. 334 335 #### Contrib 336 - Add variable for DOCKER_LOGFILE to sysvinit and use append instead of overwrite in opening the logfile. 337 - Fix init script cgroup mounting workarounds to be more similar to cgroupfs-mount and thus work properly. 338 - Remove inotifywait hack from the upstart host-integration example because it's not necessary any more. 339 - Add check-config script to contrib. 340 - Fix fish shell completion. 341 342 #### Hack 343 * Clean up "go test" output from "make test" to be much more readable/scannable. 344 * Excluse more "definitely not unit tested Go source code" directories from hack/make/test. 345 + Generate md5 and sha256 hashes when building, and upload them via hack/release.sh. 346 - Include contributed completions in Ubuntu PPA. 347 + Add cli integration tests. 348 * Add tweaks to the hack scripts to make them simpler. 349 350 #### Remote API 351 + Add TLS auth support for API. 352 * Move git clone from daemon to client. 353 - Fix content-type detection in docker cp. 354 * Split API into 2 go packages. 355 356 #### Runtime 357 * Support hairpin NAT without going through Docker server. 358 - devicemapper: succeed immediately when removing non-existing devices. 359 - devicemapper: improve handling of devicemapper devices (add per device lock, increase sleep time and unlock while sleeping). 360 - devicemapper: increase timeout in waitClose to 10 seconds. 361 - devicemapper: ensure we shut down thin pool cleanly. 362 - devicemapper: pass info, rather than hash to activateDeviceIfNeeded, deactivateDevice, setInitialized, deleteDevice. 363 - devicemapper: avoid AB-BA deadlock. 364 - devicemapper: make shutdown better/faster. 365 - improve alpha sorting in mflag. 366 - Remove manual http cookie management because the cookiejar is being used. 367 - Use BSD raw mode on Darwin. Fixes nano, tmux and others. 368 - Add FreeBSD support for the client. 369 - Merge auth package into registry. 370 - Add deprecation warning for -t on `docker pull`. 371 - Remove goroutine leak on error. 372 - Update parseLxcInfo to comply with new lxc1.0 format. 373 - Fix attach exit on darwin. 374 - Improve deprecation message. 375 - Retry to retrieve the layer metadata up to 5 times for `docker pull`. 376 - Only unshare the mount namespace for execin. 377 - Merge existing config when committing. 378 - Disable daemon startup timeout. 379 - Fix issue #4681: add loopback interface when networking is disabled. 380 - Add failing test case for issue #4681. 381 - Send SIGTERM to child, instead of SIGKILL. 382 - Show the driver and the kernel version in `docker info` even when not in debug mode. 383 - Always symlink /dev/ptmx for libcontainer. This fixes console related problems. 384 - Fix issue caused by the absence of /etc/apparmor.d. 385 - Don't leave empty cidFile behind when failing to create the container. 386 - Mount cgroups automatically if they're not mounted already. 387 - Use mock for search tests. 388 - Update to double-dash everywhere. 389 - Move .dockerenv parsing to lxc driver. 390 - Move all bind-mounts in the container inside the namespace. 391 - Don't use separate bind mount for container. 392 - Always symlink /dev/ptmx for libcontainer. 393 - Don't kill by pid for other drivers. 394 - Add initial logging to libcontainer. 395 * Sort by port in `docker ps`. 396 - Move networking drivers into runtime top level package. 397 + Add --no-prune to `docker rmi`. 398 + Add time since exit in `docker ps`. 399 - graphdriver: add build tags. 400 - Prevent allocation of previously allocated ports & prevent improve port allocation. 401 * Add support for --since/--before in `docker ps`. 402 - Clean up container stop. 403 + Add support for configurable dns search domains. 404 - Add support for relative WORKDIR instructions. 405 - Add --output flag for docker save. 406 - Remove duplication of DNS entries in config merging. 407 - Add cpuset.cpus to cgroups and native driver options. 408 - Remove docker-ci. 409 - Promote btrfs. btrfs is no longer considered experimental. 410 - Add --input flag to `docker load`. 411 - Return error when existing bridge doesn't match IP address. 412 - Strip comments before parsing line continuations to avoid interpreting instructions as comments. 413 - Fix TestOnlyLoopbackExistsWhenUsingDisableNetworkOption to ignore "DOWN" interfaces. 414 - Add systemd implementation of cgroups and make containers show up as systemd units. 415 - Fix commit and import when no repository is specified. 416 - Remount /var/lib/docker as --private to fix scaling issue. 417 - Use the environment's proxy when pinging the remote registry. 418 - Reduce error level from harmless errors. 419 * Allow --volumes-from to be individual files. 420 - Fix expanding buffer in StdCopy. 421 - Set error regardless of attach or stdin. This fixes #3364. 422 - Add support for --env-file to load environment variables from files. 423 - Symlink /etc/mtab and /proc/mounts. 424 - Allow pushing a single tag. 425 - 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. 426 - Don't throw error when starting an already running container. 427 - Fix dynamic port allocation limit. 428 - remove setupDev from libcontainer. 429 - Add API version to `docker version`. 430 - Return correct exit code when receiving signal and make SIGQUIT quit without cleanup. 431 - Fix --volumes-from mount failure. 432 - Allow non-privileged containers to create device nodes. 433 - Skip login tests because of external dependency on a hosted service. 434 - Deprecate `docker images --tree` and `docker images --viz`. 435 - Deprecate `docker insert`. 436 - Include base abstraction for apparmor. This fixes some apparmor related problems on Ubuntu 14.04. 437 - Add specific error message when hitting 401 over HTTP on push. 438 - Fix absolute volume check. 439 - Remove volumes-from from the config. 440 - Move DNS options to hostconfig. 441 - Update the apparmor profile for libcontainer. 442 - Add deprecation notice for `docker commit -run`. 443 444 ## 0.9.1 (2014-03-24) 445 446 #### Builder 447 - Fix printing multiple messages on a single line. Fixes broken output during builds. 448 449 #### Documentation 450 - Fix external link on security of containers. 451 452 #### Contrib 453 - Fix init script cgroup mounting workarounds to be more similar to cgroupfs-mount and thus work properly. 454 - Add variable for DOCKER_LOGFILE to sysvinit and use append instead of overwrite in opening the logfile. 455 456 #### Hack 457 - Generate md5 and sha256 hashes when building, and upload them via hack/release.sh. 458 459 #### Remote API 460 - Fix content-type detection in `docker cp`. 461 462 #### Runtime 463 - Use BSD raw mode on Darwin. Fixes nano, tmux and others. 464 - Only unshare the mount namespace for execin. 465 - Retry to retrieve the layer metadata up to 5 times for `docker pull`. 466 - Merge existing config when committing. 467 - Fix panic in monitor. 468 - Disable daemon startup timeout. 469 - Fix issue #4681: add loopback interface when networking is disabled. 470 - Add failing test case for issue #4681. 471 - Send SIGTERM to child, instead of SIGKILL. 472 - Show the driver and the kernel version in `docker info` even when not in debug mode. 473 - Always symlink /dev/ptmx for libcontainer. This fixes console related problems. 474 - Fix issue caused by the absence of /etc/apparmor.d. 475 - Don't leave empty cidFile behind when failing to create the container. 476 - Improve deprecation message. 477 - Fix attach exit on darwin. 478 - devicemapper: improve handling of devicemapper devices (add per device lock, increase sleep time, unlock while sleeping). 479 - devicemapper: succeed immediately when removing non-existing devices. 480 - devicemapper: increase timeout in waitClose to 10 seconds. 481 - Remove goroutine leak on error. 482 - Update parseLxcInfo to comply with new lxc1.0 format. 483 484 ## 0.9.0 (2014-03-10) 485 486 #### Builder 487 - Avoid extra mount/unmount during build. This fixes mount/unmount related errors during build. 488 - Add error to docker build --rm. This adds missing error handling. 489 - Forbid chained onbuild, `onbuild from` and `onbuild maintainer` triggers. 490 - Make `--rm` the default for `docker build`. 491 492 #### Documentation 493 - Download the docker client binary for Mac over https. 494 - Update the titles of the install instructions & descriptions. 495 * Add instructions for upgrading boot2docker. 496 * Add port forwarding example in OS X install docs. 497 - Attempt to disentangle repository and registry. 498 - Update docs to explain more about `docker ps`. 499 - Update sshd example to use a Dockerfile. 500 - Rework some examples, including the Python examples. 501 - Update docs to include instructions for a container's lifecycle. 502 - Update docs documentation to discuss the docs branch. 503 - Don't skip cert check for an example & use HTTPS. 504 - Bring back the memory and swap accounting section which was lost when the kernel page was removed. 505 - Explain DNS warnings and how to fix them on systems running and using a local nameserver. 506 507 #### Contrib 508 - Add Tanglu support for mkimage-debootstrap. 509 - Add SteamOS support for mkimage-debootstrap. 510 511 #### Hack 512 - Get package coverage when running integration tests. 513 - Remove the Vagrantfile. This is being replaced with boot2docker. 514 - Fix tests on systems where aufs isn't available. 515 - Update packaging instructions and remove the dependency on lxc. 516 517 #### Remote API 518 * Move code specific to the API to the api package. 519 - Fix header content type for the API. Makes all endpoints use proper content type. 520 - Fix registry auth & remove ping calls from CmdPush and CmdPull. 521 - Add newlines to the JSON stream functions. 522 523 #### Runtime 524 * Do not ping the registry from the CLI. All requests to registries flow through the daemon. 525 - Check for nil information return in the lxc driver. This fixes panics with older lxc versions. 526 - Devicemapper: cleanups and fix for unmount. Fixes two problems which were causing unmount to fail intermittently. 527 - Devicemapper: remove directory when removing device. Directories don't get left behind when removing the device. 528 * Devicemapper: enable skip_block_zeroing. Improves performance by not zeroing blocks. 529 - Devicemapper: fix shutdown warnings. Fixes shutdown warnings concerning pool device removal. 530 - Ensure docker cp stream is closed properly. Fixes problems with files not being copied by `docker cp`. 531 - Stop making `tcp://` default to `127.0.0.1:4243` and remove the default port for tcp. 532 - Fix `--run` in `docker commit`. This makes `docker commit --run` work again. 533 - Fix custom bridge related options. This makes custom bridges work again. 534 + Mount-bind the PTY as container console. This allows tmux/screen to run. 535 + Add the pure Go libcontainer library to make it possible to run containers using only features of the Linux kernel. 536 + Add native exec driver which uses libcontainer and make it the default exec driver. 537 - Add support for handling extended attributes in archives. 538 * Set the container MTU to be the same as the host MTU. 539 + Add simple sha256 checksums for layers to speed up `docker push`. 540 * Improve kernel version parsing. 541 * Allow flag grouping (`docker run -it`). 542 - Remove chroot exec driver. 543 - Fix divide by zero to fix panic. 544 - Rewrite `docker rmi`. 545 - Fix docker info with lxc 1.0.0. 546 - Fix fedora tty with apparmor. 547 * Don't always append env vars, replace defaults with vars from config. 548 * Fix a goroutine leak. 549 * Switch to Go 1.2.1. 550 - Fix unique constraint error checks. 551 * Handle symlinks for Docker's data directory and for TMPDIR. 552 - Add deprecation warnings for flags (-flag is deprecated in favor of --flag) 553 - Add apparmor profile for the native execution driver. 554 * Move system specific code from archive to pkg/system. 555 - Fix duplicate signal for `docker run -i -t` (issue #3336). 556 - Return correct process pid for lxc. 557 - Add a -G option to specify the group which unix sockets belong to. 558 + Add `-f` flag to `docker rm` to force removal of running containers. 559 + Kill ghost containers and restart all ghost containers when the docker daemon restarts. 560 + Add `DOCKER_RAMDISK` environment variable to make Docker work when the root is on a ramdisk. 561 562 ## 0.8.1 (2014-02-18) 563 564 #### Builder 565 566 - Avoid extra mount/unmount during build. This removes an unneeded mount/unmount operation which was causing problems with devicemapper 567 - Fix regression with ADD of tar files. This stops Docker from decompressing tarballs added via ADD from the local file system 568 - Add error to `docker build --rm`. This adds a missing error check to ensure failures to remove containers are detected and reported 569 570 #### Documentation 571 572 * Update issue filing instructions 573 * Warn against the use of symlinks for Docker's storage folder 574 * Replace the Firefox example with an IceWeasel example 575 * Rewrite the PostgresSQL example using a Dockerfile and add more details to it 576 * Improve the OS X documentation 577 578 #### Remote API 579 580 - Fix broken images API for version less than 1.7 581 - Use the right encoding for all API endpoints which return JSON 582 - Move remote api client to api/ 583 - Queue calls to the API using generic socket wait 584 585 #### Runtime 586 587 - Fix the use of custom settings for bridges and custom bridges 588 - Refactor the devicemapper code to avoid many mount/unmount race conditions and failures 589 - Remove two panics which could make Docker crash in some situations 590 - Don't ping registry from the CLI client 591 - Enable skip_block_zeroing for devicemapper. This stops devicemapper from always zeroing entire blocks 592 - Fix --run in `docker commit`. This makes docker commit store `--run` in the image configuration 593 - Remove directory when removing devicemapper device. This cleans up leftover mount directories 594 - Drop NET_ADMIN capability for non-privileged containers. Unprivileged containers can't change their network configuration 595 - Ensure `docker cp` stream is closed properly 596 - Avoid extra mount/unmount during container registration. This removes an unneeded mount/unmount operation which was causing problems with devicemapper 597 - Stop allowing tcp:// as a default tcp bin address which binds to 127.0.0.1:4243 and remove the default port 598 + Mount-bind the PTY as container console. This allows tmux and screen to run in a container 599 - Clean up archive closing. This fixes and improves archive handling 600 - Fix engine tests on systems where temp directories are symlinked 601 - Add test methods for save and load 602 - Avoid temporarily unmounting the container when restarting it. This fixes a race for devicemapper during restart 603 - Support submodules when building from a GitHub repository 604 - Quote volume path to allow spaces 605 - Fix remote tar ADD behavior. This fixes a regression which was causing Docker to extract tarballs 606 607 ## 0.8.0 (2014-02-04) 608 609 #### Notable features since 0.7.0 610 611 * Images and containers can be removed much faster 612 * Building an image from source with docker build is now much faster 613 * The Docker daemon starts and stops much faster 614 * 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 615 * 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 616 * 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 617 * 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 618 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 619 * 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 620 621 * The ADD instruction now supports caching, which avoids unnecessarily re-uploading the same source content again and again when it hasn’t changed 622 * 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 623 * Docker now ships with an experimental storage driver which uses the BTRFS filesystem for copy-on-write 624 * Docker is officially supported on Mac OSX 625 * The Docker daemon supports systemd socket activation 626 627 ## 0.7.6 (2014-01-14) 628 629 #### Builder 630 631 * Do not follow symlink outside of build context 632 633 #### Runtime 634 635 - Remount bind mounts when ro is specified 636 * Use https for fetching docker version 637 638 #### Other 639 640 * Inline the test.docker.io fingerprint 641 * Add ca-certificates to packaging documentation 642 643 ## 0.7.5 (2014-01-09) 644 645 #### Builder 646 647 * Disable compression for build. More space usage but a much faster upload 648 - Fix ADD caching for certain paths 649 - Do not compress archive from git build 650 651 #### Documentation 652 653 - Fix error in GROUP add example 654 * Make sure the GPG fingerprint is inline in the documentation 655 * Give more specific advice on setting up signing of commits for DCO 656 657 #### Runtime 658 659 - Fix misspelled container names 660 - Do not add hostname when networking is disabled 661 * Return most recent image from the cache by date 662 - Return all errors from docker wait 663 * Add Content-Type Header "application/json" to GET /version and /info responses 664 665 #### Other 666 667 * Update DCO to version 1.1 668 + Update Makefile to use "docker:GIT_BRANCH" as the generated image name 669 * Update Travis to check for new 1.1 DCO version 670 671 ## 0.7.4 (2014-01-07) 672 673 #### Builder 674 675 - Fix ADD caching issue with . prefixed path 676 - Fix docker build on devicemapper by reverting sparse file tar option 677 - Fix issue with file caching and prevent wrong cache hit 678 * Use same error handling while unmarshalling CMD and ENTRYPOINT 679 680 #### Documentation 681 682 * Simplify and streamline Amazon Quickstart 683 * Install instructions use unprefixed fedora image 684 * Update instructions for mtu flag for Docker on GCE 685 + Add Ubuntu Saucy to installation 686 - Fix for wrong version warning on master instead of latest 687 688 #### Runtime 689 690 - Only get the image's rootfs when we need to calculate the image size 691 - Correctly handle unmapping UDP ports 692 * Make CopyFileWithTar use a pipe instead of a buffer to save memory on docker build 693 - Fix login message to say pull instead of push 694 - Fix "docker load" help by removing "SOURCE" prompt and mentioning STDIN 695 * Make blank -H option default to the same as no -H was sent 696 * Extract cgroups utilities to own submodule 697 698 #### Other 699 700 + Add Travis CI configuration to validate DCO and gofmt requirements 701 + Add Developer Certificate of Origin Text 702 * Upgrade VBox Guest Additions 703 * Check standalone header when pinging a registry server 704 705 ## 0.7.3 (2014-01-02) 706 707 #### Builder 708 709 + Update ADD to use the image cache, based on a hash of the added content 710 * Add error message for empty Dockerfile 711 712 #### Documentation 713 714 - Fix outdated link to the "Introduction" on www.docker.io 715 + Update the docs to get wider when the screen does 716 - Add information about needing to install LXC when using raw binaries 717 * Update Fedora documentation to disentangle the docker and docker.io conflict 718 * Add a note about using the new `-mtu` flag in several GCE zones 719 + Add FrugalWare installation instructions 720 + Add a more complete example of `docker run` 721 - Fix API documentation for creating and starting Privileged containers 722 - Add missing "name" parameter documentation on "/containers/create" 723 * Add a mention of `lxc-checkconfig` as a way to check for some of the necessary kernel configuration 724 - Update the 1.8 API documentation with some additions that were added to the docs for 1.7 725 726 #### Hack 727 728 - Add missing libdevmapper dependency to the packagers documentation 729 * Update minimum Go requirement to a hard line at Go 1.2+ 730 * Many minor improvements to the Vagrantfile 731 + Add ability to customize dockerinit search locations when compiling (to be used very sparingly only by packagers of platforms who require a nonstandard location) 732 + Add coverprofile generation reporting 733 - Add `-a` to our Go build flags, removing the need for recompiling the stdlib manually 734 * Update Dockerfile to be more canonical and have less spurious warnings during build 735 - Fix some miscellaneous `docker pull` progress bar display issues 736 * Migrate more miscellaneous packages under the "pkg" folder 737 * Update TextMate highlighting to automatically be enabled for files named "Dockerfile" 738 * Reorganize syntax highlighting files under a common "contrib/syntax" directory 739 * 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 740 * Add support for container names in bash completion 741 742 #### Packaging 743 744 + Add an official Docker client binary for Darwin (Mac OS X) 745 * Remove empty "Vendor" string and added "License" on deb package 746 + Add a stubbed version of "/etc/default/docker" in the deb package 747 748 #### Runtime 749 750 * Update layer application to extract tars in place, avoiding file churn while handling whiteouts 751 - Fix permissiveness of mtime comparisons in tar handling (since GNU tar and Go tar do not yet support sub-second mtime precision) 752 * 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`) 753 + Update `-H unix://` to work similarly to `-H tcp://` by inserting the default values for missing portions 754 - Fix more edge cases regarding dockerinit and deleted or replaced docker or dockerinit files 755 * Update container name validation to include '.' 756 - Fix use of a symlink or non-absolute path as the argument to `-g` to work as expected 757 * Update to handle external mounts outside of LXC, fixing many small mounting quirks and making future execution backends and other features simpler 758 * Update to use proper box-drawing characters everywhere in `docker images -tree` 759 * Move MTU setting from LXC configuration to directly use netlink 760 * Add `-S` option to external tar invocation for more efficient spare file handling 761 + Add arch/os info to User-Agent string, especially for registry requests 762 + Add `-mtu` option to Docker daemon for configuring MTU 763 - Fix `docker build` to exit with a non-zero exit code on error 764 + Add `DOCKER_HOST` environment variable to configure the client `-H` flag without specifying it manually for every invocation 765 766 ## 0.7.2 (2013-12-16) 767 768 #### Runtime 769 770 + Validate container names on creation with standard regex 771 * Increase maximum image depth to 127 from 42 772 * Continue to move api endpoints to the job api 773 + Add -bip flag to allow specification of dynamic bridge IP via CIDR 774 - Allow bridge creation when ipv6 is not enabled on certain systems 775 * Set hostname and IP address from within dockerinit 776 * Drop capabilities from within dockerinit 777 - Fix volumes on host when symlink is present the image 778 - Prevent deletion of image if ANY container is depending on it even if the container is not running 779 * Update docker push to use new progress display 780 * Use os.Lstat to allow mounting unix sockets when inspecting volumes 781 - Adjust handling of inactive user login 782 - Add missing defines in devicemapper for older kernels 783 - Allow untag operations with no container validation 784 - Add auth config to docker build 785 786 #### Documentation 787 788 * Add more information about Docker logging 789 + Add RHEL documentation 790 * Add a direct example for changing the CMD that is run in a container 791 * Update Arch installation documentation 792 + Add section on Trusted Builds 793 + Add Network documentation page 794 795 #### Other 796 797 + Add new cover bundle for providing code coverage reporting 798 * Separate integration tests in bundles 799 * Make Tianon the hack maintainer 800 * Update mkimage-debootstrap with more tweaks for keeping images small 801 * Use https to get the install script 802 * Remove vendored dotcloud/tar now that Go 1.2 has been released 803 804 ## 0.7.1 (2013-12-05) 805 806 #### Documentation 807 808 + Add @SvenDowideit as documentation maintainer 809 + Add links example 810 + Add documentation regarding ambassador pattern 811 + Add Google Cloud Platform docs 812 + Add dockerfile best practices 813 * Update doc for RHEL 814 * Update doc for registry 815 * Update Postgres examples 816 * Update doc for Ubuntu install 817 * Improve remote api doc 818 819 #### Runtime 820 821 + Add hostconfig to docker inspect 822 + Implement `docker log -f` to stream logs 823 + Add env variable to disable kernel version warning 824 + Add -format to `docker inspect` 825 + Support bind-mount for files 826 - Fix bridge creation on RHEL 827 - Fix image size calculation 828 - Make sure iptables are called even if the bridge already exists 829 - Fix issue with stderr only attach 830 - Remove init layer when destroying a container 831 - Fix same port binding on different interfaces 832 - `docker build` now returns the correct exit code 833 - Fix `docker port` to display correct port 834 - `docker build` now check that the dockerfile exists client side 835 - `docker attach` now returns the correct exit code 836 - Remove the name entry when the container does not exist 837 838 #### Registry 839 840 * Improve progress bars, add ETA for downloads 841 * Simultaneous pulls now waits for the first to finish instead of failing 842 - Tag only the top-layer image when pushing to registry 843 - Fix issue with offline image transfer 844 - Fix issue preventing using ':' in password for registry 845 846 #### Other 847 848 + Add pprof handler for debug 849 + Create a Makefile 850 * Use stdlib tar that now includes fix 851 * Improve make.sh test script 852 * Handle SIGQUIT on the daemon 853 * Disable verbose during tests 854 * Upgrade to go1.2 for official build 855 * Improve unit tests 856 * The test suite now runs all tests even if one fails 857 * Refactor C in Go (Devmapper) 858 - Fix OSX compilation 859 860 ## 0.7.0 (2013-11-25) 861 862 #### Notable features since 0.6.0 863 864 * Storage drivers: choose from aufs, device-mapper, or vfs. 865 * Standard Linux support: docker now runs on unmodified Linux kernels and all major distributions. 866 * Links: compose complex software stacks by connecting containers to each other. 867 * Container naming: organize your containers by giving them memorable names. 868 * Advanced port redirects: specify port redirects per interface, or keep sensitive ports private. 869 * Offline transfer: push and pull images to the filesystem without losing information. 870 * Quality: numerous bugfixes and small usability improvements. Significant increase in test coverage. 871 872 ## 0.6.7 (2013-11-21) 873 874 #### Runtime 875 876 * Improve stability, fixes some race conditons 877 * Skip the volumes mounted when deleting the volumes of container. 878 * Fix layer size computation: handle hard links correctly 879 * Use the work Path for docker cp CONTAINER:PATH 880 * Fix tmp dir never cleanup 881 * Speedup docker ps 882 * More informative error message on name collisions 883 * Fix nameserver regex 884 * Always return long id's 885 * Fix container restart race condition 886 * Keep published ports on docker stop;docker start 887 * Fix container networking on Fedora 888 * Correctly express "any address" to iptables 889 * Fix network setup when reconnecting to ghost container 890 * Prevent deletion if image is used by a running container 891 * Lock around read operations in graph 892 893 #### RemoteAPI 894 895 * Return full ID on docker rmi 896 897 #### Client 898 899 + Add -tree option to images 900 + Offline image transfer 901 * Exit with status 2 on usage error and display usage on stderr 902 * Do not forward SIGCHLD to container 903 * Use string timestamp for docker events -since 904 905 #### Other 906 907 * Update to go 1.2rc5 908 + Add /etc/default/docker support to upstart 909 910 ## 0.6.6 (2013-11-06) 911 912 #### Runtime 913 914 * Ensure container name on register 915 * Fix regression in /etc/hosts 916 + Add lock around write operations in graph 917 * Check if port is valid 918 * Fix restart runtime error with ghost container networking 919 + Add some more colors and animals to increase the pool of generated names 920 * Fix issues in docker inspect 921 + Escape apparmor confinement 922 + Set environment variables using a file. 923 * Prevent docker insert to erase something 924 + Prevent DNS server conflicts in CreateBridgeIface 925 + Validate bind mounts on the server side 926 + Use parent image config in docker build 927 * Fix regression in /etc/hosts 928 929 #### Client 930 931 + Add -P flag to publish all exposed ports 932 + Add -notrunc and -q flags to docker history 933 * Fix docker commit, tag and import usage 934 + Add stars, trusted builds and library flags in docker search 935 * Fix docker logs with tty 936 937 #### RemoteAPI 938 939 * Make /events API send headers immediately 940 * Do not split last column docker top 941 + Add size to history 942 943 #### Other 944 945 + Contrib: Desktop integration. Firefox usecase. 946 + Dockerfile: bump to go1.2rc3 947 948 ## 0.6.5 (2013-10-29) 949 950 #### Runtime 951 952 + Containers can now be named 953 + Containers can now be linked together for service discovery 954 + 'run -a', 'start -a' and 'attach' can forward signals to the container for better integration with process supervisors 955 + Automatically start crashed containers after a reboot 956 + Expose IP, port, and proto as separate environment vars for container links 957 * Allow ports to be published to specific ips 958 * Prohibit inter-container communication by default 959 - Ignore ErrClosedPipe for stdin in Container.Attach 960 - Remove unused field kernelVersion 961 * Fix issue when mounting subdirectories of /mnt in container 962 - Fix untag during removal of images 963 * Check return value of syscall.Chdir when changing working directory inside dockerinit 964 965 #### Client 966 967 - Only pass stdin to hijack when needed to avoid closed pipe errors 968 * Use less reflection in command-line method invocation 969 - Monitor the tty size after starting the container, not prior 970 - Remove useless os.Exit() calls after log.Fatal 971 972 #### Hack 973 974 + Add initial init scripts library and a safer Ubuntu packaging script that works for Debian 975 * Add -p option to invoke debootstrap with http_proxy 976 - Update install.sh with $sh_c to get sudo/su for modprobe 977 * Update all the mkimage scripts to use --numeric-owner as a tar argument 978 * Update hack/release.sh process to automatically invoke hack/make.sh and bail on build and test issues 979 980 #### Other 981 982 * Documentation: Fix the flags for nc in example 983 * Testing: Remove warnings and prevent mount issues 984 - Testing: Change logic for tty resize to avoid warning in tests 985 - Builder: Fix race condition in docker build with verbose output 986 - Registry: Fix content-type for PushImageJSONIndex method 987 * Contrib: Improve helper tools to generate debian and Arch linux server images 988 989 ## 0.6.4 (2013-10-16) 990 991 #### Runtime 992 993 - Add cleanup of container when Start() fails 994 * Add better comments to utils/stdcopy.go 995 * Add utils.Errorf for error logging 996 + Add -rm to docker run for removing a container on exit 997 - Remove error messages which are not actually errors 998 - Fix `docker rm` with volumes 999 - Fix some error cases where a HTTP body might not be closed 1000 - Fix panic with wrong dockercfg file 1001 - Fix the attach behavior with -i 1002 * Record termination time in state. 1003 - Use empty string so TempDir uses the OS's temp dir automatically 1004 - Make sure to close the network allocators 1005 + Autorestart containers by default 1006 * Bump vendor kr/pty to commit 3b1f6487b `(syscall.O_NOCTTY)` 1007 * lxc: Allow set_file_cap capability in container 1008 - Move run -rm to the cli only 1009 * Split stdout stderr 1010 * Always create a new session for the container 1011 1012 #### Testing 1013 1014 - Add aggregated docker-ci email report 1015 - Add cleanup to remove leftover containers 1016 * Add nightly release to docker-ci 1017 * Add more tests around auth.ResolveAuthConfig 1018 - Remove a few errors in tests 1019 - Catch errClosing error when TCP and UDP proxies are terminated 1020 * Only run certain tests with TESTFLAGS='-run TestName' make.sh 1021 * Prevent docker-ci to test closing PRs 1022 * Replace panic by log.Fatal in tests 1023 - Increase TestRunDetach timeout 1024 1025 #### Documentation 1026 1027 * Add initial draft of the Docker infrastructure doc 1028 * Add devenvironment link to CONTRIBUTING.md 1029 * Add `apt-get install curl` to Ubuntu docs 1030 * Add explanation for export restrictions 1031 * Add .dockercfg doc 1032 * Remove Gentoo install notes about #1422 workaround 1033 * Fix help text for -v option 1034 * Fix Ping endpoint documentation 1035 - Fix parameter names in docs for ADD command 1036 - Fix ironic typo in changelog 1037 * Various command fixes in postgres example 1038 * Document how to edit and release docs 1039 - Minor updates to `postgresql_service.rst` 1040 * Clarify LGTM process to contributors 1041 - Corrected error in the package name 1042 * Document what `vagrant up` is actually doing 1043 + improve doc search results 1044 * Cleanup whitespace in API 1.5 docs 1045 * use angle brackets in MAINTAINER example email 1046 * Update archlinux.rst 1047 + Changes to a new style for the docs. Includes version switcher. 1048 * Formatting, add information about multiline json 1049 * Improve registry and index REST API documentation 1050 - Replace deprecated upgrading reference to docker-latest.tgz, which hasn't been updated since 0.5.3 1051 * Update Gentoo installation documentation now that we're in the portage tree proper 1052 * Cleanup and reorganize docs and tooling for contributors and maintainers 1053 - Minor spelling correction of protocoll -> protocol 1054 1055 #### Contrib 1056 1057 * Add vim syntax highlighting for Dockerfiles from @honza 1058 * Add mkimage-arch.sh 1059 * Reorganize contributed completion scripts to add zsh completion 1060 1061 #### Hack 1062 1063 * Add vagrant user to the docker group 1064 * Add proper bash completion for "docker push" 1065 * Add xz utils as a runtime dep 1066 * Add cleanup/refactor portion of #2010 for hack and Dockerfile updates 1067 + Add contrib/mkimage-centos.sh back (from #1621), and associated documentation link 1068 * Add several of the small make.sh fixes from #1920, and make the output more consistent and contributor-friendly 1069 + Add @tianon to hack/MAINTAINERS 1070 * Improve network performance for VirtualBox 1071 * Revamp install.sh to be usable by more people, and to use official install methods whenever possible (apt repo, portage tree, etc.) 1072 - Fix contrib/mkimage-debian.sh apt caching prevention 1073 + Add Dockerfile.tmLanguage to contrib 1074 * Configured FPM to make /etc/init/docker.conf a config file 1075 * Enable SSH Agent forwarding in Vagrant VM 1076 * Several small tweaks/fixes for contrib/mkimage-debian.sh 1077 1078 #### Other 1079 1080 - Builder: Abort build if mergeConfig returns an error and fix duplicate error message 1081 - Packaging: Remove deprecated packaging directory 1082 - Registry: Use correct auth config when logging in. 1083 - Registry: Fix the error message so it is the same as the regex 1084 1085 ## 0.6.3 (2013-09-23) 1086 1087 #### Packaging 1088 1089 * Add 'docker' group on install for ubuntu package 1090 * Update tar vendor dependency 1091 * Download apt key over HTTPS 1092 1093 #### Runtime 1094 1095 - Only copy and change permissions on non-bindmount volumes 1096 * Allow multiple volumes-from 1097 - Fix HTTP imports from STDIN 1098 1099 #### Documentation 1100 1101 * Update section on extracting the docker binary after build 1102 * Update development environment docs for new build process 1103 * Remove 'base' image from documentation 1104 1105 #### Other 1106 1107 - Client: Fix detach issue 1108 - Registry: Update regular expression to match index 1109 1110 ## 0.6.2 (2013-09-17) 1111 1112 #### Runtime 1113 1114 + Add domainname support 1115 + Implement image filtering with path.Match 1116 * Remove unnecessary warnings 1117 * Remove os/user dependency 1118 * Only mount the hostname file when the config exists 1119 * Handle signals within the `docker login` command 1120 - UID and GID are now also applied to volumes 1121 - `docker start` set error code upon error 1122 - `docker run` set the same error code as the process started 1123 1124 #### Builder 1125 1126 + Add -rm option in order to remove intermediate containers 1127 * Allow multiline for the RUN instruction 1128 1129 #### Registry 1130 1131 * Implement login with private registry 1132 - Fix push issues 1133 1134 #### Other 1135 1136 + Hack: Vendor all dependencies 1137 * Remote API: Bump to v1.5 1138 * Packaging: Break down hack/make.sh into small scripts, one per 'bundle': test, binary, ubuntu etc. 1139 * Documentation: General improvements 1140 1141 ## 0.6.1 (2013-08-23) 1142 1143 #### Registry 1144 1145 * Pass "meta" headers in API calls to the registry 1146 1147 #### Packaging 1148 1149 - Use correct upstart script with new build tool 1150 - Use libffi-dev, don`t build it from sources 1151 - Remove duplicate mercurial install command 1152 1153 ## 0.6.0 (2013-08-22) 1154 1155 #### Runtime 1156 1157 + Add lxc-conf flag to allow custom lxc options 1158 + Add an option to set the working directory 1159 * Add Image name to LogEvent tests 1160 + Add -privileged flag and relevant tests, docs, and examples 1161 * Add websocket support to /container/<name>/attach/ws 1162 * Add warning when net.ipv4.ip_forwarding = 0 1163 * Add hostname to environment 1164 * Add last stable version in `docker version` 1165 - Fix race conditions in parallel pull 1166 - Fix Graph ByParent() to generate list of child images per parent image. 1167 - Fix typo: fmt.Sprint -> fmt.Sprintf 1168 - Fix small \n error un docker build 1169 * Fix to "Inject dockerinit at /.dockerinit" 1170 * Fix #910. print user name to docker info output 1171 * Use Go 1.1.2 for dockerbuilder 1172 * Use ranged for loop on channels 1173 - Use utils.ParseRepositoryTag instead of strings.Split(name, ":") in server.ImageDelete 1174 - Improve CMD, ENTRYPOINT, and attach docs. 1175 - Improve connect message with socket error 1176 - Load authConfig only when needed and fix useless WARNING 1177 - Show tag used when image is missing 1178 * Apply volumes-from before creating volumes 1179 - Make docker run handle SIGINT/SIGTERM 1180 - Prevent crash when .dockercfg not readable 1181 - Install script should be fetched over https, not http. 1182 * API, issue 1471: Use groups for socket permissions 1183 - Correctly detect IPv4 forwarding 1184 * Mount /dev/shm as a tmpfs 1185 - Switch from http to https for get.docker.io 1186 * Let userland proxy handle container-bound traffic 1187 * Update the Docker CLI to specify a value for the "Host" header. 1188 - Change network range to avoid conflict with EC2 DNS 1189 - Reduce connect and read timeout when pinging the registry 1190 * Parallel pull 1191 - Handle ip route showing mask-less IP addresses 1192 * Allow ENTRYPOINT without CMD 1193 - Always consider localhost as a domain name when parsing the FQN repos name 1194 * Refactor checksum 1195 1196 #### Documentation 1197 1198 * Add MongoDB image example 1199 * Add instructions for creating and using the docker group 1200 * Add sudo to examples and installation to documentation 1201 * Add ufw doc 1202 * Add a reference to ps -a 1203 * Add information about Docker`s high level tools over LXC. 1204 * Fix typo in docs for docker run -dns 1205 * Fix a typo in the ubuntu installation guide 1206 * Fix to docs regarding adding docker groups 1207 * Update default -H docs 1208 * Update readme with dependencies for building 1209 * Update amazon.rst to explain that Vagrant is not necessary for running Docker on ec2 1210 * PostgreSQL service example in documentation 1211 * Suggest installing linux-headers by default. 1212 * Change the twitter handle 1213 * Clarify Amazon EC2 installation 1214 * 'Base' image is deprecated and should no longer be referenced in the docs. 1215 * Move note about officially supported kernel 1216 - Solved the logo being squished in Safari 1217 1218 #### Builder 1219 1220 + Add USER instruction do Dockerfile 1221 + Add workdir support for the Buildfile 1222 * Add no cache for docker build 1223 - Fix docker build and docker events output 1224 - Only count known instructions as build steps 1225 - Make sure ENV instruction within build perform a commit each time 1226 - Forbid certain paths within docker build ADD 1227 - Repository name (and optionally a tag) in build usage 1228 - Make sure ADD will create everything in 0755 1229 1230 #### Remote API 1231 1232 * Sort Images by most recent creation date. 1233 * Reworking opaque requests in registry module 1234 * Add image name in /events 1235 * Use mime pkg to parse Content-Type 1236 * 650 http utils and user agent field 1237 1238 #### Hack 1239 1240 + Bash Completion: Limit commands to containers of a relevant state 1241 * Add docker dependencies coverage testing into docker-ci 1242 1243 #### Packaging 1244 1245 + Docker-brew 0.5.2 support and memory footprint reduction 1246 * Add new docker dependencies into docker-ci 1247 - Revert "docker.upstart: avoid spawning a `sh` process" 1248 + Docker-brew and Docker standard library 1249 + Release docker with docker 1250 * Fix the upstart script generated by get.docker.io 1251 * Enabled the docs to generate manpages. 1252 * Revert Bind daemon to 0.0.0.0 in Vagrant. 1253 1254 #### Register 1255 1256 * Improve auth push 1257 * Registry unit tests + mock registry 1258 1259 #### Tests 1260 1261 * Improve TestKillDifferentUser to prevent timeout on buildbot 1262 - Fix typo in TestBindMounts (runContainer called without image) 1263 * Improve TestGetContainersTop so it does not rely on sleep 1264 * Relax the lo interface test to allow iface index != 1 1265 * Add registry functional test to docker-ci 1266 * Add some tests in server and utils 1267 1268 #### Other 1269 1270 * Contrib: bash completion script 1271 * Client: Add docker cp command and copy api endpoint to copy container files/folders to the host 1272 * Don`t read from stdout when only attached to stdin 1273 1274 ## 0.5.3 (2013-08-13) 1275 1276 #### Runtime 1277 1278 * Use docker group for socket permissions 1279 - Spawn shell within upstart script 1280 - Handle ip route showing mask-less IP addresses 1281 - Add hostname to environment 1282 1283 #### Builder 1284 1285 - Make sure ENV instruction within build perform a commit each time 1286 1287 ## 0.5.2 (2013-08-08) 1288 1289 * Builder: Forbid certain paths within docker build ADD 1290 - Runtime: Change network range to avoid conflict with EC2 DNS 1291 * API: Change daemon to listen on unix socket by default 1292 1293 ## 0.5.1 (2013-07-30) 1294 1295 #### Runtime 1296 1297 + Add `ps` args to `docker top` 1298 + Add support for container ID files (pidfile like) 1299 + Add container=lxc in default env 1300 + Support networkless containers with `docker run -n` and `docker -d -b=none` 1301 * Stdout/stderr logs are now stored in the same file as JSON 1302 * Allocate a /16 IP range by default, with fallback to /24. Try 12 ranges instead of 3. 1303 * Change .dockercfg format to json and support multiple auth remote 1304 - Do not override volumes from config 1305 - Fix issue with EXPOSE override 1306 1307 #### API 1308 1309 + Docker client now sets useragent (RFC 2616) 1310 + Add /events endpoint 1311 1312 #### Builder 1313 1314 + ADD command now understands URLs 1315 + CmdAdd and CmdEnv now respect Dockerfile-set ENV variables 1316 - Create directories with 755 instead of 700 within ADD instruction 1317 1318 #### Hack 1319 1320 * Simplify unit tests with helpers 1321 * Improve docker.upstart event 1322 * Add coverage testing into docker-ci 1323 1324 ## 0.5.0 (2013-07-17) 1325 1326 #### Runtime 1327 1328 + List all processes running inside a container with 'docker top' 1329 + Host directories can be mounted as volumes with 'docker run -v' 1330 + Containers can expose public UDP ports (eg, '-p 123/udp') 1331 + Optionally specify an exact public port (eg. '-p 80:4500') 1332 * 'docker login' supports additional options 1333 - Dont save a container`s hostname when committing an image. 1334 1335 #### Registry 1336 1337 + New image naming scheme inspired by Go packaging convention allows arbitrary combinations of registries 1338 - Fix issues when uploading images to a private registry 1339 1340 #### Builder 1341 1342 + ENTRYPOINT instruction sets a default binary entry point to a container 1343 + VOLUME instruction marks a part of the container as persistent data 1344 * 'docker build' displays the full output of a build by default 1345 1346 ## 0.4.8 (2013-07-01) 1347 1348 + 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. 1349 - Tests: Fix issues in the test suite 1350 1351 ## 0.4.7 (2013-06-28) 1352 1353 #### Remote API 1354 1355 * The progress bar updates faster when downloading and uploading large files 1356 - Fix a bug in the optional unix socket transport 1357 1358 #### Runtime 1359 1360 * Improve detection of kernel version 1361 + Host directories can be mounted as volumes with 'docker run -b' 1362 - fix an issue when only attaching to stdin 1363 * Use 'tar --numeric-owner' to avoid uid mismatch across multiple hosts 1364 1365 #### Hack 1366 1367 * Improve test suite and dev environment 1368 * Remove dependency on unit tests on 'os/user' 1369 1370 #### Other 1371 1372 * Registry: easier push/pull to a custom registry 1373 + Documentation: add terminology section 1374 1375 ## 0.4.6 (2013-06-22) 1376 1377 - Runtime: fix a bug which caused creation of empty images (and volumes) to crash. 1378 1379 ## 0.4.5 (2013-06-21) 1380 1381 + Builder: 'docker build git://URL' fetches and builds a remote git repository 1382 * Runtime: 'docker ps -s' optionally prints container size 1383 * Tests: improved and simplified 1384 - Runtime: fix a regression introduced in 0.4.3 which caused the logs command to fail. 1385 - Builder: fix a regression when using ADD with single regular file. 1386 1387 ## 0.4.4 (2013-06-19) 1388 1389 - Builder: fix a regression introduced in 0.4.3 which caused builds to fail on new clients. 1390 1391 ## 0.4.3 (2013-06-19) 1392 1393 #### Builder 1394 1395 + ADD of a local file will detect tar archives and unpack them 1396 * ADD improvements: use tar for copy + automatically unpack local archives 1397 * ADD uses tar/untar for copies instead of calling 'cp -ar' 1398 * Fix the behavior of ADD to be (mostly) reverse-compatible, predictable and well-documented. 1399 - Fix a bug which caused builds to fail if ADD was the first command 1400 * Nicer output for 'docker build' 1401 1402 #### Runtime 1403 1404 * Remove bsdtar dependency 1405 * Add unix socket and multiple -H support 1406 * Prevent rm of running containers 1407 * Use go1.1 cookiejar 1408 - Fix issue detaching from running TTY container 1409 - Forbid parallel push/pull for a single image/repo. Fixes #311 1410 - Fix race condition within Run command when attaching. 1411 1412 #### Client 1413 1414 * HumanReadable ProgressBar sizes in pull 1415 * Fix docker version`s git commit output 1416 1417 #### API 1418 1419 * Send all tags on History API call 1420 * Add tag lookup to history command. Fixes #882 1421 1422 #### Documentation 1423 1424 - Fix missing command in irc bouncer example 1425 1426 ## 0.4.2 (2013-06-17) 1427 1428 - Packaging: Bumped version to work around an Ubuntu bug 1429 1430 ## 0.4.1 (2013-06-17) 1431 1432 #### Remote Api 1433 1434 + Add flag to enable cross domain requests 1435 + Add images and containers sizes in docker ps and docker images 1436 1437 #### Runtime 1438 1439 + Configure dns configuration host-wide with 'docker -d -dns' 1440 + Detect faulty DNS configuration and replace it with a public default 1441 + Allow docker run <name>:<id> 1442 + You can now specify public port (ex: -p 80:4500) 1443 * Improve image removal to garbage-collect unreferenced parents 1444 1445 #### Client 1446 1447 * Allow multiple params in inspect 1448 * Print the container id before the hijack in `docker run` 1449 1450 #### Registry 1451 1452 * Add regexp check on repo`s name 1453 * Move auth to the client 1454 - Remove login check on pull 1455 1456 #### Other 1457 1458 * Vagrantfile: Add the rest api port to vagrantfile`s port_forward 1459 * Upgrade to Go 1.1 1460 - Builder: don`t ignore last line in Dockerfile when it doesn`t end with \n 1461 1462 ## 0.4.0 (2013-06-03) 1463 1464 #### Builder 1465 1466 + Introducing Builder 1467 + 'docker build' builds a container, layer by layer, from a source repository containing a Dockerfile 1468 1469 #### Remote API 1470 1471 + Introducing Remote API 1472 + control Docker programmatically using a simple HTTP/json API 1473 1474 #### Runtime 1475 1476 * Various reliability and usability improvements 1477 1478 ## 0.3.4 (2013-05-30) 1479 1480 #### Builder 1481 1482 + 'docker build' builds a container, layer by layer, from a source repository containing a Dockerfile 1483 + 'docker build -t FOO' applies the tag FOO to the newly built container. 1484 1485 #### Runtime 1486 1487 + Interactive TTYs correctly handle window resize 1488 * Fix how configuration is merged between layers 1489 1490 #### Remote API 1491 1492 + Split stdout and stderr on 'docker run' 1493 + Optionally listen on a different IP and port (use at your own risk) 1494 1495 #### Documentation 1496 1497 * Improve install instructions. 1498 1499 ## 0.3.3 (2013-05-23) 1500 1501 - Registry: Fix push regression 1502 - Various bugfixes 1503 1504 ## 0.3.2 (2013-05-09) 1505 1506 #### Registry 1507 1508 * Improve the checksum process 1509 * Use the size to have a good progress bar while pushing 1510 * Use the actual archive if it exists in order to speed up the push 1511 - Fix error 400 on push 1512 1513 #### Runtime 1514 1515 * Store the actual archive on commit 1516 1517 ## 0.3.1 (2013-05-08) 1518 1519 #### Builder 1520 1521 + Implement the autorun capability within docker builder 1522 + Add caching to docker builder 1523 + Add support for docker builder with native API as top level command 1524 + Implement ENV within docker builder 1525 - Check the command existence prior create and add Unit tests for the case 1526 * use any whitespaces instead of tabs 1527 1528 #### Runtime 1529 1530 + Add go version to debug infos 1531 * Kernel version - don`t show the dash if flavor is empty 1532 1533 #### Registry 1534 1535 + Add docker search top level command in order to search a repository 1536 - Fix pull for official images with specific tag 1537 - Fix issue when login in with a different user and trying to push 1538 * Improve checksum - async calculation 1539 1540 #### Images 1541 1542 + Output graph of images to dot (graphviz) 1543 - Fix ByParent function 1544 1545 #### Documentation 1546 1547 + New introduction and high-level overview 1548 + Add the documentation for docker builder 1549 - CSS fix for docker documentation to make REST API docs look better. 1550 - Fix CouchDB example page header mistake 1551 - Fix README formatting 1552 * Update www.docker.io website. 1553 1554 #### Other 1555 1556 + Website: new high-level overview 1557 - Makefile: Swap "go get" for "go get -d", especially to compile on go1.1rc 1558 * Packaging: packaging ubuntu; issue #510: Use goland-stable PPA package to build docker 1559 1560 ## 0.3.0 (2013-05-06) 1561 1562 #### Runtime 1563 1564 - Fix the command existence check 1565 - strings.Split may return an empty string on no match 1566 - Fix an index out of range crash if cgroup memory is not 1567 1568 #### Documentation 1569 1570 * Various improvements 1571 + New example: sharing data between 2 couchdb databases 1572 1573 #### Other 1574 1575 * Vagrant: Use only one deb line in /etc/apt 1576 + Registry: Implement the new registry 1577 1578 ## 0.2.2 (2013-05-03) 1579 1580 + Support for data volumes ('docker run -v=PATH') 1581 + Share data volumes between containers ('docker run -volumes-from') 1582 + Improve documentation 1583 * Upgrade to Go 1.0.3 1584 * Various upgrades to the dev environment for contributors 1585 1586 ## 0.2.1 (2013-05-01) 1587 1588 + 'docker commit -run' bundles a layer with default runtime options: command, ports etc. 1589 * Improve install process on Vagrant 1590 + New Dockerfile operation: "maintainer" 1591 + New Dockerfile operation: "expose" 1592 + New Dockerfile operation: "cmd" 1593 + Contrib script to build a Debian base layer 1594 + 'docker -d -r': restart crashed containers at daemon startup 1595 * Runtime: improve test coverage 1596 1597 ## 0.2.0 (2013-04-23) 1598 1599 - Runtime: ghost containers can be killed and waited for 1600 * Documentation: update install instructions 1601 - Packaging: fix Vagrantfile 1602 - Development: automate releasing binaries and ubuntu packages 1603 + Add a changelog 1604 - Various bugfixes 1605 1606 ## 0.1.8 (2013-04-22) 1607 1608 - Dynamically detect cgroup capabilities 1609 - Issue stability warning on kernels <3.8 1610 - 'docker push' buffers on disk instead of memory 1611 - Fix 'docker diff' for removed files 1612 - Fix 'docker stop' for ghost containers 1613 - Fix handling of pidfile 1614 - Various bugfixes and stability improvements 1615 1616 ## 0.1.7 (2013-04-18) 1617 1618 - Container ports are available on localhost 1619 - 'docker ps' shows allocated TCP ports 1620 - Contributors can run 'make hack' to start a continuous integration VM 1621 - Streamline ubuntu packaging & uploading 1622 - Various bugfixes and stability improvements 1623 1624 ## 0.1.6 (2013-04-17) 1625 1626 - Record the author an image with 'docker commit -author' 1627 1628 ## 0.1.5 (2013-04-17) 1629 1630 - Disable standalone mode 1631 - Use a custom DNS resolver with 'docker -d -dns' 1632 - Detect ghost containers 1633 - Improve diagnosis of missing system capabilities 1634 - Allow disabling memory limits at compile time 1635 - Add debian packaging 1636 - Documentation: installing on Arch Linux 1637 - Documentation: running Redis on docker 1638 - Fix lxc 0.9 compatibility 1639 - Automatically load aufs module 1640 - Various bugfixes and stability improvements 1641 1642 ## 0.1.4 (2013-04-09) 1643 1644 - Full support for TTY emulation 1645 - Detach from a TTY session with the escape sequence `C-p C-q` 1646 - Various bugfixes and stability improvements 1647 - Minor UI improvements 1648 - Automatically create our own bridge interface 'docker0' 1649 1650 ## 0.1.3 (2013-04-04) 1651 1652 - Choose TCP frontend port with '-p :PORT' 1653 - Layer format is versioned 1654 - Major reliability improvements to the process manager 1655 - Various bugfixes and stability improvements 1656 1657 ## 0.1.2 (2013-04-03) 1658 1659 - Set container hostname with 'docker run -h' 1660 - Selective attach at run with 'docker run -a [stdin[,stdout[,stderr]]]' 1661 - Various bugfixes and stability improvements 1662 - UI polish 1663 - Progress bar on push/pull 1664 - Use XZ compression by default 1665 - Make IP allocator lazy 1666 1667 ## 0.1.1 (2013-03-31) 1668 1669 - Display shorthand IDs for convenience 1670 - Stabilize process management 1671 - Layers can include a commit message 1672 - Simplified 'docker attach' 1673 - Fix support for re-attaching 1674 - Various bugfixes and stability improvements 1675 - Auto-download at run 1676 - Auto-login on push 1677 - Beefed up documentation 1678 1679 ## 0.1.0 (2013-03-23) 1680 1681 Initial public release 1682 1683 - Implement registry in order to push/pull images 1684 - TCP port allocation 1685 - Fix termcaps on Linux 1686 - Add documentation 1687 - Add Vagrant support with Vagrantfile 1688 - Add unit tests 1689 - Add repository/tags to ease image management 1690 - Improve the layer implementation