1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/reference/commandline
Yong Tang 3477da0cdb Allow docker plugin inspect to search based on ID or name
This fix tries to address the issue raised in discussion of
PR 28735 where it was not possible to manage plugin based on
plugin ID. Previously it was not possible to invoke
`docker plugin inspect` with a plugin ID (or ID prefix).

This fix updates the implementation of `docker plugin inspect`
so that it is possbile to search based on a plugin name, or a
plugin ID. A short format of plugin ID (prefix) is also possible,
as long as there is no ambiguity.

Previously the check of `docker plugin inspect` was mostly done
on the client side. This could potentially cause inconsistency
between API and CMD. This fix move all the checks to daemon side
so that API and CMD will be consistent.

An integration test has been added to cover the changes.

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
(cherry picked from commit 0ce6e070f7)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
2016-12-02 13:39:37 -08:00
..
attach.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
build.md Update docs for the output of docker build (Step 1/...) 2016-11-05 19:05:19 -07:00
cli.md Add options for docker plugin enable and fix some typos 2016-11-28 11:21:20 -08:00
commit.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
container_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
cp.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
create.md cli: remove --mount from docker run 2016-11-30 14:22:43 -08:00
deploy.md Fix typo in docs (Copmose) 2016-11-22 11:27:57 -08:00
diff.md Remove redundant parameter and fix typos 2016-11-10 11:05:31 +08:00
docker_images.gif
dockerd.md Add options for docker plugin enable and fix some typos 2016-11-28 11:21:20 -08:00
events.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
exec.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
export.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
history.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
image_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
images.md Update images cli reference with reference filter 2016-11-18 13:37:07 -08:00
import.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
index.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
info.md Update docker info cli reference documentation 2016-11-23 12:28:16 -08:00
inspect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
kill.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
load.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
login.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
logout.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
logs.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
menu.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
network_connect.md 28600: Docs: network connect for container in Created/Stopped state 2016-11-28 11:13:20 -08:00
network_create.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
network_disconnect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
network_inspect.md Show peer nodes in network inspect for swarm overlay networks 2016-11-09 13:58:04 -08:00
network_ls.md Update docs of docker network ls --filter 2016-11-28 11:19:34 -08:00
network_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
network_rm.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
node_demote.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
node_inspect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
node_ls.md change node ls and service ls api and docs 2016-11-11 02:51:19 +08:00
node_promote.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
node_ps.md Revert "Add -a option to service/node ps" 2016-11-30 14:11:02 -08:00
node_rm.md add short flag for force 2016-11-09 14:40:47 +08:00
node_update.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
pause.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
plugin_create.md Modify the link for config.json 2016-11-29 14:09:07 -08:00
plugin_disable.md Add docs for plugin push 2016-11-14 11:34:28 -08:00
plugin_enable.md Add options for docker plugin enable and fix some typos 2016-11-28 11:21:20 -08:00
plugin_inspect.md Allow docker plugin inspect to search based on ID or name 2016-12-02 13:39:37 -08:00
plugin_install.md Add docs for plugin push 2016-11-14 11:34:28 -08:00
plugin_ls.md Add docs for plugin push 2016-11-14 11:34:28 -08:00
plugin_push.md Modify reponame to PLUGIN and fix some typos 2016-11-28 11:23:58 -08:00
plugin_rm.md Add docs for plugin push 2016-11-14 11:34:28 -08:00
plugin_set.md Add docs for plugin push 2016-11-14 11:34:28 -08:00
port.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
ps.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
pull.md Add concurrent uploads/downloads section 2016-11-22 16:20:19 -08:00
push.md Add concurrent uploads/downloads section 2016-11-22 16:20:19 -08:00
rename.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
restart.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
rm.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
rmi.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
run.md cli: remove --mount from docker run 2016-11-30 14:22:43 -08:00
save.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
search.md Fix copypaste error 'is-automated' 2016-11-28 11:30:34 -08:00
secret_create.md update secret command 2016-11-28 11:16:47 -08:00
secret_inspect.md Update docs to reflect no longer displaying secret digest or size. 2016-11-22 16:54:55 -08:00
secret_ls.md Fix the inconsistency for docker secret 2016-12-01 13:39:06 -08:00
secret_rm.md support labels for secrets upon creation; review updates 2016-11-09 14:27:45 -05:00
service_create.md Document publishing a UDP port 2016-11-29 14:13:15 -08:00
service_inspect.md support show numbers of global service in service ls command 2016-11-08 16:17:15 +08:00
service_logs.md service logs reference documentation 2016-11-10 13:46:03 -08:00
service_ls.md change node ls and service ls api and docs 2016-11-11 02:51:19 +08:00
service_ps.md Revert "Add -a option to service/node ps" 2016-11-30 14:11:02 -08:00
service_rm.md support show numbers of global service in service ls command 2016-11-08 16:17:15 +08:00
service_scale.md support show numbers of global service in service ls command 2016-11-08 16:17:15 +08:00
service_update.md Allow hostname to be updated on service. 2016-11-28 11:17:18 -08:00
stack_deploy.md Add a short flag for docker stack deploy 2016-11-28 11:22:59 -08:00
stack_ls.md Add aliases and options to docker stack ls docs 2016-11-28 11:27:39 -08:00
stack_ps.md Move docker stack docs out of experimental 2016-11-23 12:24:37 -08:00
stack_rm.md Move docker stack docs out of experimental 2016-11-23 12:24:37 -08:00
stack_services.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
start.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
stats.md Update stats cli reference documentation 2016-11-16 11:11:52 -08:00
stop.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
swarm_init.md fix more according to the actual output of 'docker swarm init --help' 2016-11-28 11:28:57 -08:00
swarm_join.md Fix some syntax error 2016-11-28 11:23:28 -08:00
swarm_join_token.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
swarm_leave.md add short flag for force 2016-11-09 14:40:47 +08:00
swarm_unlock.md Document autolock/unlock/unlock-key 2016-11-09 16:12:11 -08:00
swarm_unlock_key.md Document autolock/unlock/unlock-key 2016-11-09 16:12:11 -08:00
swarm_update.md cli: Change autolock flag description 2016-11-10 12:05:19 -08:00
system_df.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
system_prune.md Add zsh completion for new prune commands 2016-11-10 20:51:44 +01:00
tag.md Change the docker-tag usage text to be clearer 2016-11-18 13:41:48 -08:00
top.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
unpause.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
update.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
version.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
volume_create.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
volume_inspect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
volume_ls.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
volume_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
volume_rm.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00
wait.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2016-11-03 15:48:30 -07:00