mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-19 12:16:30 +00:00
Merge pull request #10070 from thaJeztah/change-back-error-message
Mention "or rename" again in error-message.
This commit is contained in:
+1
-1
@@ -542,7 +542,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 that container to be able to reuse that name.", nameAsKnownByUser,
|
||||
"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,
|
||||
utils.TruncateID(conflictingContainer.ID))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user