2016-10-14 18:30:36 -04:00
---
2016-11-15 14:45:20 -05:00
title: "Engine API version history"
2016-11-21 10:30:57 -05:00
description: "Documentation of changes that have been made to Engine API."
2016-11-03 18:48:30 -04:00
keywords: "API, Docker, rcli, REST, documentation"
2016-10-14 18:30:36 -04:00
---
2014-04-15 20:53:12 -04:00
2016-10-19 13:25:45 -04:00
<!-- This file is maintained within the docker/docker Github
repository at https://github.com/docker/docker/. Make all
pull requests against that repo. If you see this file in
another repository, consider it read-only there, as it will
periodically be overwritten by the definitive file. Pull
requests which include edits to this file in other repositories
will be rejected.
-->
2017-02-08 19:13:02 -05:00
## v1.27 API changes
2016-11-11 14:51:26 -05:00
2017-02-08 19:13:02 -05:00
[Docker Engine API v1.27 ](https://docs.docker.com/engine/api/v1.27/ ) documentation
2016-11-11 14:51:26 -05:00
2017-02-08 19:13:02 -05:00
* `GET /containers/(id or name)/attach/ws` now returns WebSocket in binary frame format for API version >= v1.27, and returns WebSocket in text frame format for API version< v1.27 , for the purpose of backward-compatibility .
2017-02-02 08:48:53 -05:00
* `GET /networks` is optimised only to return list of all networks and network specific information. List of all containers attached to a specific network is removed from this API and is only available using the network specific `GET /networks/{network-id}.
2017-02-01 22:05:54 -05:00
* `GET /containers/json` now supports `publish` and `expose` filters to filter containers that expose or publish certain ports.
2017-02-17 22:17:49 -05:00
* `POST /services/create` and `POST /services/(id or name)/update` now accept the `ReadOnly` parameter, which mounts the container's root filesystem as read only.
2017-01-13 10:01:58 -05:00
* `POST /build` now accepts `extrahosts` parameter to specify a host to ip mapping to use during the build.
2017-01-25 22:07:27 -05:00
2017-02-08 19:13:02 -05:00
## v1.26 API changes
[Docker Engine API v1.26 ](https://docs.docker.com/engine/api/v1.26/ ) documentation
* `POST /plugins/(plugin name)/upgrade` upgrade a plugin.
2016-11-21 10:30:57 -05:00
## v1.25 API changes
2016-07-27 20:11:34 -04:00
2017-02-08 19:13:02 -05:00
[Docker Engine API v1.25 ](https://docs.docker.com/engine/api/v1.25/ ) documentation
2016-07-27 20:11:34 -04:00
2016-10-27 12:59:59 -04:00
* The API version is now required in all API calls. Instead of just requesting, for example, the URL `/containers/json` , you must now request `/v1.25/containers/json` .
2016-11-02 13:04:39 -04:00
* `GET /version` now returns `MinAPIVersion` .
2016-03-06 07:29:23 -05:00
* `POST /build` accepts `networkmode` parameter to specify network used during build.
2016-09-28 18:02:28 -04:00
* `GET /images/(name)/json` now returns `OsVersion` if populated
2016-09-07 18:10:00 -04:00
* `GET /info` now returns `Isolation` .
2016-08-08 12:47:12 -04:00
* `POST /containers/create` now takes `AutoRemove` in HostConfig, to enable auto-removal of the container on daemon side when the container's process exits.
2016-08-15 07:33:56 -04:00
* `GET /containers/json` and `GET /containers/(id or name)/json` now return `"removing"` as a value for the `State.Status` field if the container is being removed. Previously, "exited" was returned as status.
* `GET /containers/json` now accepts `removing` as a valid value for the `status` filter.
2016-11-09 19:59:01 -05:00
* `GET /containers/json` now supports filtering containers by `health` status.
2016-06-10 10:40:09 -04:00
* `DELETE /volumes/(name)` now accepts a `force` query parameter to force removal of volumes that were already removed out of band by the volume driver plugin.
2016-08-25 11:03:18 -04:00
* `POST /containers/create/` and `POST /containers/(name)/update` now validates restart policies.
2016-08-25 13:06:05 -04:00
* `POST /containers/create` now validates IPAMConfig in NetworkingConfig, and returns error for invalid IPv4 and IPv6 addresses (`--ip` and `--ip6` in `docker create/run` ).
2016-09-22 16:14:15 -04:00
* `POST /containers/create` now takes a `Mounts` field in `HostConfig` which replaces `Binds` , `Volumes` , and `Tmpfs` . *note* : `Binds` , `Volumes` , and `Tmpfs` are still available and can be combined with `Mounts` .
2016-09-21 20:42:53 -04:00
* `POST /build` now performs a preliminary validation of the `Dockerfile` before starting the build, and returns an error if the syntax is incorrect. Note that this change is _unversioned_ and applied to all API versions.
2016-09-22 17:38:00 -04:00
* `POST /build` accepts `cachefrom` parameter to specify images used for build cache.
2016-07-14 09:07:00 -04:00
* `GET /networks/` endpoint now correctly returns a list of *all* networks,
instead of the default network if a trailing slash is provided, but no `name`
or `id` .
2016-08-27 09:39:34 -04:00
* `DELETE /containers/(name)` endpoint now returns an error of `removal of container name is already in progress` with status code of 400, when container name is in a state of removal in progress.
2016-09-28 06:45:30 -04:00
* `GET /containers/json` now supports a `is-task` filter to filter
containers that are tasks (part of a service in swarm mode).
2016-05-26 16:34:48 -04:00
* `POST /containers/create` now takes `StopTimeout` field.
2016-09-02 17:12:05 -04:00
* `POST /services/create` and `POST /services/(id or name)/update` now accept `Monitor` and `MaxFailureRatio` parameters, which control the response to failures during service updates.
2016-10-20 15:04:01 -04:00
* `POST /services/(id or name)/update` now accepts a `ForceUpdate` parameter inside the `TaskTemplate` , which causes the service to be updated even if there are no changes which would ordinarily trigger an update.
2016-11-14 21:08:24 -05:00
* `POST /services/create` and `POST /services/(id or name)/update` now return a `Warnings` array.
2016-10-19 21:10:35 -04:00
* `GET /networks/(name)` now returns field `Created` in response to show network created time.
2016-07-13 13:24:41 -04:00
* `POST /containers/(id or name)/exec` now accepts an `Env` field, which holds a list of environment variables to be set in the context of the command execution.
2016-09-17 15:32:31 -04:00
* `GET /volumes` , `GET /volumes/(name)` , and `POST /volumes/create` now return the `Options` field which holds the driver specific options to use for when creating the volume.
2016-10-17 13:49:36 -04:00
* `GET /exec/(id)/json` now returns `Pid` , which is the system pid for the exec'd process.
2016-10-19 02:44:02 -04:00
* `POST /containers/prune` prunes stopped containers.
* `POST /images/prune` prunes unused images.
* `POST /volumes/prune` prunes unused volumes.
2016-10-18 00:36:52 -04:00
* `POST /networks/prune` prunes unused networks.
2016-10-06 10:09:54 -04:00
* Every API response now includes a `Docker-Experimental` header specifying if experimental features are enabled (value can be `true` or `false` ).
2016-11-02 20:43:32 -04:00
* Every API response now includes a `API-Version` header specifying the default API version of the server.
2016-06-07 15:05:43 -04:00
* The `hostConfig` option now accepts the fields `CpuRealtimePeriod` and `CpuRtRuntime` to allocate cpu runtime to rt tasks when `CONFIG_RT_GROUP_SCHED` is enabled in the kernel.
2016-10-27 18:35:51 -04:00
* The `SecurityOptions` field within the `GET /info` response now includes `userns` if user namespaces are enabled in the daemon.
2016-10-24 19:11:25 -04:00
* `GET /nodes` and `GET /node/(id or name)` now return `Addr` as part of a node's `Status` , which is the address that that node connects to the manager from.
2016-11-01 13:12:29 -04:00
* The `HostConfig` field now includes `NanoCPUs` that represents CPU quota in units of 10< sup > -9</ sup > CPUs.
2016-11-04 12:20:55 -04:00
* `GET /info` now returns more structured information about security options.
2016-11-01 16:02:46 -04:00
* The `HostConfig` field now includes `CpuCount` that represents the number of CPUs available for execution by the container. Windows daemon only.
2016-11-04 14:31:44 -04:00
* `POST /services/create` and `POST /services/(id or name)/update` now accept the `TTY` parameter, which allocate a pseudo-TTY in container.
2016-10-26 23:05:39 -04:00
* `POST /services/create` and `POST /services/(id or name)/update` now accept the `DNSConfig` parameter, which specifies DNS related configurations in resolver configuration file (resolv.conf) through `Nameservers` , `Search` , and `Options` .
2016-11-04 15:27:36 -04:00
* `GET /networks/(id or name)` now includes IP and name of all peers nodes for swarm mode overlay networks.
2016-11-09 20:49:09 -05:00
* `GET /plugins` list plugins.
* `POST /plugins/pull?name=<plugin name>` pulls a plugin.
* `GET /plugins/(plugin name)` inspect a plugin.
* `POST /plugins/(plugin name)/set` configure a plugin.
* `POST /plugins/(plugin name)/enable` enable a plugin.
* `POST /plugins/(plugin name)/disable` disable a plugin.
2016-11-10 14:55:39 -05:00
* `POST /plugins/(plugin name)/push` push a plugin.
2016-11-09 20:49:09 -05:00
* `POST /plugins/create?name=(plugin name)` create a plugin.
* `DELETE /plugins/(plugin name)` delete a plugin.
2016-10-21 06:16:47 -04:00
* `POST /node/(id or name)/update` now accepts both `id` or `name` to identify the node to update.
2016-11-17 09:34:17 -05:00
* `GET /images/json` now support a `reference` filter.
2016-11-29 00:37:16 -05:00
* `GET /secrets` returns information on the secrets.
* `POST /secrets/create` creates a secret.
* `DELETE /secrets/{id}` removes the secret `id` .
* `GET /secrets/{id}` returns information on the secret `id` .
* `POST /secrets/{id}/update` updates the secret `id` .
2016-12-20 12:14:02 -05:00
* `POST /services/(id or name)/update` now accepts service name or prefix of service id as a parameter.
2016-11-22 21:55:27 -05:00
* `POST /containers/create` added 2 built-in log-opts that work on all logging drivers,
`mode` (`blocking`|`non-blocking`), and `max-buffer-size` (e.g. `2m` ) which enables a non-blocking log buffer.
2016-10-18 00:36:52 -04:00
2016-11-21 10:30:57 -05:00
## v1.24 API changes
2016-03-23 12:26:23 -04:00
2016-11-15 14:45:20 -05:00
[Docker Engine API v1.24 ](v1.24.md ) documentation
2016-03-23 12:26:23 -04:00
2016-03-20 00:42:58 -04:00
* `POST /containers/create` now takes `StorageOpt` field.
2016-03-29 00:10:37 -04:00
* `GET /info` now returns `SecurityOptions` field, showing if `apparmor` , `seccomp` , or `selinux` is supported.
2016-07-12 18:45:23 -04:00
* `GET /info` no longer returns the `ExecutionDriver` property. This property was no longer used after integration
with ContainerD in Docker 1.11.
2016-04-25 16:21:11 -04:00
* `GET /networks` now supports filtering by `label` and `driver` .
2016-06-05 20:04:33 -04:00
* `GET /containers/json` now supports filtering containers by `network` name or id.
2016-09-20 07:51:55 -04:00
* `POST /containers/create` now takes `IOMaximumBandwidth` and `IOMaximumIOps` fields. Windows daemon only.
2016-05-07 21:36:10 -04:00
* `POST /containers/create` now returns an HTTP 400 "bad parameter" message
if no command is specified (instead of an HTTP 500 "server error")
2016-05-20 07:41:28 -04:00
* `GET /images/search` now takes a `filters` query parameter.
2016-05-08 19:15:33 -04:00
* `GET /events` now supports a `reload` event that is emitted when the daemon configuration is reloaded.
* `GET /events` now supports filtering by daemon name or ID.
2016-06-03 13:11:52 -04:00
* `GET /events` now supports a `detach` event that is emitted on detaching from container process.
* `GET /events` now supports an `exec_detach ` event that is emitted on detaching from exec process.
2016-05-25 07:49:10 -04:00
* `GET /images/json` now supports filters `since` and `before` .
2016-05-07 06:05:26 -04:00
* `POST /containers/(id or name)/start` no longer accepts a `HostConfig` .
2016-06-01 11:22:59 -04:00
* `POST /images/(name)/tag` no longer has a `force` query parameter.
2016-06-01 16:38:14 -04:00
* `GET /images/search` now supports maximum returned search results `limit` .
2016-06-03 13:38:03 -04:00
* `POST /containers/{name:.*}/copy` is now removed and errors out starting from this API version.
2016-05-21 07:56:04 -04:00
* API errors are now returned as JSON instead of plain text.
2016-06-14 18:14:16 -04:00
* `POST /containers/create` and `POST /containers/(id)/start` allow you to configure kernel parameters (sysctls) for use in the container.
2016-07-06 03:13:59 -04:00
* `POST /containers/<container ID>/exec` and `POST /exec/<exec ID>/start`
2016-06-29 16:30:09 -04:00
no longer expects a "Container" field to be present. This property was not used
and is no longer sent by the docker client.
2016-07-06 03:13:59 -04:00
* `POST /containers/create/` now validates the hostname (should be a valid RFC 1123 hostname).
2016-07-11 19:52:42 -04:00
* `POST /containers/create/` `HostConfig.PidMode` field now accepts `container:<name|id>` ,
to have the container join the PID namespace of an existing container.
2016-03-20 00:42:58 -04:00
2016-11-21 10:30:57 -05:00
## v1.23 API changes
2016-01-15 10:38:33 -05:00
2016-11-15 14:45:20 -05:00
[Docker Engine API v1.23 ](v1.23.md ) documentation
2016-01-15 10:38:33 -05:00
2015-12-29 09:35:37 -05:00
* `GET /containers/json` returns the state of the container, one of `created` , `restarting` , `running` , `paused` , `exited` or `dead` .
2016-02-03 17:46:01 -05:00
* `GET /containers/json` returns the mount points for the container.
2016-01-15 02:31:12 -05:00
* `GET /networks/(name)` now returns an `Internal` field showing whether the network is internal or not.
2016-02-23 11:08:09 -05:00
* `GET /networks/(name)` now returns an `EnableIPv6` field showing whether the network has ipv6 enabled or not.
2016-01-04 10:58:20 -05:00
* `POST /containers/(name)/update` now supports updating container's restart policy.
2016-02-23 11:08:09 -05:00
* `POST /networks/create` now supports enabling ipv6 on the network by setting the `EnableIPv6` field (doing this with a label will no longer work).
2016-02-18 05:10:31 -05:00
* `GET /info` now returns `CgroupDriver` field showing what cgroup driver the daemon is using; `cgroupfs` or `systemd` .
2016-03-02 08:35:17 -05:00
* `GET /info` now returns `KernelMemory` field, showing if "kernel memory limit" is supported.
2015-12-15 14:15:43 -05:00
* `POST /containers/create` now takes `PidsLimit` field, if the kernel is >= 4.3 and the pids cgroup is supported.
* `GET /containers/(id or name)/stats` now returns `pids_stats` , if the kernel is >= 4.3 and the pids cgroup is supported.
2016-02-08 09:23:24 -05:00
* `POST /containers/create` now allows you to override usernamespaces remapping and use privileged options for the container.
2016-03-14 23:31:42 -04:00
* `POST /containers/create` now allows specifying `nocopy` for named volumes, which disables automatic copying from the container path to the volume.
2016-03-04 16:31:40 -05:00
* `POST /auth` now returns an `IdentityToken` when supported by a registry.
2016-02-13 18:44:05 -05:00
* `POST /containers/create` with both `Hostname` and `Domainname` fields specified will result in the container's hostname being set to `Hostname` , rather than `Hostname.Domainname` .
2016-03-21 03:39:48 -04:00
* `GET /volumes` now supports more filters, new added filters are `name` and `driver` .
2016-04-08 12:15:08 -04:00
* `GET /containers/(id or name)/logs` now accepts a `details` query parameter to stream the extra attributes that were provided to the containers `LogOpts` , such as environment variables and labels, with the logs.
2016-08-09 06:03:35 -04:00
* `POST /images/load` now returns progress information as a JSON stream, and has a `quiet` query parameter to suppress progress details.
2016-01-15 10:38:33 -05:00
2016-11-21 10:30:57 -05:00
## v1.22 API changes
2015-10-13 20:12:50 -04:00
2016-11-15 14:45:20 -05:00
[Docker Engine API v1.22 ](v1.22.md ) documentation
2015-10-13 20:12:50 -04:00
2016-01-12 02:33:41 -05:00
* `POST /container/(name)/update` updates the resources of a container.
2015-10-19 12:33:43 -04:00
* `GET /containers/json` supports filter `isolation` on Windows.
Add containers’ networks to /containers/json
After addition of multi-host networking in Docker 1.9, Docker Remote
API is still returning only the network specified during creation
of the container in the “List Containers” (`/containers/json`) endpoint:
...
"HostConfig": {
"NetworkMode": "default"
},
The list of networks containers are attached to is only available at
Get Container (`/containers/<id>/json`) endpoint.
This does not allow applications utilizing multi-host networking to
be built on top of Docker Remote API.
Therefore I added a simple `"NetworkSettings"` section to the
`/containers/json` endpoint. This is not identical to the NetworkSettings
returned in Get Container (`/containers/<id>/json`) endpoint. It only
contains a single field `"Networks"`, which is essentially the same
value shown in inspect output of a container.
This change adds the following section to the `/containers/json`:
"NetworkSettings": {
"Networks": {
"bridge": {
"EndpointID": "2cdc4edb1ded3631c81f57966563e...",
"Gateway": "172.17.0.1",
"IPAddress": "172.17.0.2",
"IPPrefixLen": 16,
"IPv6Gateway": "",
"GlobalIPv6Address": "",
"GlobalIPv6PrefixLen": 0,
"MacAddress": "02:42:ac:11:00:02"
}
}
}
This is of type `SummaryNetworkSettings` type, a minimal version of
`api/types#NetworkSettings`.
Actually all I need is the network name and the IPAddress fields. If folks
find this addition too big, I can create a `SummaryEndpointSettings` field
as well, containing just the IPAddress field.
Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
2015-12-09 23:48:50 -05:00
* `GET /containers/json` now returns the list of networks of containers.
2015-11-25 08:10:18 -05:00
* `GET /info` Now returns `Architecture` and `OSType` fields, providing information
about the host architecture and operating system type that the daemon runs on.
2015-11-20 06:41:25 -05:00
* `GET /networks/(name)` now returns a `Name` field for each container attached to the network.
2015-12-13 11:00:39 -05:00
* `GET /version` now returns the `BuildTime` field in RFC3339Nano format to make it
2015-11-30 09:44:06 -05:00
consistent with other date/time values returned by the API.
2015-11-04 00:03:12 -05:00
* `AuthConfig` now supports a `registrytoken` for token based authentication
2015-12-09 01:26:41 -05:00
* `POST /containers/create` now has a 4M minimum value limit for `HostConfig.KernelMemory`
2015-12-13 11:00:39 -05:00
* Pushes initiated with `POST /images/(name)/push` and pulls initiated with `POST /images/create`
2015-12-09 14:26:07 -05:00
will be cancelled if the HTTP connection making the API request is closed before
the push or pull completes.
2016-01-23 23:36:40 -05:00
* `POST /containers/create` now allows you to set a read/write rate limit for a
2015-07-08 07:06:48 -04:00
device (in bytes per second or IO per second).
2015-11-10 03:57:06 -05:00
* `GET /networks` now supports filtering by `name` , `id` and `type` .
2016-01-07 19:18:34 -05:00
* `POST /containers/create` now allows you to set the static IPv4 and/or IPv6 address for the container.
* `POST /networks/(id)/connect` now allows you to set the static IPv4 and/or IPv6 address for the container.
2016-01-11 19:23:12 -05:00
* `GET /info` now includes the number of containers running, stopped, and paused.
2016-02-23 11:08:09 -05:00
* `POST /networks/create` now supports restricting external access to the network by setting the `Internal` field.
2016-01-12 23:56:36 -05:00
* `POST /networks/(id)/disconnect` now includes a `Force` option to forcefully disconnect a container from network
2016-01-14 00:46:59 -05:00
* `GET /containers/(id)/json` now returns the `NetworkID` of containers.
2016-01-23 23:36:40 -05:00
* `POST /networks/create` Now supports an options field in the IPAM config that provides options
2015-10-23 15:28:39 -04:00
for custom IPAM plugins.
* `GET /networks/{network-id}` Now returns IPAM config options for custom IPAM plugins if any
are available.
2015-12-27 23:56:57 -05:00
* `GET /networks/<network-id>` now returns subnets info for user-defined networks.
2016-01-24 16:30:21 -05:00
* `GET /info` can now return a `SystemStatus` field useful for returning additional information about applications
that are built on top of engine.
2015-10-13 20:12:50 -04:00
2016-11-21 10:30:57 -05:00
## v1.21 API changes
2015-05-27 22:24:59 -04:00
2016-11-15 14:45:20 -05:00
[Docker Engine API v1.21 ](v1.21.md ) documentation
2015-05-15 14:35:41 -04:00
2015-06-12 09:25:32 -04:00
* `GET /volumes` lists volumes from all volume drivers.
2015-10-17 07:49:14 -04:00
* `POST /volumes/create` to create a volume.
2015-06-12 09:25:32 -04:00
* `GET /volumes/(name)` get low-level information about a volume.
2016-01-12 02:33:41 -05:00
* `DELETE /volumes/(name)` remove a volume with the specified name.
2015-10-13 05:26:27 -04:00
* `VolumeDriver` was moved from `config` to `HostConfig` to make the configuration portable.
* `GET /images/(name)/json` now returns information about an image's `RepoTags` and `RepoDigests` .
2015-08-04 16:51:48 -04:00
* The `config` option now accepts the field `StopSignal` , which specifies the signal to use to kill a container.
2015-08-24 05:17:15 -04:00
* `GET /containers/(id)/stats` will return networking information respectively for each interface.
2015-10-13 05:26:27 -04:00
* The `HostConfig` option now includes the `DnsOptions` field to configure the container's DNS options.
2014-11-14 13:59:14 -05:00
* `POST /build` now optionally takes a serialized map of build-time variables.
2015-09-15 15:33:11 -04:00
* `GET /events` now includes a `timenano` field, in addition to the existing `time` field.
2015-09-30 13:12:41 -04:00
* `GET /events` now supports filtering by image and container labels.
2015-10-09 03:02:04 -04:00
* `GET /info` now lists engine version information and return the information of `CPUShares` and `Cpuset` .
2015-10-02 10:48:35 -04:00
* `GET /containers/json` will return `ImageID` of the image used by container.
2015-09-11 22:50:21 -04:00
* `POST /exec/(name)/start` will now return an HTTP 409 when the container is either stopped or paused.
2016-10-16 22:42:35 -04:00
* `POST /containers/create` now takes `KernelMemory` in HostConfig to specify kernel memory limit.
2015-09-25 08:49:02 -04:00
* `GET /containers/(name)/json` now accepts a `size` parameter. Setting this parameter to '1' returns container size information in the `SizeRw` and `SizeRootFs` fields.
2015-11-03 08:03:18 -05:00
* `GET /containers/(name)/json` now returns a `NetworkSettings.Networks` field,
detailing network settings per network. This field deprecates the
`NetworkSettings.Gateway` , `NetworkSettings.IPAddress` ,
`NetworkSettings.IPPrefixLen` , and `NetworkSettings.MacAddress` fields, which
are still returned for backward-compatibility, but will be removed in a future version.
* `GET /exec/(id)/json` now returns a `NetworkSettings.Networks` field,
detailing networksettings per network. This field deprecates the
`NetworkSettings.Gateway` , `NetworkSettings.IPAddress` ,
`NetworkSettings.IPPrefixLen` , and `NetworkSettings.MacAddress` fields, which
are still returned for backward-compatibility, but will be removed in a future version.
2015-10-13 05:26:27 -04:00
* The `HostConfig` option now includes the `OomScoreAdj` field for adjusting the
badness heuristic. This heuristic selects which processes the OOM killer kills
under out-of-memory conditions.
2015-05-15 14:35:41 -04:00
2016-11-21 10:30:57 -05:00
## v1.20 API changes
2015-05-15 14:35:41 -04:00
2016-11-15 14:45:20 -05:00
[Docker Engine API v1.20 ](v1.20.md ) documentation
2015-05-15 14:35:41 -04:00
2015-06-12 09:25:32 -04:00
* `GET /containers/(id)/archive` get an archive of filesystem content from a container.
* `PUT /containers/(id)/archive` upload an archive of content to be extracted to
an existing directory inside a container's filesystem.
* `POST /containers/(id)/copy` is deprecated in favor of the above `archive`
endpoint which can be used to download files and directories from a container.
* The `hostConfig` option now accepts the field `GroupAdd` , which specifies a
list of additional groups that the container process will run as.
2015-05-15 14:35:41 -04:00
2016-11-21 10:30:57 -05:00
## v1.19 API changes
2015-06-17 16:25:53 -04:00
2016-11-15 14:45:20 -05:00
[Docker Engine API v1.19 ](v1.19.md ) documentation
2015-04-01 16:35:38 -04:00
2015-06-12 09:25:32 -04:00
* When the daemon detects a version mismatch with the client, usually when
2015-05-19 12:28:50 -04:00
the client is newer than the daemon, an HTTP 400 is now returned instead
of a 404.
2015-06-12 09:25:32 -04:00
* `GET /containers/(id)/stats` now accepts `stream` bool to get only one set of stats and disconnect.
* `GET /containers/(id)/logs` now accepts a `since` timestamp parameter.
* `GET /info` The fields `Debug` , `IPv4Forwarding` , `MemoryLimit` , and
`SwapLimit` are now returned as boolean instead of as an int. In addition, the
end point now returns the new boolean fields `CpuCfsPeriod` , `CpuCfsQuota` , and
`OomKillDisable` .
2015-10-12 11:17:49 -04:00
* The `hostConfig` option now accepts the fields `CpuPeriod` and `CpuQuota`
* `POST /build` accepts `cpuperiod` and `cpuquota` options
2015-06-12 09:25:32 -04:00
2016-11-21 10:30:57 -05:00
## v1.18 API changes
2015-06-12 09:25:32 -04:00
2016-11-15 14:45:20 -05:00
[Docker Engine API v1.18 ](v1.18.md ) documentation
2015-06-12 09:25:32 -04:00
* `GET /version` now returns `Os` , `Arch` and `KernelVersion` .
* `POST /containers/create` and `POST /containers/(id)/start` allow you to set ulimit settings for use in the container.
* `GET /info` now returns `SystemTime` , `HttpProxy` ,`HttpsProxy` and `NoProxy` .
* `GET /images/json` added a `RepoDigests` field to include image digest information.
* `POST /build` can now set resource constraints for all containers created for the build.
* `CgroupParent` can be passed in the host config to setup container cgroups under a specific cgroup.
* `POST /build` closing the HTTP request cancels the build
* `POST /containers/(id)/exec` includes `Warnings` field to response.