Files
docker-docs/machine/reference/restart.md
Sebastiaan van Stijn 26926972ea machine: handle indexing through config
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-10-21 15:32:17 +02:00

25 lines
496 B
Markdown

---
description: Restart a machine
keywords: machine, restart, subcommand
title: docker-machine restart
---
```none
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.
```bash
$ docker-machine restart dev
Waiting for VM to start...
```