mirror of https://github.com/docker/docs.git
Merge pull request #2389 from dgageot/regenerate-certs
Make user supplied input more obvious
This commit is contained in:
commit
a3194a2679
|
|
@ -21,7 +21,7 @@ type ErrCertInvalid struct {
|
||||||
|
|
||||||
func (e ErrCertInvalid) Error() string {
|
func (e ErrCertInvalid) Error() string {
|
||||||
return fmt.Sprintf(`There was an error validating certificates for host %q: %s
|
return fmt.Sprintf(`There was an error validating certificates for host %q: %s
|
||||||
You can attempt to regenerate them using 'docker-machine regenerate-certs name'.
|
You can attempt to regenerate them using 'docker-machine regenerate-certs [name]'.
|
||||||
Be advised that this will trigger a Docker daemon restart which will stop running containers.
|
Be advised that this will trigger a Docker daemon restart which will stop running containers.
|
||||||
`, e.hostURL, e.wrappedErr)
|
`, e.hostURL, e.wrappedErr)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue