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