add daemon labels

Signed-off-by: Victor Vieux <vieux@docker.com>
This commit is contained in:
Victor Vieux
2014-11-20 19:23:58 +00:00
parent 998b591a71
commit 2fe36baa0a
8 changed files with 34 additions and 4 deletions
@@ -50,7 +50,8 @@ You can still call an old version of the API using
**New!**
`info` now returns the number of CPUs available on the machine (`NCPU`),
total memory available (`MemTotal`), a user-friendly name describing the running Docker daemon (`Name`), and a unique ID identifying the daemon (`ID`).
total memory available (`MemTotal`), a user-friendly name describing the running Docker daemon (`Name`), a unique ID identifying the daemon (`ID`), and
a list of daemon labels (`Labels`).
`POST /containers/create`
@@ -1230,7 +1230,8 @@ Display system-wide information
"IndexServerAddress":["https://index.docker.io/v1/"],
"MemoryLimit":true,
"SwapLimit":false,
"IPv4Forwarding":true
"IPv4Forwarding":true,
"Labels":["storage=ssd"]
}
Status Codes: