Sfoglia il codice sorgente

Merge pull request #41060 from grooverdan/dock-api-fix-create-image

doc: server API Correct ImagesCreate - platform parameter added in 1.32
Sebastiaan van Stijn 3 anni fa
parent
commit
b7a72435a6
3 ha cambiato i file con 11 aggiunte e 0 eliminazioni
  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

@@ -6288,6 +6288,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

@@ -6293,6 +6293,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

@@ -278,6 +278,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`.