mirror of https://github.com/docker/docs.git
Merge pull request #1300 from hairyhenderson/restart-suggest-rerun-env-1298
Warning user that the active machine was restarted and may have a new IP
This commit is contained in:
commit
70238f79ad
|
@ -10,4 +10,5 @@ func cmdRestart(c *cli.Context) {
|
|||
if err := runActionWithContext("restart", c); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
log.Info("Restarted machines may have new IP addresses. You may need to re-run the `docker-machine env` command.")
|
||||
}
|
||||
|
|
|
@ -10,4 +10,5 @@ func cmdStart(c *cli.Context) {
|
|||
if err := runActionWithContext("start", c); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
log.Info("Started machines may have new IP addresses. You may need to re-run the `docker-machine env` command.")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue