1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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

doc: server API Correct ImagesCreate - platform parameter added in 1.32
This commit is contained in:
Sebastiaan van Stijn 2022-03-18 19:02:30 +01:00 committed by GitHub
commit b7a72435a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 0 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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`.