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