Moby v1.12.4 Release Notes

Release Date: 2016-12-12 // 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 issue where volume metadata was not removed #29083
    • ๐Ÿ”’ Asynchronously close streams to prevent holding container lock #29050
    • ๐Ÿ›  Fix selinux labels for newly created container volumes #29050
    • โœ‚ Remove hostname validation #28990
    • ๐Ÿ›  Fix deadlocks caused by IO races #29095 #29141
    • ๐Ÿณ Return an empty stats if the container is restarting #29150
    • ๐Ÿ›  Fix volume store locking #29151
    • ๐Ÿณ Ensure consistent status code in API #29150
    • ๐Ÿ›  Fix incorrect opaque directory permission in overlay2 #29093
    • ๐Ÿณ Detect plugin content and error out on docker pull #29297

    Swarm Mode

    Networking

    ๐ŸŒฒ Logging

    • โšก๏ธ Update syslog log driver #29150

    Contrib

    • โฌ†๏ธ Run "dnf upgrade" before installing in fedora #29150
    • โž• Add build-date back to RPM packages #29150
    • ๐Ÿณ deb package filename changed to include distro to distinguish between distro code names #27829