Просмотр исходного кода

Updating LxcConf to match Docker command line

I've changed LxcConf on a previous API document. Not sure why it keeps getting changed back. I'm seeing Docker 1.2.0 command-line calls are still using the array of key/values.

Docker-DCO-1.1-Signed-off-by: getvictor <victor@victoreda.com> (github: SvenDowideit)
getvictor 11 лет назад
Родитель
Сommit
216ab880f9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/sources/reference/api/docker_remote_api_v1.14.md

+ 1 - 1
docs/sources/reference/api/docker_remote_api_v1.14.md

@@ -407,7 +407,7 @@ Start the container `id`
         {
         {
              "Binds":["/tmp:/tmp"],
              "Binds":["/tmp:/tmp"],
              "Links":["redis3:redis"],
              "Links":["redis3:redis"],
-             "LxcConf":{"lxc.utsname":"docker"},
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
              "PublishAllPorts":false,
              "PublishAllPorts":false,
              "Privileged":false,
              "Privileged":false,