Skip to content

v1.12.2

Compare
Choose a tag to compare
@vieux vieux released this 11 Oct 23:35
· 152 commits to 1.12.x since this release

1.12.2 (2016-10-06)

IMPORTANT: Docker 1.12 ships with an updated systemd unit file for rpm
based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When
upgrading from an older version of docker, the upgrade process may not
automatically install the updated version of the unit file, or fail to start
the docker service if;

  • the systemd unit file (/usr/lib/systemd/system/docker.service) contains local changes, or
  • a systemd drop-in file is present, and contains -H fd:// in the ExecStart directive

Starting the docker service will produce an error:

Failed to start docker.service: Unit docker.socket failed to load: No such file or directory.

or

no sockets found via socket activation: make sure the service was started by systemd.

To resolve this:

  • Backup the current version of the unit file, and replace the file with the
    version that ships with docker 1.12
  • Remove the Requires=docker.socket directive from the /usr/lib/systemd/system/docker.service file if present
  • Remove -H fd:// from the ExecStart directive (both in the main unit file, and in any drop-in files present).

After making those changes, run sudo systemctl daemon-reload, and sudo systemctl restart docker to reload changes and (re)start the docker daemon.

Runtime

  • Fix a panic due to a race condition filtering docker ps #26049
  • Implement retry logic to prevent "Unable to remove filesystem" errors when using the aufs storage driver #26536
  • Prevent devicemapper from removing device symlinks if dm.use_deferred_removal is enabled #24740
  • Fix an issue where the CLI did not return correct exit codes if a command was run with invalid options #26777
  • Fix a panic due to a bug in stdout / stderr processing in health checks #26507
  • Fix exec's children handling #26874
  • Fix exec form of HEALTHCHECK CMD #26208

Networking

Swarm Mode

Contrib

  • Update the debian sysv-init script to use dockerd instead of docker daemon #25869
  • Improve stability when running the docker client on MacOS Sierra #26875

Windows

  • Fix an issue where arrow-navigation did not work when running the docker client in ConEmu #25578

Downloads

Regular

deb/rpm install: curl -fsSL https://get.docker.com/ | sh
Linux 64bit tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.12.2.tgz
Darwin/OSX 64bit client tgz: https://get.docker.com/builds/Darwin/x86_64/docker-1.12.2.tgz
Linux 64bit arm tgz: https://get.docker.com/builds/Linux/armel/docker-1.12.2.tgz
Windows 64bit zip: https://get.docker.com/builds/Windows/x86_64/docker-1.12.2.zip
Windows 32bit client zip: https://get.docker.com/builds/Windows/i386/docker-1.12.2.zip

With experimental features

deb/rpm install: curl -fsSL https://experimental.docker.com/ | sh
Linux 64bit tgz: https://experimental.docker.com/builds/Linux/x86_64/docker-1.12.2.tgz
Darwin/OSX 64bit client tgz: https://experimental.docker.com/builds/Darwin/x86_64/docker-1.12.2.tgz
Linux 64bit arm tgz: https://experimental.docker.com/builds/Linux/armel/docker-1.12.2.tgz
Windows 64bit zip: https://experimental.docker.com/builds/Windows/x86_64/docker-1.12.2.zip
Windows 32bit client zip: https://experimental.docker.com/builds/Windows/i386/docker-1.12.2.zip