Browse Source

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 11 năm trước cách đây
mục cha
commit
b0edced87f

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

@@ -366,7 +366,7 @@ Start the container `id`
 
 
         {
         {
              "Binds":["/tmp:/tmp"],
              "Binds":["/tmp:/tmp"],
-             "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

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

@@ -406,7 +406,7 @@ Start the container `id`
 
 
         {
         {
              "Binds":["/tmp:/tmp"],
              "Binds":["/tmp:/tmp"],
-             "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,

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

@@ -409,7 +409,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,

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

@@ -405,7 +405,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,

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

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

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

@@ -383,7 +383,7 @@ Start the container `id`
 
 
         {
         {
              "Binds":["/tmp:/tmp"],
              "Binds":["/tmp:/tmp"],
-             "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