mirror of
https://github.com/moby/moby.git
synced 2026-01-11 18:51:37 +00:00
api/types/container: remove support for config mac address
This change stops daemon support for the container config MacAddress field. Signed-off-by: Austin Vazquez <austin.vazquez@docker.com>
This commit is contained in:
@@ -54,6 +54,9 @@ keywords: "API, Docker, rcli, REST, documentation"
|
||||
* Removed the `KernelMemoryTCP` field from the `GET /info` endpoint.
|
||||
* `GET /events` supports content-type negotiation and can produce either `application/x-ndjson`
|
||||
(Newline delimited JSON object stream) or `application/json-seq` (RFC7464).
|
||||
* `POST /containers/create` no longer supports configuring a container-wide MAC address
|
||||
via the container's `Config.MacAddress` field. A container's MAC address can now only
|
||||
be configured via endpoint settings when connecting to a network.
|
||||
|
||||
## v1.51 API changes
|
||||
|
||||
|
||||
@@ -1390,13 +1390,6 @@ definitions:
|
||||
description: "Disable networking for the container."
|
||||
type: "boolean"
|
||||
x-nullable: true
|
||||
MacAddress:
|
||||
description: |
|
||||
MAC address of the container.
|
||||
|
||||
Deprecated: this field is deprecated in API v1.44 and up. Use EndpointSettings.MacAddress instead.
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
OnBuild:
|
||||
description: |
|
||||
`ONBUILD` metadata that were defined in the image's `Dockerfile`.
|
||||
@@ -7882,7 +7875,6 @@ paths:
|
||||
/volumes/data: {}
|
||||
WorkingDir: ""
|
||||
NetworkDisabled: false
|
||||
MacAddress: "12:34:56:78:9a:bc"
|
||||
ExposedPorts:
|
||||
22/tcp: {}
|
||||
StopSignal: "SIGTERM"
|
||||
|
||||
@@ -1390,13 +1390,6 @@ definitions:
|
||||
description: "Disable networking for the container."
|
||||
type: "boolean"
|
||||
x-nullable: true
|
||||
MacAddress:
|
||||
description: |
|
||||
MAC address of the container.
|
||||
|
||||
Deprecated: this field is deprecated in API v1.44 and up. Use EndpointSettings.MacAddress instead.
|
||||
type: "string"
|
||||
x-nullable: true
|
||||
OnBuild:
|
||||
description: |
|
||||
`ONBUILD` metadata that were defined in the image's `Dockerfile`.
|
||||
@@ -7882,7 +7875,6 @@ paths:
|
||||
/volumes/data: {}
|
||||
WorkingDir: ""
|
||||
NetworkDisabled: false
|
||||
MacAddress: "12:34:56:78:9a:bc"
|
||||
ExposedPorts:
|
||||
22/tcp: {}
|
||||
StopSignal: "SIGTERM"
|
||||
|
||||
@@ -44,7 +44,7 @@ type Config struct {
|
||||
NetworkDisabled bool `json:",omitempty"` // Is network disabled
|
||||
// Mac Address of the container.
|
||||
//
|
||||
// Deprecated: this field is deprecated since API v1.44. Use EndpointSettings.MacAddress instead.
|
||||
// Deprecated: this field is deprecated since API v1.44 and obsolete since v1.52. Use EndpointSettings.MacAddress instead.
|
||||
MacAddress string `json:",omitempty"`
|
||||
OnBuild []string `json:",omitempty"` // ONBUILD metadata that were defined on the image Dockerfile
|
||||
Labels map[string]string // List of labels set to this container
|
||||
|
||||
Reference in New Issue
Block a user