DockerCLI/docs/reference/commandline
Kai Qiang Wu(Kennan) 0a8f5574b4 Add network label filter support
This patch did following:

1) Make filter check logic same as `docker ps ` filters

Right now docker container logic work as following:
when same filter used like below:
 -f name=jack -f name=tom
it would get all containers name is jack or tom(it is or logic)

when different filter used like below:

 -f name=jack -f id=7d1
it would get all containers name is jack and id contains 7d1(it is and logic)

It would make sense in many user cases, but it did lack of compliate filter cases,
like "I want to get containers name is jack or id=7d1", it could work around use
(get id=7d1 containers' name and get name=jack containers, and then construct the
final containers, they could be done in user side use shell or rest API)

2) Fix one network filter bug which could include duplicate result
when use -f name=  -f id=, it would get duplicate results

3) Make id filter same as container id filter, which means match any string.
not use prefix match.

It is for consistent match logic

Closes: #21417

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
2017-06-02 00:07:36 +00:00
..
attach.md Fix mention of at sign in docs 2017-06-02 00:07:28 +00:00
build.md 1.change validateNoSchema into validateNoScheme 2017-06-02 00:07:35 +00:00
cli.md docs: add $ before HOME 2017-06-02 00:07:31 +00:00
commit.md Fix some flaws in docs 2017-06-02 00:07:29 +00:00
cp.md Adds clarification to behavior of missing directories. 2017-06-02 00:07:31 +00:00
create.md Add support for setting sysctls 2017-06-02 00:07:36 +00:00
daemon.md Fixes #21701 devicemapper docs 2017-06-02 00:07:36 +00:00
diff.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
docker_images.gif retooling for hugo 2017-06-02 00:06:58 +00:00
events.md Fix some flaws in docs 2017-06-02 00:07:29 +00:00
exec.md Implement configurable detach key 2017-06-02 00:07:22 +00:00
export.md Creating Engine specific menu 2017-06-02 00:07:26 +00:00
history.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
images.md Fix the docker image --no-trunk output format 2017-06-02 00:07:35 +00:00
import.md Fix some flaws in docs 2017-06-02 00:07:29 +00:00
index.md Creating Engine specific menu 2017-06-02 00:07:26 +00:00
info.md Add insecure registries to docker info 2017-06-02 00:07:35 +00:00
inspect.md fixed typo 2017-06-02 00:07:25 +00:00
kill.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
load.md add docs for `docker load --quiet` 2017-06-02 00:07:33 +00:00
login.md Add support for identity tokens in client credentials store 2017-06-02 00:07:31 +00:00
logout.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
logs.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
network_connect.md fix common misspell 2017-06-02 00:07:28 +00:00
network_create.md docs for labels on build, networks and volumes 2017-06-02 00:07:33 +00:00
network_disconnect.md Forced endpoint cleanup 2017-06-02 00:07:23 +00:00
network_inspect.md Include all endpoints in network inspect object 2017-06-02 00:07:31 +00:00
network_ls.md Add network label filter support 2017-06-02 00:07:36 +00:00
network_rm.md Fix some flaws in docs 2017-06-02 00:07:29 +00:00
pause.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
port.md Fix the typo in ps 2017-06-02 00:07:25 +00:00
ps.md Add the missed volume filter 2017-06-02 00:07:32 +00:00
pull.md Mention "docker login" in push/pull documentation 2017-06-02 00:07:34 +00:00
push.md Mention "docker login" in push/pull documentation 2017-06-02 00:07:34 +00:00
rename.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
restart.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
rm.md Fix some flaws in docs 2017-06-02 00:07:29 +00:00
rmi.md Correct old virtual size 2017-06-02 00:07:27 +00:00
run.md Add CPU count and maximum resource controls for Windows 2017-06-02 00:07:36 +00:00
save.md Update 'save' command help 2017-06-02 00:07:32 +00:00
search.md Creating Engine specific menu 2017-06-02 00:07:26 +00:00
start.md Implement configurable detach key 2017-06-02 00:07:22 +00:00
stats.md Change HumanSize to BytesSize for memory output in `docker stats`. 2017-06-02 00:07:35 +00:00
stop.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
tag.md Creating Engine specific menu 2017-06-02 00:07:26 +00:00
top.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
unpause.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
update.md Update RestartPolicy of container 2017-06-02 00:07:29 +00:00
version.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00
volume_create.md docs for labels on build, networks and volumes 2017-06-02 00:07:33 +00:00
volume_inspect.md Allow volume drivers to provide a `Status` field 2017-06-02 00:07:36 +00:00
volume_ls.md Add name/driver filter support for volume 2017-06-02 00:07:33 +00:00
volume_rm.md add a section to each volume page 2017-06-02 00:07:29 +00:00
wait.md remove =false from options that default to false in the docs 2017-06-02 00:07:21 +00:00