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 theExecStart
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 theExecStart
directive (both in the main unit file, and in any drop-in files present).
After making those changes, run
sudo systemctl daemon-reload
, andsudo ๐ณ systemctl restart docker
to reload changes and (re)start the docker daemon.Client
- โ Add
Joined at
information innode 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
andservice 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
- ๐ณ the systemd unit file (