moby/docs/sources/reference/api
Qiang Huang 837eec064d move resources from Config to HostConfig
Cgroup resources are host dependent, they should be in hostConfig.

For backward compatibility, we just copy it to hostConfig, and leave it in
Config for now, so there is no regressions, but the right way to use this
throught json is to put it in HostConfig, like:
  {
      "Hostname": "",
      ...
      "HostConfig": {
	  "CpuShares": 512,
          "Memory": 314572800,
          ...
      }
  }

As we will add CpusetMems, CpusetCpus is definitely a better name, but some
users are already using Cpuset in their http APIs, we also make it compatible.

The main idea is keep using Cpuset in Config Struct, and make it has the same
value as CpusetCpus, but not always, some scenarios:
 - Users use --cpuset in docker command, it can setup cpuset.cpus and can
   get Cpuset field from docker inspect or other http API which will get
   config info.
 - Users use --cpuset-cpus in docker command, ditto.
 - Users use Cpuset field in their http APIs, ditto.
 - Users use CpusetCpus field in their http APIs, they won't get Cpuset field
   in Config info, because by then, they should already know what happens
   to Cpuset.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-03-11 09:31:18 +08:00
..
_static docs: shrink images 2014-09-15 14:46:29 +03:00
docker-io_api.md Move registry search API docs into the registry API document. 2014-10-14 11:53:10 +10:00
docker_io_accounts_api.md Reformat the API docs so I can read them 2014-09-09 16:17:38 +10:00
docker_remote_api.md docker info display http/https_proxy setting 2015-03-06 09:02:21 +08:00
docker_remote_api_v1.0.md Adds docs for /containers/(id)/attach/ws api endpoint 2015-01-21 18:37:08 -08:00
docker_remote_api_v1.1.md Adds docs for /containers/(id)/attach/ws api endpoint 2015-01-21 18:37:08 -08:00
docker_remote_api_v1.2.md Adds docs for /containers/(id)/attach/ws api endpoint 2015-01-21 18:37:08 -08:00
docker_remote_api_v1.3.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.4.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.5.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.6.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.7.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.8.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.9.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.10.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.11.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.12.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.13.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.14.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.15.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.16.md Documents build API "remote" parameter 2015-02-04 17:07:56 +01:00
docker_remote_api_v1.17.md Rebase & update api doc v1.18 instead 2015-03-03 12:32:17 +08:00
docker_remote_api_v1.18.md move resources from Config to HostConfig 2015-03-11 09:31:18 +08:00
hub_registry_spec.md Fix Docker Hub tags list specification 2014-11-07 17:16:42 +01:00
README.md updated documentation for mentioning images vs containers 2014-05-29 11:20:41 +10:00
registry_api.md updated docs with information regarding search pagination 2015-01-02 16:21:51 -08:00
registry_api_client_libraries.md Add reference to docker-reg-client 2015-02-26 13:03:39 -08:00
remote_api_client_libraries.md Add c++ client library 2015-01-08 16:24:52 +01: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