moby/runconfig
Sebastiaan van Stijn 8758d08bb4
api: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24)
API v1.20 (Docker Engine v1.11.0) and older allowed a HostConfig to be passed
when starting a container. This feature was deprecated in API v1.21 (Docker
Engine v1.10.0) in 3e7405aea8, and removed in
API v1.23 (Docker Engine v1.12.0) in commit 0a8386c8be.

API v1.23 and older are deprecated, and this patch removes the feature.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-02-06 18:44:44 +01:00
..
fixtures api: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24) 2024-02-06 18:44:44 +01:00
opts runconfig/opts: use strings.Cut() 2022-12-21 11:09:03 +01:00
config.go api: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24) 2024-02-06 18:44:44 +01:00
config_test.go runconfig: remove fixtures for api < v1.19 2024-02-06 18:42:24 +01: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: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24) 2024-02-06 18:44:44 +01:00
hostconfig_test.go api: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24) 2024-02-06 18:44:44 +01:00
hostconfig_unix.go api: Add consts for predefined networks 2023-09-10 15:39:54 +02:00
hostconfig_windows.go api: Add consts for predefined networks 2023-09-10 15:39:54 +02:00
hostconfig_windows_test.go remove pre-go1.17 build-tags 2023-05-19 20:38:51 +02:00