Browse code

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 authored on 2014/08/26 10:35:58
Showing 8 changed files
... ...
@@ -366,7 +366,7 @@ Start the container `id`
366 366
 
367 367
         {
368 368
              "Binds":["/tmp:/tmp"],
369
-             "LxcConf":{"lxc.utsname":"docker"},
369
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
370 370
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
371 371
              "PublishAllPorts":false,
372 372
              "Privileged":false
... ...
@@ -406,7 +406,7 @@ Start the container `id`
406 406
 
407 407
         {
408 408
              "Binds":["/tmp:/tmp"],
409
-             "LxcConf":{"lxc.utsname":"docker"},
409
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
410 410
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
411 411
              "PublishAllPorts":false,
412 412
              "Privileged":false,
... ...
@@ -409,7 +409,7 @@ Start the container `id`
409 409
         {
410 410
              "Binds":["/tmp:/tmp"],
411 411
              "Links":["redis3:redis"],
412
-             "LxcConf":{"lxc.utsname":"docker"},
412
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
413 413
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
414 414
              "PublishAllPorts":false,
415 415
              "Privileged":false,
... ...
@@ -405,7 +405,7 @@ Start the container `id`
405 405
         {
406 406
              "Binds":["/tmp:/tmp"],
407 407
              "Links":["redis3:redis"],
408
-             "LxcConf":{"lxc.utsname":"docker"},
408
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
409 409
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
410 410
              "PublishAllPorts":false,
411 411
              "Privileged":false,
... ...
@@ -391,7 +391,7 @@ Start the container `id`
391 391
 
392 392
         {
393 393
              "Binds":["/tmp:/tmp"],
394
-             "LxcConf":{"lxc.utsname":"docker"},
394
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
395 395
              "ContainerIDFile": "",
396 396
              "Privileged": false,
397 397
              "PortBindings": {"22/tcp": [{HostIp:"", HostPort:""}]},
... ...
@@ -347,7 +347,7 @@ Start the container `id`
347 347
 
348 348
         {
349 349
              "Binds":["/tmp:/tmp"],
350
-             "LxcConf":{"lxc.utsname":"docker"},
350
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
351 351
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
352 352
              "Privileged":false,
353 353
              "PublishAllPorts":false
... ...
@@ -383,7 +383,7 @@ Start the container `id`
383 383
 
384 384
         {
385 385
              "Binds":["/tmp:/tmp"],
386
-             "LxcConf":{"lxc.utsname":"docker"},
386
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
387 387
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
388 388
              "PublishAllPorts":false,
389 389
              "Privileged":false
... ...
@@ -383,7 +383,7 @@ Start the container `id`
383 383
 
384 384
         {
385 385
              "Binds":["/tmp:/tmp"],
386
-             "LxcConf":{"lxc.utsname":"docker"},
386
+             "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}],
387 387
              "PortBindings":{ "22/tcp": [{ "HostPort": "11022" }] },
388 388
              "PublishAllPorts":false,
389 389
              "Privileged":false