Moby v1.12.2 Release Notes

Release Date: 2016-10-11 // over 7 years ago
  • 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
    • 🛠 Fix installation on debian stretch #27184

    🏁 Windows

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