Merge pull request #10070 from thaJeztah/change-back-error-message

Mention "or rename" again in error-message.
This commit is contained in:
Victor Vieux 2015-01-13 14:56:15 -08:00
commit ff40126389
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}
}