浏览代码

Merge pull request #16604 from mountkin/add-missing-commit-parameters

add missing parameters of the commit API to the docs
Sebastiaan van Stijn 9 年之前
父节点
当前提交
dbc20693f7
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 2 0
      docs/reference/api/docker_remote_api_v1.20.md
  2. 2 0
      docs/reference/api/docker_remote_api_v1.21.md

+ 2 - 0
docs/reference/api/docker_remote_api_v1.20.md

@@ -1897,6 +1897,8 @@ Query Parameters:
 -   **comment** – commit message
 -   **author** – author (e.g., "John Hannibal Smith
     <[hannibal@a-team.com](mailto:hannibal%40a-team.com)>")
+-   **pause** – 1/True/true or 0/False/false, whether to pause the container before committing
+-   **changes** – Dockerfile instructions to apply while committing
 
 Status Codes:
 

+ 2 - 0
docs/reference/api/docker_remote_api_v1.21.md

@@ -1997,6 +1997,8 @@ Query Parameters:
 -   **comment** – commit message
 -   **author** – author (e.g., "John Hannibal Smith
     <[hannibal@a-team.com](mailto:hannibal%40a-team.com)>")
+-   **pause** – 1/True/true or 0/False/false, whether to pause the container before committing
+-   **changes** – Dockerfile instructions to apply while committing
 
 Status Codes: