1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/plugin
Yong Tang 88fcdb0a82 Fix docker inspect <unkown object> issue on Windows
This fix tries to address the issue raised on 29185 where
`docker inspect <unknown object>` on Windows will return:
```
Error response from daemon: plugins are not supported on this platform
```

The reason was that in case `--type` is not specified, `docker inspect`
will iterate through different types `container`, `image`, `network`,
`plugin` etc. The `plugin` object is the last type to check.

However, as `plugin` is not supported on Windows yet, the error message
is not very informative for `plugins are not supported on this platform`.

This fix tries to fix the issue by return a `not found` error on unsupported
platforms as well.

An integration test has been added to cover the changes for Windows/Linux.

This fix fixes 29185.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-12-06 12:05:59 -08:00
..
distribution refactor plugin install 2016-12-02 15:23:08 -08:00
store Allow docker plugin inspect to search based on ID or name 2016-12-01 10:44:17 -08:00
v2 refactor plugin install 2016-12-02 15:23:08 -08:00
backend_linux.go Merge pull request #28963 from vieux/refactor_plugin_install 2016-12-05 12:00:29 -08:00
backend_unsupported.go Fix docker inspect <unkown object> issue on Windows 2016-12-06 12:05:59 -08:00
manager.go Fix issue caused by duplicate docker plugin create with same names 2016-11-28 12:37:49 -08:00
manager_linux.go Fix issue with plugin exit. 2016-11-28 12:48:56 -08:00
manager_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
manager_windows.go Make experimental a runtime flag 2016-10-24 15:20:01 -07:00