2015-07-07 09:53:04 -07:00
|
|
|
<!--[metadata]>
|
|
|
|
|
+++
|
|
|
|
|
title = "restart"
|
|
|
|
|
description = "Restart a machine"
|
|
|
|
|
keywords = ["machine, restart, subcommand"]
|
|
|
|
|
[menu.main]
|
2015-08-05 10:57:17 -07:00
|
|
|
identifier="machine.restart"
|
2015-07-07 09:53:04 -07:00
|
|
|
parent="smn_machine_subcmds"
|
|
|
|
|
+++
|
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
|
|
# restart
|
|
|
|
|
|
2016-02-20 18:53:33 +02:00
|
|
|
Usage: docker-machine restart [arg...]
|
|
|
|
|
|
|
|
|
|
Restart a machine
|
|
|
|
|
|
|
|
|
|
Description:
|
|
|
|
|
Argument(s) are one or more machine names.
|
|
|
|
|
|
2015-07-07 09:53:04 -07:00
|
|
|
Restart a machine. Oftentimes this is equivalent to
|
2016-01-08 12:30:06 +01:00
|
|
|
`docker-machine stop; docker-machine start`. But some cloud driver try to implement a clever restart which keeps the same
|
|
|
|
|
ip address.
|
2015-07-07 09:53:04 -07:00
|
|
|
|
2015-11-27 10:16:42 +01:00
|
|
|
$ docker-machine restart dev
|
|
|
|
|
Waiting for VM to start...
|