Browse code

Note about potential plugin issue when upgrading

Fixes: #29172
Fixes: https://github.com/docker/for-mac/issues/1000

Signed-off-by: Lajos Papp <lalyos@yahoo.com>
Signed-off-by: lalyos <lalyos@yahoo.com>

Lajos Papp authored on 2016/12/06 20:15:10
Showing 1 changed files
... ...
@@ -7,6 +7,22 @@ be found.
7 7
 
8 8
 ## 1.13.0 (2016-12-08)
9 9
 
10
+**IMPORTANT**: In Docker 1.13 managed plugin api changed from the experimental
11
+version introduced in Docker 1.12. Plugins installed with Docker 1.12 should
12
+therefore be **uninstalled** _before_ upgrading to Docker 1.13. You can
13
+uninstall plugins using the `docker plugin rm` command.
14
+
15
+If you have already upgraded to Docker 1.13 without uninstalling plugins, and
16
+get this error message during docker daemon startup;
17
+
18
+    Error starting daemon: json: cannot unmarshal string into Go value of type types.PluginEnv
19
+
20
+Take the following steps to manually remove all plugins;
21
+
22
+- Remove plugins.json from: `/var/lib/docker/plugins/`
23
+- Restart Docker
24
+- Reinstall your plugins
25
+
10 26
 ### Builder
11 27
 + Add capability to specify images used as a cache source on build. These images do not need to have local parent chain and can be pulled from other registries [#26839](https://github.com/docker/docker/pull/26839)
12 28
 + (experimental) Add option to squash image layers to the FROM image after successful builds [#22641](https://github.com/docker/docker/pull/22641)