Explorar o código

Fix the other API docs to use an array of key/values

as per #7706

Docker-DCO-1.1-Signed-off-by: SvenDowideit <SvenDowideit@home.org.au> (github: SvenDowideit)
SvenDowideit %!s(int64=11) %!d(string=hai) anos
pai
achega
b0edced87f

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

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

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

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

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

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

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

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

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

@@ -391,7 +391,7 @@ Start the container `id`
 
         {
              "Binds":["/tmp:/tmp"],
-             "LxcConf":{"lxc.utsname":"docker"},
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
              "ContainerIDFile": "",
              "Privileged": false,
              "PortBindings": {"22/tcp": [{HostIp:"", HostPort:""}]},

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

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

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

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

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

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