민서네집

How to stop docker in Windows 본문

머신러닝

How to stop docker in Windows

브라이언7 2016. 7. 6. 21:22

https://docs.docker.com/machine/reference/stop/


stop

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

Gracefully Stop a machine

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

For example:

$ docker-machine ls
NAME   ACTIVE   DRIVER       STATE     URL
dev    *        virtualbox   Running   tcp://192.168.99.104:2376
$ docker-machine stop dev
$ docker-machine ls
NAME   ACTIVE   DRIVER       STATE     URL
dev    *        virtualbox   Stopped

stop 시켰다가 다시 start 시킬려면...


$ docker-machine ls 해서 VM 의 이름이 어떤 것이 있는지 알아야 한다.



https://docs.docker.com/machine/reference/start/


start

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

Start a machine

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

For example:

$ docker-machine start dev
Starting VM...


Comments