mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #10070 from thaJeztah/change-back-error-message
Mention "or rename" again in error-message.
This commit is contained in:
commit
ff40126389
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue