In general, the Docker API client should avoid exposing HTTP details in
client, as it elides type safety and makes discovery of inputs to a
method more challenging. These have been removed and replaced with an
options type.
We may want to consider arbitrary header transmission through context,
but that is a bigger change.
Proper build tags have been added to experimental features that were
failing during non-tagged build.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
This fix is related to docker:
https://github.com/docker/docker/pull/23107https://github.com/docker/docker/issues/23055
Currently docker search result caps at 25 and there is no way to allow getting more results (if exist).
This fix adds the flag --limit so that it is possible to return more results from the docker search.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
Currently docker start API always contains a trailing `checkpoint=` even
if value is empty, this is unnecessary, we can set it only when it's not
empty.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
This fix is related to docker:
https://github.com/docker/docker/pull/23090
The -f flag on docker tag has been deprecated in docker 1.10 and is
expected to be removed in docker 1.12.
This fix updated the associated files in engine-api.
Related tests have also been updated.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
`Details` instructs the backend you want the extra logged details when reading
logs, like labels, env, etc.
Signed-off-by: Brian Goff <cpuguy83@gmail.com>
At some point the format of the reference should be daemon specific, and
thus should not be *imposed* via the repository:tag current
arguments. The engine-api library should encorage the use of reference.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Change method signatures to make required arguments actually
required (using a paramater), all accross the API.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Implement configurable detach keys (for `attach`, exec`, `run` and
`start`) using the client-side configuration
- Adds a `--detach-keys` flag to `attach`, `exec`, `run` and `start`
commands.
- Adds a new configuration field (in `~/.docker/config.json`) to
configure the default escape keys for docker client.
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Add filter support for `network ls` to hide predefined network,
then user can use "docker network rm `docker network ls -f type=custom`"
to delete a bundle of userdefined networks.
Signed-off-by: Zhang Wei <zhangwei555@huawei.com>
- Make the API client library completely standalone.
- Move windows partition isolation detection to the client, so the
driver doesn't use external types.
Signed-off-by: David Calavera <david.calavera@gmail.com>
These filters are only use to interchange data between clients and daemons.
They don't belong to the parsers package.
Signed-off-by: David Calavera <david.calavera@gmail.com>