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 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.โ 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
- โก๏ธ Update Swarmkit #29047
- orchestrator/global: Fix deadlock on updates docker/swarmkit#1760
- on leader switchover preserve the vxlan id for existing networks docker/swarmkit#1773
- ๐ณ Refuse swarm spec not named "default" #29152
Networking
- โก๏ธ Update libnetwork #29004 #29146
- Fix panic in embedded DNS docker/libnetwork#1561
- Fix unmarhalling panic when passing --link-local-ip on global scope network docker/libnetwork#1564
- Fix panic when network plugin returns nil StaticRoutes docker/libnetwork#1563
- Fix panic in osl.(*networkNamespace).DeleteNeighbor docker/libnetwork#1555
- Fix panic in swarm networking concurrent map read/write docker/libnetwork#1570
- Allow encrypted networks when running docker inside a container docker/libnetwork#1502
- Do not block autoallocation of IPv6 pool docker/libnetwork#1538
- Set timeout for netlink calls docker/libnetwork#1557
- Increase networking local store timeout to one minute docker/libkv#140
- Fix a panic in libnetwork.(*sandbox).execFunc docker/libnetwork#1556
- Honor icc=false for internal networks docker/libnetwork#1525
๐ฒ Logging
- โก๏ธ Update syslog log driver #29150
Contrib
- ๐ณ the systemd unit file (