DockerCLI/docs/reference
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
..
commandline Add network label filter support 2017-06-02 00:07:36 +00:00
builder.md Improve build cache miss doc for `ARG` and `RUN` 2017-06-02 00:07:36 +00:00
glossary.md Update links to Docker Hub 2017-06-02 00:07:31 +00:00
index.md Creating Engine specific menu 2017-06-02 00:07:26 +00:00
run.md Fix deprecated format for security-opt 2017-06-02 00:07:35 +00:00