docker-machine restart

Usage: docker-machine restart [arg...]

Restart a machine

Description:
   Argument(s) are one or more machine names.

Restart a machine. Oftentimes this is equivalent to docker-machine stop; docker-machine start. But some cloud driver try to implement a clever restart which keeps the same ip address.

$ docker-machine restart dev
Waiting for VM to start...

© 2017 Docker, Inc.
Licensed under the Apache License, Version 2.0.
Docker and the Docker logo are trademarks or registered trademarks of Docker, Inc. in the United States and/or other countries.
Docker, Inc. and other parties may also have trademark rights in other terms used herein.
https://docs.docker.com/v1.13/machine/reference/restart/