Selaa lähdekoodia

doc: server API Correct ImagesCreate - platform parameter added in 1.32

closes: docker/docker.github.io#9305

Signed-off-by: Daniel Black <daniel@linux.ibm.com>
Daniel Black 5 vuotta sitten
vanhempi
commit
521ac858e7
3 muutettua tiedostoa jossa 11 lisäystä ja 0 poistoa
  1. 5 0
      docs/api/v1.32.yaml
  2. 5 0
      docs/api/v1.33.yaml
  3. 1 0
      docs/api/version-history.md

+ 5 - 0
docs/api/v1.32.yaml

@@ -6238,6 +6238,11 @@ paths:
           in: "header"
           description: "A base64-encoded auth configuration. [See the authentication section for details.](#section/Authentication)"
           type: "string"
+        - name: "platform"
+          in: "query"
+          description: "Platform in the format os[/arch[/variant]]"
+          type: "string"
+          default: ""
       tags: ["Image"]
   /images/{name}/json:
     get:

+ 5 - 0
docs/api/v1.33.yaml

@@ -6243,6 +6243,11 @@ paths:
           in: "header"
           description: "A base64-encoded auth configuration. [See the authentication section for details.](#section/Authentication)"
           type: "string"
+        - name: "platform"
+          in: "query"
+          description: "Platform in the format os[/arch[/variant]]"
+          type: "string"
+          default: ""
       tags: ["Image"]
   /images/{name}/json:
     get:

+ 1 - 0
docs/api/version-history.md

@@ -231,6 +231,7 @@ keywords: "API, Docker, rcli, REST, documentation"
 
 [Docker Engine API v1.32](https://docs.docker.com/engine/api/v1.32/) documentation
 
+* `POST /images/create` now accepts a `platform` parameter in the form of `os[/arch[/variant]]`.
 * `POST /containers/create` now accepts additional values for the
   `HostConfig.IpcMode` property. New values are `private`, `shareable`,
   and `none`.