A new option allows users to specify build targets

May 5, 2017 20:13 GMT  ·  By

Docker 17.05.0 was released today as part of the new Moby project, a collaborative effort to assemble container-based systems for the container ecosystem, a release that brings a great number of improvements and new features.

Prominent new features of the Docker 17.05.0 release include support for building Docker DEB packages for Ubuntu 17.04 (Zesty Zapus) machines on the 64-bit (amd64) architecture, multi-stage build support to the builder, along with a new option that lets users specify build targets, and support for using build-time args (ARG) in FROM.

The client received a bunch of new command-line options, including the "--mount" for the "docker run" and "docker create" commands, "--type=secret" for "docker inspect", "--format" and "--filter" for "docker secret ls", "--filter scope=< swarm|local >" for "docker network ls", and "--cpus" for "docker update."

Support for logging driver plugins, other improvements

Among other improvements implemented in the Docker 17.05.0 release, we can mention support for logging driver plugins, the ability to display logs of individual tasks for the "docker service logs" command, as well as a new "--log-opt env-regex" option that can be used to match environment variables when using regexps.

Moreover, users can now replace and customize the ingress network, the health probe is now automatically stopped when a container is already present, there's update order (--update-order) and rollback order (--rollback-order) for services in Swarm Mode, along with support for synchronous "service create" and "service update."

SELinux and Credential Spec support was added to Swarm Mode services for the API, as well as support for "grace periods" on healthchecks, and a bunch of new options, including "--entrypoint" for the "docker service create" and "docker service update" commands, the latter also receiving "--network-add" and "--network-rm."

Docker 17.05.0 also makes it possible for users to set SELinux types or MCS labels when using either the "--ipc=container:" or "--ipc=host" arguments, and support for the Ubuntu 12.04 LTS (Precise Pangolin) operating system has been removed as it reached end of life on April 28, 2017.

The "--api-enable-cors" daemon flag was also deprecated, and numerous bugs were squashed. We've attached the full changelog below if you're curious to know what's new in this update, and you can download the Docker 17.05.0-ce source tarball right now from our website or the project's GitHub page if you want to update.

Docker 17.05.0 Changelog