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