moby/api/server
Albin Kerouanton 4eed3dcdfe api: normalize the default NetworkMode
The NetworkMode "default" is now normalized into the value it
aliases ("bridge" on Linux and "nat" on Windows) by the
ContainerCreate endpoint, the legacy image builder, Swarm's
cluster executor and by the container restore codepath.

builder-next is left untouched as it already uses the normalized
value (ie. bridge).

Going forward, this will make maintenance easier as there's one
less NetworkMode to care about.

Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2024-03-28 12:34:23 +01:00
..
backend/build migrate to new github.com/distribution/reference module 2023-09-05 12:09:26 +02:00
httpstatus migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
httputils api: remove handling of HostConfig on POST /containers/{id}/start (api < v1.24) 2024-02-06 18:44:44 +01:00
middleware api/server/middleware: NewVersionMiddleware: add validation 2024-02-06 18:44:45 +01:00
router api: normalize the default NetworkMode 2024-03-28 12:34:23 +01:00
middleware.go migrate to github.com/containerd/log v0.1.0 2023-10-11 17:52:23 +02:00
server.go api: remove plain-text error-responses (api < v1.24) 2024-02-06 18:44:44 +01:00
server_test.go api/server/middleware: NewVersionMiddleware: add validation 2024-02-06 18:44:45 +01:00