moby/docs/reference/api
Kai Qiang Wu(Kennan) f812b55692 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>
2016-04-18 00:38:48 +00:00
..
_static retooling for hugo 2015-06-15 13:19:38 -07:00
images Implemet docker update command 2015-12-28 19:19:26 +08:00
docker-io_api.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
docker_io_accounts_api.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
docker_remote_api.md Add network label filter support 2016-04-18 00:38:48 +00:00
docker_remote_api_v1.14.md docs: remove unused "registry" parameter 2016-04-16 02:09:58 +02:00
docker_remote_api_v1.15.md docs: remove unused "registry" parameter 2016-04-16 02:09:58 +02:00
docker_remote_api_v1.16.md docs: remove unused "registry" parameter 2016-04-16 02:09:58 +02:00
docker_remote_api_v1.17.md docs: remove unused "registry" parameter 2016-04-16 02:09:58 +02:00
docker_remote_api_v1.18.md docs: remove unused "registry" parameter 2016-04-16 02:09:58 +02:00
docker_remote_api_v1.19.md docs: remove unused "registry" parameter 2016-04-16 02:09:58 +02:00
docker_remote_api_v1.20.md docs: remove unused "registry" parameter 2016-04-16 02:09:58 +02:00
docker_remote_api_v1.21.md Add support for setting sysctls 2016-04-12 13:37:31 -04:00
docker_remote_api_v1.22.md Update /containers/create remote API docs 2016-04-12 13:41:13 -07:00
docker_remote_api_v1.23.md Move volume filters to API 1.24 docs 2016-04-14 17:12:28 +02:00
docker_remote_api_v1.24.md Add network label filter support 2016-04-18 00:38:48 +00:00
hub_registry_spec.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
index.md Creating Engine specific menu 2016-01-26 15:58:53 -08:00
README.md Fixes found by docs validation tool 2015-11-23 11:19:38 +10:00
remote_api_client_libraries.md Update List of Client Library Projects 2016-02-08 16:16:42 -06:00

This directory holds the authoritative specifications of APIs defined and implemented by Docker. Currently this includes:

  • The remote API by which a docker node can be queried over HTTP
  • The registry API by which a docker node can download and upload images for storage and sharing
  • The index search API by which a docker node can search the public index for images to download
  • The docker.io OAuth and accounts API which 3rd party services can use to access account information