moby/cli/command
Yong Tang 0b3c10ac4d Fix docker plugin inspect <unkown object> issue on Windows
This fix is a follow up for comment:
https://github.com/docker/docker/pull/29186/files#r91277345

While #29186 addresses the issue of `docker inspect <unknown object>`
on Windows, it actually makes `docker plugin inspect <unknown object>`
out `object not found` on Windows as well. This is actually misleading
as plugin is not supported on Windows.

This fix reverted the change in #29186 while at the same time,
checks `not supported` in `docker inspect <unknown object>` so that
- `docker plugin inspect <unknown object>` returns `not supported` on Windows
- `docker inspect <unknown object>` returns `not found` on Windows

This fix is related to #29186 and #29185.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2016-12-20 21:05:10 -08:00
..
bundlefile Reinstate --bundle-file argument to 'docker deploy' 2016-11-10 11:28:18 -05:00
checkpoint Print checkpoint id when creating a checkpoint 2016-12-01 23:30:14 -05:00
commands Give a order to AddCommands, for easy read and maintenance. 2016-12-08 16:43:14 +08:00
container Convert DanglingOnly to Filters for docker image prune 2016-12-02 20:08:49 -08:00
formatter api: Hide UpdateStatus when it is not present 2016-12-01 15:08:41 -08:00
idresolver service ps: Truncate Task IDs 2016-11-08 16:17:15 -08:00
image Abstract distribution interfaces from image specific types 2016-12-19 10:55:00 -08:00
inspect add endpoint mode in service pretty 2016-09-27 18:41:19 +08:00
network Convert DanglingOnly to Filters for docker image prune 2016-12-02 20:08:49 -08:00
node Revert "Add -a option to service/node ps" 2016-11-28 18:08:45 +01:00
plugin Add ID field for docker plugin ls 2016-12-02 13:42:50 -08:00
prune add docker network prune 2016-10-25 06:43:54 +00:00
registry Add registry-specific credential helper support 2016-12-01 10:29:00 -08:00
secret Add --file flag for docker secret create command 2016-12-13 07:35:45 -08:00
service Fix misleading default for --replicas 2016-12-19 19:35:05 -08:00
stack Move pkg to cli/compose/convert 2016-12-16 12:27:31 -05:00
swarm Before asking a user for the unlock key when they run docker swarm unlock, actually 2016-12-16 17:16:55 -08:00
system Fix docker plugin inspect <unkown object> issue on Windows 2016-12-20 21:05:10 -08:00
task return directly without ifs in remaining packages 2016-12-14 23:28:27 +02:00
volume Convert DanglingOnly to Filters for docker image prune 2016-12-02 20:08:49 -08:00
cli.go Add registry-specific credential helper support 2016-12-01 10:29:00 -08:00
events_utils.go Add subcommand prune to the container, volume, image and system commands 2016-09-29 07:42:53 -07:00
in.go Fix the incorrect description for NewInStream 2016-10-13 22:33:09 +08:00
out.go Windows: OCI process struct convergence 2016-09-19 10:34:31 -07:00
registry.go Add registry-specific credential helper support 2016-12-01 10:29:00 -08:00
trust.go Move image trust related cli methods into the image package. 2016-09-09 10:50:16 -04:00
utils.go Windows: Prompt fix 2016-12-09 14:27:53 -08:00