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:
Nathan LeClaire 2015-07-14 11:52:51 -07:00
commit 70238f79ad
2 changed files with 2 additions and 0 deletions

View File

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

View File

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