Преглед изворни кода

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 - 0
docs/reference/api/docker_remote_api_v1.20.md

@@ -1897,6 +1897,8 @@ Query Parameters:
 -   **comment** – commit message
 -   **comment** – commit message
 -   **author** – author (e.g., "John Hannibal Smith
 -   **author** – author (e.g., "John Hannibal Smith
     <[hannibal@a-team.com](mailto:hannibal%40a-team.com)>")
     <[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:
 Status Codes:
 
 

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

@@ -1997,6 +1997,8 @@ Query Parameters:
 -   **comment** – commit message
 -   **comment** – commit message
 -   **author** – author (e.g., "John Hannibal Smith
 -   **author** – author (e.g., "John Hannibal Smith
     <[hannibal@a-team.com](mailto:hannibal%40a-team.com)>")
     <[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:
 Status Codes: