moby/runconfig
Albin Kerouanton ee9f0ed895
api: Deprecate ContainerConfig.MacAddress
Having a sandbox/container-wide MacAddress field makes little sense
since a container can be connected to multiple networks at the same
time. This field is an artefact of old times where a container could be
connected to a single network only.

As we now have a way to specify per-endpoint mac address, this field is
now deprecated.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-10-25 22:55:59 +02:00
..
fixtures Move the runconfig.Parse() function into the runconfig/opts package. 2016-01-04 12:06:29 -05:00
opts runconfig/opts: use strings.Cut() 2022-12-21 11:09:03 +01:00
config.go api/server: allow empty body for POST /commit again 2023-05-17 16:01:11 -04:00
config_test.go runconfig: format code with gofumpt 2023-06-29 00:31:11 +02:00
config_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
config_windows.go Add canonical import comment 2018-02-05 16:51:57 -05:00
errors.go api: ContainerCreate: lowercase ErrEmptyConfig 2023-10-25 21:25:17 +02:00
hostconfig.go api: Deprecate ContainerConfig.MacAddress 2023-10-25 22:55:59 +02:00
hostconfig_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
hostconfig_unix.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00
hostconfig_windows.go runconfig: decodeContainerConfig() return early if there's no HostConfig 2021-08-09 11:17:04 +02:00
hostconfig_windows_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00