mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
Fixes #2586 This fixes a few races where the name generator asks if a name is free but another container takes the name before it can be reserved. This solves this by generating the name and setting it. If the set fails with a non unique error then we try again. Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael) Upstream-commit: 6ec86cb6e517bfb5ded818244b9db9510a2ed0b9 Component: engine