Merge pull request #43301 from thaJeztah/remove_deprecated_RootFS_BaseLayer
api: remove deprecated RootFS.BaseLayer from type and docs
This commit is contained in:
commit
1d7e4111d6
20 changed files with 6 additions and 47 deletions
|
@ -1713,10 +1713,6 @@ definitions:
|
|||
example:
|
||||
- "sha256:1834950e52ce4d5a88a1bbd131c537f4d0e56d10ff0dd69e66be3b7dfa9df7e6"
|
||||
- "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
example: ""
|
||||
Metadata:
|
||||
description: |
|
||||
Additional metadata of the image in the local cache. This information
|
||||
|
|
|
@ -19,9 +19,8 @@ import (
|
|||
|
||||
// RootFS returns Image's RootFS description including the layer IDs.
|
||||
type RootFS struct {
|
||||
Type string
|
||||
Layers []string `json:",omitempty"`
|
||||
BaseLayer string `json:",omitempty"`
|
||||
Type string `json:",omitempty"`
|
||||
Layers []string `json:",omitempty"`
|
||||
}
|
||||
|
||||
// ImageInspect contains response of Engine API:
|
||||
|
|
|
@ -889,8 +889,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
|
||||
ImageSummary:
|
||||
type: "object"
|
||||
|
|
|
@ -890,8 +890,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
|
||||
ImageSummary:
|
||||
type: "object"
|
||||
|
|
|
@ -896,8 +896,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
|
||||
ImageSummary:
|
||||
type: "object"
|
||||
|
|
|
@ -935,8 +935,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
|
||||
ImageSummary:
|
||||
type: "object"
|
||||
|
|
|
@ -942,8 +942,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
|
||||
ImageSummary:
|
||||
type: "object"
|
||||
|
|
|
@ -945,8 +945,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
|
||||
ImageSummary:
|
||||
type: "object"
|
||||
|
|
|
@ -946,8 +946,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
Metadata:
|
||||
type: "object"
|
||||
properties:
|
||||
|
|
|
@ -1204,8 +1204,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
Metadata:
|
||||
type: "object"
|
||||
properties:
|
||||
|
|
|
@ -1209,8 +1209,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
Metadata:
|
||||
type: "object"
|
||||
properties:
|
||||
|
|
|
@ -1220,8 +1220,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
Metadata:
|
||||
type: "object"
|
||||
properties:
|
||||
|
|
|
@ -1196,8 +1196,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
Metadata:
|
||||
type: "object"
|
||||
properties:
|
||||
|
|
|
@ -1196,8 +1196,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
Metadata:
|
||||
type: "object"
|
||||
properties:
|
||||
|
|
|
@ -1199,8 +1199,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
Metadata:
|
||||
type: "object"
|
||||
properties:
|
||||
|
|
|
@ -1210,8 +1210,6 @@ definitions:
|
|||
type: "array"
|
||||
items:
|
||||
type: "string"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
Metadata:
|
||||
type: "object"
|
||||
properties:
|
||||
|
|
|
@ -1620,10 +1620,6 @@ definitions:
|
|||
example:
|
||||
- "sha256:1834950e52ce4d5a88a1bbd131c537f4d0e56d10ff0dd69e66be3b7dfa9df7e6"
|
||||
- "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
example: ""
|
||||
Metadata:
|
||||
description: |
|
||||
Additional metadata of the image in the local cache. This information
|
||||
|
|
|
@ -1681,10 +1681,6 @@ definitions:
|
|||
example:
|
||||
- "sha256:1834950e52ce4d5a88a1bbd131c537f4d0e56d10ff0dd69e66be3b7dfa9df7e6"
|
||||
- "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
example: ""
|
||||
Metadata:
|
||||
description: |
|
||||
Additional metadata of the image in the local cache. This information
|
||||
|
|
|
@ -1713,10 +1713,6 @@ definitions:
|
|||
example:
|
||||
- "sha256:1834950e52ce4d5a88a1bbd131c537f4d0e56d10ff0dd69e66be3b7dfa9df7e6"
|
||||
- "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
|
||||
BaseLayer:
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
example: ""
|
||||
Metadata:
|
||||
description: |
|
||||
Additional metadata of the image in the local cache. This information
|
||||
|
|
|
@ -384,6 +384,10 @@ keywords: "API, Docker, rcli, REST, documentation"
|
|||
* `GET /version` now returns `MinAPIVersion`.
|
||||
* `POST /build` accepts `networkmode` parameter to specify network used during build.
|
||||
* `GET /images/(name)/json` now returns `OsVersion` if populated
|
||||
* `GET /images/(name)/json` no longer contains the `RootFS.BaseLayer` field. This
|
||||
field was used for Windows images that used a base-image that was pre-installed
|
||||
on the host (`RootFS.Type` `layers+base`), which is no longer supported, and
|
||||
the `RootFS.BaseLayer` field has been removed.
|
||||
* `GET /info` now returns `Isolation`.
|
||||
* `POST /containers/create` now takes `AutoRemove` in HostConfig, to enable auto-removal of the container on daemon side when the container's process exits.
|
||||
* `GET /containers/json` and `GET /containers/(id or name)/json` now return `"removing"` as a value for the `State.Status` field if the container is being removed. Previously, "exited" was returned as status.
|
||||
|
|
Loading…
Reference in a new issue