37fb30ac29ffd41c636b461f5b033e4d93e649c6
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> Upstream-commit: 88fcdb0a825da040ef2b1f9c191af480f0f2cc90 Component: engine
Description
No description provided
Languages
Go
92%
Shell
5.5%
Dockerfile
1.1%
Go-Checksums
0.9%
Makefile
0.3%
Other
0.2%