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