mirror of
https://github.com/docker/cli.git
synced 2026-09-28 02:06:53 -04:00
Merge pull request #14245 from gs11/master
Clarifications in usage Upstream-commit: 2d61de4625b17badb2e380d8142ff99fda5d22cd Component: engine
This commit is contained in:
@@ -396,7 +396,7 @@ func (daemon *Daemon) reserveName(id, name string) (string, error) {
|
||||
} else {
|
||||
nameAsKnownByUser := strings.TrimPrefix(name, "/")
|
||||
return "", fmt.Errorf(
|
||||
"Conflict. The name %q is already in use by container %s. You have to delete (or rename) that container to be able to reuse that name.", nameAsKnownByUser,
|
||||
"Conflict. The name %q is already in use by container %s. You have to remove (or rename) that container to be able to reuse that name.", nameAsKnownByUser,
|
||||
stringid.TruncateID(conflictingContainer.ID))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user