The first Release Candidate for Docker 1.5 is available!
First of all, we’d like to give a big THANK YOU to people who contributed to this release: many of the changelog items come from non-maintainers, which is really awesome. Docker 1.5.0-rc1 in numbers:
- 664 commits
- 86 contributors
- +8,350 -3,397 line changes
There are many major features in this release (see the changelog below): please test it extensively. The release date is planned for February 5th, along with Compose 1.1.0, Machine beta 0.1.0, and Swam beta 0.1.0.
IMPORTANT NOTE: one of the most significant features is the ability for Docker engine to communicate with the v2 version of the registry's HTTP API. Please be aware that the official hub infrastructure is not yet upgraded to this new version of the protocol, and won’t be until general availability of the release. Olivier (@dmp42) summarized what you should and shouldn’t expect in your tests in this regard: please give it a read
https://gist.github.com/dmp42/4eb84f9fe19f7b8808c0.
Get the binaries:
CHANGELOG
Builder
+ Dockerfile to use for a given `docker build` can be specified with the `-f` flag * 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 * ADD and COPY instructions accept relative paths * Dockerfile `FROM scratch` instruction is now interpreted as a no-base specifier * Improve performance when exposing a large number of ports
Hack
+ Allow client-side only integration tests for Windows
* Include docker-py integration tests against Docker daemon as part of our test suites
Packaging
+ Support for the new version of the registry HTTP API
* Speed up `docker push` for images with a majority of already existing layers
- Fixed contacting a private registry through a proxy
Remote API
+ Containers can be renamed using the new `rename` endpoint and the associated `docker rename` command
* Container `inspect` endpoint show the ID of `exec` commands running in this container
* Container `inspect` endpoint show the number of times Docker auto-restarted the container
* New types of event can be streamed by the `events` endpoint: ‘OOM’ (container died with out of memory), ‘exec_create’, and ‘exec_start'
- Fixed returned string fields which hold numeric characters incorrectly omitting surrounding double quotes
Runtime
+ Docker daemon has full IPv6 support
+ 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
+ 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
+ Container total memory usage can be limited for `docker run` using the `--memory-swap` flag
* Major stability improvements for devicemapper storage driver
* Better integration with host system: containers will reflect changes to the host's `/etc/resolv.conf` file when restarted
* Better integration with host system: per-container iptable rules are moved to the DOCKER chain
- Fixed container exiting on out of memory to return an invalid exit code
* The HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables are properly taken into account by the client when connecting to the Docker daemon
--