浏览代码

Document "name" query parameter for "POST /containers/create" in Remote API v1.8

Manuel Woelker 11 年之前
父节点
当前提交
721bb410f6
共有 2 个文件被更改,包括 2 次插入0 次删除
  1. 1 0
      AUTHORS
  2. 1 0
      docs/sources/api/docker_remote_api_v1.8.rst

+ 1 - 0
AUTHORS

@@ -115,6 +115,7 @@ Kyle Conroy <kyle.j.conroy@gmail.com>
 Laurie Voss <github@seldo.com>
 Louis Opter <kalessin@kalessin.fr>
 Manuel Meurer <manuel@krautcomputing.com>
+Manuel Woelker <docker@manuel.woelker.org>
 Marco Hennings <marco.hennings@freiheit.com>
 Marcus Farkas <toothlessgear@finitebox.com>
 Marcus Ramberg <marcus@nordaaker.com>

+ 1 - 0
docs/sources/api/docker_remote_api_v1.8.rst

@@ -151,6 +151,7 @@ Create a container
 	   }
 	
 	:jsonparam config: the container's configuration
+	:query name: Assign the specified name to the container. Must match ``/?[a-zA-Z0-9_-]+``.
 	:statuscode 201: no error
 	:statuscode 404: no such container
 	:statuscode 406: impossible to attach (container not running)