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