Moby v1.12.3 Release Notes
Release Date: 2016-10-26 // 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 ambient capability usage in containers (CVE-2016-8867) #27610
- π Prevent a deadlock in libcontainerd for Windows #27136
- π Fix error reporting in CopyFileWithTar #27075
- π³ Reset health status to starting when a container is restarted #27387
- π³ Properly handle shared mount propagation in storage directory #27609
- π Fix docker exec #27610
- π Fix backward compatibility with containerdβs events log #27693
Swarm Mode
- π Fix conversion of restart-policy #27062
- β‘οΈ Update Swarmkit #27554
- Avoid restarting a task that has already been restarted docker/swarmkit#1305
- Allow duplicate published ports when they use different protocols docker/swarmkit#1632
- Allow multiple randomly assigned published ports on service docker/swarmkit#1657
- Fix panic when allocations happen at init time docker/swarmkit#1651
Networking
- β‘οΈ Update libnetwork #27559
- Fix race in serializing sandbox to string docker/libnetwork#1495
- Fix race during deletion docker/libnetwork#1503
- Reset endpoint port info on connectivity revoke in bridge driver docker/libnetwork#1504
- Fix a deadlock in networking code docker/libnetwork#1507
- Fix a race in load balancer state docker/libnetwork#1512
π² Logging
- β‘οΈ Update fluent-logger-golang to v1.2.1 #27474
Contrib
- π³ the systemd unit file (