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