Sfoglia il codice sorgente

Merge pull request #1880 from getvictor/patch-api

Fixed LxcConf example in Remote API v1.4 and v1.5
Andy Rothfusz 12 anni fa
parent
commit
894eff64b4

+ 1 - 1
docs/sources/api/docker_remote_api_v1.4.rst

@@ -359,7 +359,7 @@ Start a container
 
 
            {
            {
                 "Binds":["/tmp:/tmp"],
                 "Binds":["/tmp:/tmp"],
-                "LxcConf":{"lxc.utsname":"docker"}
+                "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}]
            }
            }
 
 
         **Example response**:
         **Example response**:

+ 1 - 1
docs/sources/api/docker_remote_api_v1.5.rst

@@ -358,7 +358,7 @@ Start a container
 
 
            {
            {
                 "Binds":["/tmp:/tmp"],
                 "Binds":["/tmp:/tmp"],
-                "LxcConf":{"lxc.utsname":"docker"}
+                "LxcConf":[{"Key":"lxc.utsname","Value":"docker"}]
            }
            }
 
 
         **Example response**:
         **Example response**: