Merge pull request #20952 from laurazard/add-27.3.0-release-notes

engine: 27.3.0 release
This commit is contained in:
David Karlsson 2024-09-20 12:05:43 +02:00 committed by GitHub
commit 88b57d85d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
29 changed files with 482 additions and 130 deletions

View File

@ -57,6 +57,7 @@ Options:
--exec-opt list Runtime execution options --exec-opt list Runtime execution options
--exec-root string Root directory for execution state files (default "/var/run/docker") --exec-root string Root directory for execution state files (default "/var/run/docker")
--experimental Enable experimental features --experimental Enable experimental features
--feature map Enable feature in the daemon
--fixed-cidr string IPv4 subnet for fixed IPs --fixed-cidr string IPv4 subnet for fixed IPs
--fixed-cidr-v6 string IPv6 subnet for fixed IPs --fixed-cidr-v6 string IPv6 subnet for fixed IPs
-G, --group string Group for the unix socket (default "docker") -G, --group string Group for the unix socket (default "docker")
@ -79,6 +80,7 @@ Options:
--label list Set key=value labels to the daemon --label list Set key=value labels to the daemon
--live-restore Enable live restore of docker when containers are still running --live-restore Enable live restore of docker when containers are still running
--log-driver string Default driver for container logs (default "json-file") --log-driver string Default driver for container logs (default "json-file")
--log-format string Set the logging format ("text"|"json") (default "text")
-l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info") -l, --log-level string Set the logging level ("debug"|"info"|"warn"|"error"|"fatal") (default "info")
--log-opt map Default log driver options for containers (default map[]) --log-opt map Default log driver options for containers (default map[])
--max-concurrent-downloads int Set the max concurrent downloads (default 3) --max-concurrent-downloads int Set the max concurrent downloads (default 3)
@ -890,6 +892,33 @@ Alternatively, you can set custom locations for CDI specifications using the
When CDI is enabled for a daemon, you can view the configured CDI specification When CDI is enabled for a daemon, you can view the configured CDI specification
directories using the `docker info` command. directories using the `docker info` command.
#### <a name="log-format"></a> Daemon logging format
The `--log-format` option or "log-format" option in the [daemon configuration file](#daemon-configuration-file)
lets you set the format for logs produced by the daemon. The logging format should
only be configured either through the `--log-format` command line option or
through the "log-format" field in the configuration file; using both
the command-line option and the "log-format" field in the configuration
file produces an error. If this option is not set, the default is "text".
The following example configures the daemon through the `--log-format` command
line option to use `json` formatted logs;
```console
$ dockerd --log-format=json
# ...
{"level":"info","msg":"API listen on /var/run/docker.sock","time":"2024-09-16T11:06:08.558145428Z"}
```
The following example shows a `daemon.json` configuration file with the
"log-format" set;
```json
{
"log-format": "json"
}
```
### Miscellaneous options ### Miscellaneous options
IP masquerading uses address translation to allow containers without a public IP masquerading uses address translation to allow containers without a public
@ -971,6 +1000,36 @@ Example of usage:
} }
``` ```
### <a name="feature"></a> Enable feature in the daemon (--feature)
The `--feature` option lets you enable or disable a feature in the daemon.
This option corresponds with the "features" field in the [daemon.json configuration file](#daemon-configuration-file).
Features should only be configured either through the `--feature` command line
option or through the "features" field in the configuration file; using both
the command-line option and the "features" field in the configuration
file produces an error. The feature option can be specified multiple times
to configure multiple features. The `--feature` option accepts a name and
optional boolean value. When omitting the value, the default is `true`.
The following example runs the daemon with the `cdi` and `containerd-snapshotter`
features enabled. The `cdi` option is provided with a value;
```console
$ dockerd --feature cdi=true --feature containerd-snapshotter
```
The following example is the equivalent using the `daemon.json` configuration
file;
```json
{
"features": {
"cdi": true,
"containerd-snapshotter": true
}
}
```
### Daemon configuration file ### Daemon configuration file
The `--config-file` option allows you to set any configuration option The `--config-file` option allows you to set any configuration option
@ -1065,7 +1124,10 @@ The following is a full example of the allowed configuration options on Linux:
"exec-opts": [], "exec-opts": [],
"exec-root": "", "exec-root": "",
"experimental": false, "experimental": false,
"features": {}, "features": {
"cdi": true,
"containerd-snapshotter": true
},
"fixed-cidr": "", "fixed-cidr": "",
"fixed-cidr-v6": "", "fixed-cidr-v6": "",
"group": "", "group": "",
@ -1089,6 +1151,7 @@ The following is a full example of the allowed configuration options on Linux:
"labels": [], "labels": [],
"live-restore": true, "live-restore": true,
"log-driver": "json-file", "log-driver": "json-file",
"log-format": "text",
"log-level": "", "log-level": "",
"log-opts": { "log-opts": {
"cache-disabled": "false", "cache-disabled": "false",
@ -1183,6 +1246,7 @@ The following is a full example of the allowed configuration options on Windows:
"insecure-registries": [], "insecure-registries": [],
"labels": [], "labels": [],
"log-driver": "", "log-driver": "",
"log-format": "text",
"log-level": "", "log-level": "",
"max-concurrent-downloads": 3, "max-concurrent-downloads": 3,
"max-concurrent-uploads": 5, "max-concurrent-uploads": 5,

View File

@ -78,7 +78,7 @@ info:
# The tags on paths define the menu sections in the ReDoc documentation, so # The tags on paths define the menu sections in the ReDoc documentation, so
# the usage of tags must make sense for that: # the usage of tags must make sense for that:
# - They should be singular, not plural. # - They should be singular, not plural.
# - There should not be too many tags, or the menu becomes unwieldly. For # - There should not be too many tags, or the menu becomes unwieldy. For
# example, it is preferable to add a path to the "System" tag instead of # example, it is preferable to add a path to the "System" tag instead of
# creating a tag with a single path in it. # creating a tag with a single path in it.
# - The order of tags in this list defines the order in the menu. # - The order of tags in this list defines the order in the menu.
@ -4682,12 +4682,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -78,7 +78,7 @@ info:
# The tags on paths define the menu sections in the ReDoc documentation, so # The tags on paths define the menu sections in the ReDoc documentation, so
# the usage of tags must make sense for that: # the usage of tags must make sense for that:
# - They should be singular, not plural. # - They should be singular, not plural.
# - There should not be too many tags, or the menu becomes unwieldly. For # - There should not be too many tags, or the menu becomes unwieldy. For
# example, it is preferable to add a path to the "System" tag instead of # example, it is preferable to add a path to the "System" tag instead of
# creating a tag with a single path in it. # creating a tag with a single path in it.
# - The order of tags in this list defines the order in the menu. # - The order of tags in this list defines the order in the menu.
@ -4690,12 +4690,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -78,7 +78,7 @@ info:
# The tags on paths define the menu sections in the ReDoc documentation, so # The tags on paths define the menu sections in the ReDoc documentation, so
# the usage of tags must make sense for that: # the usage of tags must make sense for that:
# - They should be singular, not plural. # - They should be singular, not plural.
# - There should not be too many tags, or the menu becomes unwieldly. For # - There should not be too many tags, or the menu becomes unwieldy. For
# example, it is preferable to add a path to the "System" tag instead of # example, it is preferable to add a path to the "System" tag instead of
# creating a tag with a single path in it. # creating a tag with a single path in it.
# - The order of tags in this list defines the order in the menu. # - The order of tags in this list defines the order in the menu.
@ -1588,7 +1588,7 @@ definitions:
may not be applied if the version number has changed from the last read. In other words, may not be applied if the version number has changed from the last read. In other words,
if two update requests specify the same base version, only one of the requests can succeed. if two update requests specify the same base version, only one of the requests can succeed.
As a result, two separate update requests that happen at the same time will not As a result, two separate update requests that happen at the same time will not
unintentially overwrite each other. unintentionally overwrite each other.
type: "object" type: "object"
properties: properties:
Index: Index:
@ -4760,12 +4760,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -1626,7 +1626,7 @@ definitions:
may not be applied if the version number has changed from the last read. In other words, may not be applied if the version number has changed from the last read. In other words,
if two update requests specify the same base version, only one of the requests can succeed. if two update requests specify the same base version, only one of the requests can succeed.
As a result, two separate update requests that happen at the same time will not As a result, two separate update requests that happen at the same time will not
unintentially overwrite each other. unintentionally overwrite each other.
type: "object" type: "object"
properties: properties:
Index: Index:
@ -4868,12 +4868,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -1647,7 +1647,7 @@ definitions:
may not be applied if the version number has changed from the last read. In other words, may not be applied if the version number has changed from the last read. In other words,
if two update requests specify the same base version, only one of the requests can succeed. if two update requests specify the same base version, only one of the requests can succeed.
As a result, two separate update requests that happen at the same time will not As a result, two separate update requests that happen at the same time will not
unintentially overwrite each other. unintentionally overwrite each other.
type: "object" type: "object"
properties: properties:
Index: Index:
@ -4901,12 +4901,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -1674,7 +1674,7 @@ definitions:
may not be applied if the version number has changed from the last read. In other words, may not be applied if the version number has changed from the last read. In other words,
if two update requests specify the same base version, only one of the requests can succeed. if two update requests specify the same base version, only one of the requests can succeed.
As a result, two separate update requests that happen at the same time will not As a result, two separate update requests that happen at the same time will not
unintentially overwrite each other. unintentionally overwrite each other.
type: "object" type: "object"
properties: properties:
Index: Index:
@ -5143,12 +5143,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -5233,12 +5233,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2395,7 +2395,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6471,12 +6471,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2399,7 +2399,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6475,12 +6475,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2409,7 +2409,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6515,12 +6515,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2406,7 +2406,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6523,12 +6523,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2419,7 +2419,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6551,12 +6551,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2422,7 +2422,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6594,12 +6594,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2440,7 +2440,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6665,12 +6665,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2043,7 +2043,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -3393,7 +3393,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6497,7 +6497,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -7935,12 +7935,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2103,7 +2103,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -3472,7 +3472,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -6803,7 +6803,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -8258,12 +8258,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2134,7 +2134,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -2420,7 +2420,7 @@ definitions:
example: false example: false
Attachable: Attachable:
description: | description: |
Wheter a global / swarm scope network is manually attachable by regular Whether a global / swarm scope network is manually attachable by regular
containers from workers in swarm mode. containers from workers in swarm mode.
type: "boolean" type: "boolean"
default: false default: false
@ -3599,7 +3599,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -7085,7 +7085,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -8547,12 +8547,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2137,7 +2137,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -2428,7 +2428,7 @@ definitions:
example: false example: false
Attachable: Attachable:
description: | description: |
Wheter a global / swarm scope network is manually attachable by regular Whether a global / swarm scope network is manually attachable by regular
containers from workers in swarm mode. containers from workers in swarm mode.
type: "boolean" type: "boolean"
default: false default: false
@ -3618,7 +3618,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -7304,7 +7304,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -8812,12 +8812,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2170,7 +2170,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -2459,7 +2459,7 @@ definitions:
example: false example: false
Attachable: Attachable:
description: | description: |
Wheter a global / swarm scope network is manually attachable by regular Whether a global / swarm scope network is manually attachable by regular
containers from workers in swarm mode. containers from workers in swarm mode.
type: "boolean" type: "boolean"
default: false default: false
@ -3649,7 +3649,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -7322,7 +7322,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -8830,12 +8830,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -2202,7 +2202,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -2486,7 +2486,7 @@ definitions:
example: false example: false
Attachable: Attachable:
description: | description: |
Wheter a global / swarm scope network is manually attachable by regular Whether a global / swarm scope network is manually attachable by regular
containers from workers in swarm mode. containers from workers in swarm mode.
type: "boolean" type: "boolean"
default: false default: false
@ -3691,7 +3691,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -7478,7 +7478,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -8987,12 +8987,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -393,7 +393,7 @@ definitions:
Make the mount non-recursively read-only, but still leave the mount recursive Make the mount non-recursively read-only, but still leave the mount recursive
(unless NonRecursive is set to `true` in conjunction). (unless NonRecursive is set to `true` in conjunction).
Addded in v1.44, before that version all read-only mounts were Added in v1.44, before that version all read-only mounts were
non-recursive by default. To match the previous behaviour this non-recursive by default. To match the previous behaviour this
will default to `true` for clients on versions prior to v1.44. will default to `true` for clients on versions prior to v1.44.
type: "boolean" type: "boolean"
@ -2188,7 +2188,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -2472,7 +2472,7 @@ definitions:
example: false example: false
Attachable: Attachable:
description: | description: |
Wheter a global / swarm scope network is manually attachable by regular Whether a global / swarm scope network is manually attachable by regular
containers from workers in swarm mode. containers from workers in swarm mode.
type: "boolean" type: "boolean"
default: false default: false
@ -3677,7 +3677,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -7464,7 +7464,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -8973,12 +8973,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -393,7 +393,7 @@ definitions:
Make the mount non-recursively read-only, but still leave the mount recursive Make the mount non-recursively read-only, but still leave the mount recursive
(unless NonRecursive is set to `true` in conjunction). (unless NonRecursive is set to `true` in conjunction).
Addded in v1.44, before that version all read-only mounts were Added in v1.44, before that version all read-only mounts were
non-recursive by default. To match the previous behaviour this non-recursive by default. To match the previous behaviour this
will default to `true` for clients on versions prior to v1.44. will default to `true` for clients on versions prior to v1.44.
type: "boolean" type: "boolean"
@ -1384,7 +1384,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always empty. It must not be used, and will be removed in API v1.47. > always empty. It must not be used, and will be removed in API v1.48.
type: "string" type: "string"
example: "" example: ""
Domainname: Domainname:
@ -1394,7 +1394,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always empty. It must not be used, and will be removed in API v1.47. > always empty. It must not be used, and will be removed in API v1.48.
type: "string" type: "string"
example: "" example: ""
User: User:
@ -1408,7 +1408,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1419,7 +1419,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1430,7 +1430,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1457,7 +1457,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1468,7 +1468,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1479,7 +1479,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1516,7 +1516,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always empty. It must not be used, and will be removed in API v1.47. > always empty. It must not be used, and will be removed in API v1.48.
type: "string" type: "string"
default: "" default: ""
example: "" example: ""
@ -1555,7 +1555,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always omitted. It must not be used, and will be removed in API v1.47. > always omitted. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1567,7 +1567,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always omitted. It must not be used, and will be removed in API v1.47. > always omitted. It must not be used, and will be removed in API v1.48.
type: "string" type: "string"
default: "" default: ""
example: "" example: ""
@ -1601,7 +1601,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always omitted. It must not be used, and will be removed in API v1.47. > always omitted. It must not be used, and will be removed in API v1.48.
type: "integer" type: "integer"
default: 10 default: 10
x-nullable: true x-nullable: true
@ -2216,7 +2216,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -2500,7 +2500,7 @@ definitions:
example: false example: false
Attachable: Attachable:
description: | description: |
Wheter a global / swarm scope network is manually attachable by regular Whether a global / swarm scope network is manually attachable by regular
containers from workers in swarm mode. containers from workers in swarm mode.
type: "boolean" type: "boolean"
default: false default: false
@ -3723,7 +3723,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -7585,7 +7585,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -9094,12 +9094,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -393,7 +393,7 @@ definitions:
Make the mount non-recursively read-only, but still leave the mount recursive Make the mount non-recursively read-only, but still leave the mount recursive
(unless NonRecursive is set to `true` in conjunction). (unless NonRecursive is set to `true` in conjunction).
Addded in v1.44, before that version all read-only mounts were Added in v1.44, before that version all read-only mounts were
non-recursive by default. To match the previous behaviour this non-recursive by default. To match the previous behaviour this
will default to `true` for clients on versions prior to v1.44. will default to `true` for clients on versions prior to v1.44.
type: "boolean" type: "boolean"
@ -1384,7 +1384,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always empty. It must not be used, and will be removed in API v1.47. > always empty. It must not be used, and will be removed in API v1.48.
type: "string" type: "string"
example: "" example: ""
Domainname: Domainname:
@ -1394,7 +1394,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always empty. It must not be used, and will be removed in API v1.47. > always empty. It must not be used, and will be removed in API v1.48.
type: "string" type: "string"
example: "" example: ""
User: User:
@ -1408,7 +1408,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1419,7 +1419,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1430,7 +1430,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1457,7 +1457,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1468,7 +1468,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1479,7 +1479,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always false. It must not be used, and will be removed in API v1.47. > always false. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1516,7 +1516,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always empty. It must not be used, and will be removed in API v1.47. > always empty. It must not be used, and will be removed in API v1.48.
type: "string" type: "string"
default: "" default: ""
example: "" example: ""
@ -1555,7 +1555,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always omitted. It must not be used, and will be removed in API v1.47. > always omitted. It must not be used, and will be removed in API v1.48.
type: "boolean" type: "boolean"
default: false default: false
example: false example: false
@ -1567,7 +1567,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always omitted. It must not be used, and will be removed in API v1.47. > always omitted. It must not be used, and will be removed in API v1.48.
type: "string" type: "string"
default: "" default: ""
example: "" example: ""
@ -1601,7 +1601,7 @@ definitions:
<p><br /></p> <p><br /></p>
> **Deprecated**: this field is not part of the image specification and is > **Deprecated**: this field is not part of the image specification and is
> always omitted. It must not be used, and will be removed in API v1.47. > always omitted. It must not be used, and will be removed in API v1.48.
type: "integer" type: "integer"
default: 10 default: 10
x-nullable: true x-nullable: true
@ -2216,7 +2216,7 @@ definitions:
Created: Created:
description: | description: |
Date and time at which the image was created as a Unix timestamp Date and time at which the image was created as a Unix timestamp
(number of seconds sinds EPOCH). (number of seconds since EPOCH).
type: "integer" type: "integer"
x-nullable: false x-nullable: false
example: "1644009612" example: "1644009612"
@ -2518,7 +2518,7 @@ definitions:
example: false example: false
Attachable: Attachable:
description: | description: |
Wheter a global / swarm scope network is manually attachable by regular Whether a global / swarm scope network is manually attachable by regular
containers from workers in swarm mode. containers from workers in swarm mode.
type: "boolean" type: "boolean"
default: false default: false
@ -3741,7 +3741,7 @@ definitions:
example: "json-file" example: "json-file"
Options: Options:
description: | description: |
Driver-specific options for the selectd log driver, specified Driver-specific options for the selected log driver, specified
as key/value pairs. as key/value pairs.
type: "object" type: "object"
additionalProperties: additionalProperties:
@ -7717,7 +7717,7 @@ paths:
* Memory usage % = `(used_memory / available_memory) * 100.0` * Memory usage % = `(used_memory / available_memory) * 100.0`
* cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage` * cpu_delta = `cpu_stats.cpu_usage.total_usage - precpu_stats.cpu_usage.total_usage`
* system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage` * system_cpu_delta = `cpu_stats.system_cpu_usage - precpu_stats.system_cpu_usage`
* number_cpus = `lenght(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus` * number_cpus = `length(cpu_stats.cpu_usage.percpu_usage)` or `cpu_stats.online_cpus`
* CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0` * CPU usage % = `(cpu_delta / system_cpu_delta) * number_cpus * 100.0`
operationId: "ContainerStats" operationId: "ContainerStats"
produces: ["application/json"] produces: ["application/json"]
@ -9231,12 +9231,23 @@ paths:
parameters: parameters:
- name: "name" - name: "name"
in: "path" in: "path"
description: "Image name or ID." description: |
Name of the image to push. For example, `registry.example.com/myimage`.
The image must be present in the local image store with the same name.
The name should be provided without tag; if a tag is provided, it
is ignored. For example, `registry.example.com/myimage:latest` is
considered equivalent to `registry.example.com/myimage`.
Use the `tag` parameter to specify the tag to push.
type: "string" type: "string"
required: true required: true
- name: "tag" - name: "tag"
in: "query" in: "query"
description: "The tag to associate with the image on the registry." description: |
Tag of the image to push. For example, `latest`. If no tag is provided,
all tags of the given image that are present in the local image store
are pushed.
type: "string" type: "string"
- name: "X-Registry-Auth" - name: "X-Registry-Auth"
in: "header" in: "header"

View File

@ -139,7 +139,7 @@ are not part of the underlying image's Config, and deprecated:
interval for health checks during the start period. interval for health checks during the start period.
* `GET /info` now includes a `CDISpecDirs` field indicating the configured CDI * `GET /info` now includes a `CDISpecDirs` field indicating the configured CDI
specifications directories. The use of the applied setting requires the daemon specifications directories. The use of the applied setting requires the daemon
to have expermental enabled, and for non-experimental daemons an empty list is to have experimental enabled, and for non-experimental daemons an empty list is
always returned. always returned.
* `POST /networks/create` now returns a 400 if the `IPAMConfig` has invalid * `POST /networks/create` now returns a 400 if the `IPAMConfig` has invalid
values. Note that this change is _unversioned_ and applied to all API values. Note that this change is _unversioned_ and applied to all API
@ -425,7 +425,7 @@ are not part of the underlying image's Config, and deprecated:
to return those without the specified labels. to return those without the specified labels.
* `POST /containers/create` now accepts a `fluentd-async` option in `HostConfig.LogConfig.Config` * `POST /containers/create` now accepts a `fluentd-async` option in `HostConfig.LogConfig.Config`
when using the Fluentd logging driver. This option deprecates the `fluentd-async-connect` when using the Fluentd logging driver. This option deprecates the `fluentd-async-connect`
option, which remains funtional, but will be removed in a future release. Users option, which remains functional, but will be removed in a future release. Users
are encouraged to use the `fluentd-async` option going forward. This change is are encouraged to use the `fluentd-async` option going forward. This change is
not versioned, and affects all API versions if the daemon has this patch. not versioned, and affects all API versions if the daemon has this patch.
* `POST /containers/create` now accepts a `fluentd-request-ack` option in * `POST /containers/create` now accepts a `fluentd-request-ack` option in

View File

@ -1,6 +1,6 @@
# github.com/moby/moby v27.2.1+incompatible # github.com/moby/moby v27.3.0+incompatible
# github.com/moby/buildkit v0.16.0 # github.com/moby/buildkit v0.16.0
# github.com/docker/buildx v0.17.0 # github.com/docker/buildx v0.17.0
# github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible # github.com/docker/cli v27.3.0+incompatible
# github.com/docker/compose/v2 v2.29.6 # github.com/docker/compose/v2 v2.29.6
# github.com/docker/scout-cli v1.13.0 # github.com/docker/scout-cli v1.13.0

View File

@ -23,6 +23,37 @@ For more information about:
- Deprecated and removed features, see [Deprecated Engine Features](../deprecated.md). - Deprecated and removed features, see [Deprecated Engine Features](../deprecated.md).
- Changes to the Engine API, see [Engine API version history](/reference/api/engine/version-history.md). - Changes to the Engine API, see [Engine API version history](/reference/api/engine/version-history.md).
## 27.3
Release notes for Docker Engine version 27.3 releases.
### 27.3.0
{{< release-date date="2024-09-19" >}}
For a full list of pull requests and changes in this release, refer to the relevant GitHub milestones:
- [docker/cli, 27.3.0 milestone](https://github.com/docker/cli/issues?q=sort%3Aupdated-desc+is%3Aclosed+milestone%3A27.3.0)
- [moby/moby, 27.3.0 milestone](https://github.com/moby/moby/issues?q=sort%3Aupdated-desc+is%3Aclosed+milestone%3A27.3.0)
#### Bug fixes and enhancements
- containerd image store: Fix `docker image prune -a` untagging images used by containers started from images referenced by a digested reference. [moby/moby#48488](https://github.com/moby/moby/pull/48488)
- Add a `--feature` flag to the daemon options. [moby/moby#48487](https://github.com/moby/moby/pull/48487)
- Updated the handling of the `--gpus=0` flag to be consistent with the NVIDIA Container Runtime. [moby/moby#48483](https://github.com/moby/moby/pull/48483)
- Support WSL2 mirrored-mode networking's use of interface `loopback0` for packets from the Windows host. [moby/moby#48514](https://github.com/moby/moby/pull/48514)
- Fix an issue that prevented communication between containers on an IPv4 bridge network when running with `--iptables=false`, `--ip6tables=true` (the default), a firewall with a DROP rule for forwarded packets on hosts where the `br_netfilter` kernel module was not normally loaded. [moby/moby#48511](https://github.com/moby/moby/pull/48511)
- CLI: Fix issue where `docker volume update` command would cause the CLI to panic if no argument/volume was passed. [docker/cli#5426](https://github.com/docker/cli/pull/5426)
- CLI: Properly report metrics when run in WSL environment on Windows. [docker/cli#5432](https://github.com/docker/cli/pull/5432)
#### Packaging updates
- Update containerd (static binaries only) to [v1.7.22](https://github.com/containerd/containerd/releases/tag/v1.7.22)
[moby/moby#48468](https://github.com/moby/moby/pull/48468)
- Updated Buildkit to [v0.16.0](https://github.com/moby/buildkit/releases/tag/v0.16.0)
- Update Compose to [v2.29.6](https://github.com/docker/compose/releases/tag/v2.29.6)
- Update Buildx to [v0.17.1](https://github.com/docker/buildx/releases/tag/v0.17.1)
## 27.2 ## 27.2
Release notes for Docker Engine version 27.2 releases. Release notes for Docker Engine version 27.2 releases.

8
go.mod
View File

@ -6,18 +6,18 @@ toolchain go1.22.5
require ( require (
github.com/docker/buildx v0.17.0 // indirect github.com/docker/buildx v0.17.0 // indirect
github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible // indirect github.com/docker/cli v27.3.0+incompatible // indirect
github.com/docker/compose/v2 v2.29.6 // indirect github.com/docker/compose/v2 v2.29.6 // indirect
github.com/docker/scout-cli v1.13.0 // indirect github.com/docker/scout-cli v1.13.0 // indirect
github.com/moby/buildkit v0.16.0 // indirect github.com/moby/buildkit v0.16.0 // indirect
github.com/moby/moby v27.2.1+incompatible // indirect github.com/moby/moby v27.3.0+incompatible // indirect
) )
replace ( replace (
github.com/docker/buildx => github.com/docker/buildx v0.17.0 github.com/docker/buildx => github.com/docker/buildx v0.17.0
github.com/docker/cli => github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible github.com/docker/cli => github.com/docker/cli v27.3.0+incompatible
github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.29.2 github.com/docker/compose/v2 => github.com/docker/compose/v2 v2.29.2
github.com/docker/scout-cli => github.com/docker/scout-cli v1.13.0 github.com/docker/scout-cli => github.com/docker/scout-cli v1.13.0
github.com/moby/buildkit => github.com/moby/buildkit v0.16.0 github.com/moby/buildkit => github.com/moby/buildkit v0.16.0
github.com/moby/moby => github.com/moby/moby v27.2.1+incompatible github.com/moby/moby => github.com/moby/moby v27.3.0+incompatible
) )

4
go.sum
View File

@ -122,6 +122,8 @@ github.com/docker/cli v27.2.0+incompatible h1:yHD1QEB1/0vr5eBNpu8tncu8gWxg8EydFP
github.com/docker/cli v27.2.0+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/cli v27.2.0+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible h1:if+XpfWkGSpLf8NtVlYgvCeVvKW4Eba90LispMGC50M= github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible h1:if+XpfWkGSpLf8NtVlYgvCeVvKW4Eba90LispMGC50M=
github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/cli v27.2.2-0.20240909090509-65decb573126+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/cli v27.3.0+incompatible h1:h7J5eiGdUbH2Q4EcGr1mFb20qzS7Nrot3EI9hwycpK0=
github.com/docker/cli v27.3.0+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
github.com/docker/compose-cli v1.0.35 h1:uZyEHLalfqBS2PiTpA1LAULyJmuQ+YtZg7nG4Xl3/Cc= github.com/docker/compose-cli v1.0.35 h1:uZyEHLalfqBS2PiTpA1LAULyJmuQ+YtZg7nG4Xl3/Cc=
github.com/docker/compose-cli v1.0.35/go.mod h1:mSXI4hFLpRU3EtI8NTo32bNwI0UXSr8jnq+/rYjGAUU= github.com/docker/compose-cli v1.0.35/go.mod h1:mSXI4hFLpRU3EtI8NTo32bNwI0UXSr8jnq+/rYjGAUU=
github.com/docker/compose/v2 v2.22.0 h1:3rRz4L7tPU75wRsV8JZh2/aTgerQvPa1cpzZN+tHqUY= github.com/docker/compose/v2 v2.22.0 h1:3rRz4L7tPU75wRsV8JZh2/aTgerQvPa1cpzZN+tHqUY=
@ -319,6 +321,8 @@ github.com/moby/moby v27.2.0+incompatible h1:WX2CjnXfZ8V87ugEIJuwVp7fDhHXCdi7gjl
github.com/moby/moby v27.2.0+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= github.com/moby/moby v27.2.0+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc=
github.com/moby/moby v27.2.1+incompatible h1:mIRBoOsLr+Q6s+h65ZFyi6cXBEVy2RXCWS5HOHlxx54= github.com/moby/moby v27.2.1+incompatible h1:mIRBoOsLr+Q6s+h65ZFyi6cXBEVy2RXCWS5HOHlxx54=
github.com/moby/moby v27.2.1+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc= github.com/moby/moby v27.2.1+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc=
github.com/moby/moby v27.3.0+incompatible h1:AhSu/R7C5uiyd+JCts3kxrKyTzXa3FilBJ0KCLUHXqA=
github.com/moby/moby v27.3.0+incompatible/go.mod h1:fDXVQ6+S340veQPv35CzDahGBmHsiclFwfEygB/TWMc=
github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ= github.com/moby/sys/symlink v0.1.0/go.mod h1:GGDODQmbFOjFsXvfLVn3+ZRxkch54RkSiGqsZeMYowQ=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q= github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc= github.com/morikuni/aec v1.0.0/go.mod h1:BbKIizmSmc5MMPqRYbxO4ZU0S0+P200+tUnFx7PXmsc=