Moby v1.12.1 Release Notes

Release Date: 2016-08-18 // 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.

    Client

    • โž• Add Joined at information in node inspect --pretty #25512
    • ๐Ÿ›  Fix a crash on service inspect #25454
    • ๐Ÿ›  Fix issue preventing service update --env-add to work as intended #25427
    • ๐Ÿ›  Fix issue preventing service update --publish-add to work as intended #25428
    • โœ‚ Remove service update --network-add and service update --network-rm flags because this feature is not yet implemented in 1.12, but was inadvertently added to the client in 1.12.0 #25646

    Contrib

    • ๐Ÿณ Official ARM installation for Debian Jessie, Ubuntu Trusty, and Raspbian Jessie #24815 #25591
    • โž• Add selinux policy per distro/version, fixing issue preventing successful installation on Fedora 24, and Oracle Linux #25334 #25593

    Networking

    • ๐Ÿ›  Fix issue that prevented containers to be accessed by hostname with Docker overlay driver in Swarm Mode #25603 #25648
    • ๐Ÿ›  Fix random network issues on service with published port #25603
    • ๐Ÿ›  Fix unreliable inter-service communication after scaling down and up #25603
    • ๐Ÿ›  Fix issue where removing all tasks on a node and adding them back breaks connectivity with other services #25603
    • ๐Ÿ›  Fix issue where a task that fails to start results in a race, causing a network xxx not found error that masks the actual error #25550
    • ๐Ÿณ Relax validation of SRV records for external services that use SRV records not formatted according to RFC 2782 #25739

    ๐Ÿ”Œ Plugins (experimental)

    • ๐Ÿณ Make daemon events listen for plugin lifecycle events #24760
    • ๐Ÿณ Check for plugin state before enabling plugin #25033
    • โœ‚ Remove plugin root from filesystem on plugin rm #25187
    • ๐Ÿณ Prevent deadlock when more than one plugin is installed #25384

    โš™ Runtime

    • ๐Ÿณ Mask join tokens in daemon logs #25346
    • ๐Ÿ›  Fix docker ps --filter causing the results to no longer be sorted by creation time #25387
    • ๐Ÿ›  Fix various crashes #25053

    ๐Ÿ”’ Security

    • โž• Add /proc/timer_list to the masked paths list to prevent information leak from the host #25630
    • Allow systemd to run with only --cap-add SYS_ADMIN rather than having to also add --cap-add DAC_READ_SEARCH or disabling seccomp filtering #25567

    Swarm

    • ๐Ÿ›  Fix an issue where the swarm can get stuck electing a new leader after quorum is lost #25055
    • ๐Ÿ›  Fix unwanted rescheduling of containers after a leader failover #25017
    • ๐Ÿ”„ Change swarm root CA key to P256 curve swarmkit#1376
    • ๐Ÿ‘ Allow forced removal of a node from a swarm #25159
    • ๐Ÿ›  Fix connection leak when a node leaves a swarm swarmkit/#1277
    • ๐Ÿณ Backdate swarm certificates by one hour to tolerate more clock skew swarmkit/#1243
    • ๐Ÿณ Avoid high CPU use with many unschedulable tasks swarmkit/#1287
    • ๐Ÿ›  Fix issue with global tasks not starting up swarmkit/#1295
    • ๐Ÿณ Garbage collect raft logs swarmkit/#1327

    Volume

    • ๐Ÿณ Persist local volume options after a daemon restart #25316
    • ๐Ÿ›  Fix an issue where the mount ID was not returned on volume unmount #25333
    • ๐Ÿ›  Fix an issue where a volume mount could inadvertently create a bind mount #25309
    • ๐Ÿณ docker service create --mount type=bind,... now correctly validates if the source path exists, instead of creating it #25494