Browse code

Merge pull request #29379 from vieux/1.12.5-rc1_bump

1.12.5-rc1 bump
(cherry picked from commit 02394deb34ee43d1cc95fcfb86aa8fd774091c9b)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Victor Vieux authored on 2016/12/14 15:27:18
Showing 1 changed files
... ...
@@ -212,6 +212,41 @@ To manually remove all plugins and resolve this problem, take the following step
212 212
 - Deprecate MAINTAINER in Dockerfile [#25466](https://github.com/docker/docker/pull/25466)
213 213
 - Deprecated filter param for endpoint `/images/json` [#27872](https://github.com/docker/docker/pull/27872)
214 214
 
215
+## 1.12.5 (2016-12-15)
216
+
217
+**IMPORTANT**: Docker 1.12 ships with an updated systemd unit file for rpm
218
+based installs (which includes RHEL, Fedora, CentOS, and Oracle Linux 7). When
219
+upgrading from an older version of docker, the upgrade process may not
220
+automatically install the updated version of the unit file, or fail to start
221
+the docker service if;
222
+
223
+- the systemd unit file (`/usr/lib/systemd/system/docker.service`) contains local changes, or
224
+- a systemd drop-in file is present, and contains `-H fd://` in the `ExecStart` directive
225
+
226
+Starting the docker service will produce an error:
227
+
228
+    Failed to start docker.service: Unit docker.socket failed to load: No such file or directory.
229
+
230
+or
231
+
232
+    no sockets found via socket activation: make sure the service was started by systemd.
233
+
234
+To resolve this:
235
+
236
+- Backup the current version of the unit file, and replace the file with the
237
+  [version that ships with docker 1.12](https://raw.githubusercontent.com/docker/docker/v1.12.0/contrib/init/systemd/docker.service.rpm)
238
+- Remove the `Requires=docker.socket` directive from the `/usr/lib/systemd/system/docker.service` file if present
239
+- Remove `-H fd://` from the `ExecStart` directive (both in the main unit file, and in any drop-in files present).
240
+
241
+After making those changes, run `sudo systemctl daemon-reload`, and `sudo
242
+systemctl restart docker` to reload changes and (re)start the docker daemon.
243
+
244
+
245
+### Contrib
246
+
247
+- Fix compilation on Darwin [#29370](https://github.com/docker/docker/pull/29370)
248
+- Use the selinux policy provided by docker-selinux on CentOS [#29377](https://github.com/docker/docker/pull/29377)
249
+
215 250
 ## 1.12.4 (2016-12-12)
216 251
 
217 252
 **IMPORTANT**: Docker 1.12 ships with an updated systemd unit file for rpm
... ...
@@ -285,7 +320,7 @@ systemctl restart docker` to reload changes and (re)start the docker daemon.
285 285
 
286 286
 - Run "dnf upgrade" before installing in fedora [#29150](https://github.com/docker/docker/pull/29150)
287 287
 - Add build-date back to RPM packages [#29150](https://github.com/docker/docker/pull/29150)
288
-- Update selinux policy for distros based on RHEL7.3 [#29188](https://github.com/docker/docker/pull/29188)
288
+- deb package filename changed to include distro to distinguish between distro code names [#27829](https://github.com/docker/docker/pull/27829)
289 289
 
290 290
 ## 1.12.3 (2016-10-26)
291 291