浏览代码

Merge pull request #1880 from getvictor/patch-api

Fixed LxcConf example in Remote API v1.4 and v1.5
Andy Rothfusz 12 年之前
父节点
当前提交
894eff64b4
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      docs/sources/api/docker_remote_api_v1.4.rst
  2. 1 1
      docs/sources/api/docker_remote_api_v1.5.rst

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

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

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

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