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