mirror of
https://github.com/docker/cli.git
synced 2026-01-18 08:21:31 +03:00
When a container is attached to an "--attachable" network, it strictly forms the attacherKey using either the network-id or network-name because at the time of attachment, the daemon may not have the network downloaded locally from the manager. Hence, when the NetworkDettach is called, it should use either network-name or network-id. This fix addresses the missing network-id based dettachment case. Signed-off-by: Madhu Venugopal <madhu@docker.com> Upstream-commit: 5f17e0f6c91b36a8f33d1efa1be879d6eb80132f Component: engine