W3cubDocs

/Docker 19

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...

machine, restart, subcommand

© 2019 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/machine/reference/restart/