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