Windows Server 2016 通过Hyper-V+Docker Machine部署Docker

  • Docker-Machine默认是没有安装,需要自行下载

[http://github.com/docker/machine/releases]
常用docker-machine命令

$ docker-machine config <docker-machine name>
$ docker-machine env <docker-machine name>
$ docker-machine inspect <docer-machine name>
$ docker-machine ip <docker-machine name>
$ docker-machine kill <docker-machine name>
$ docker-machine provision <docker-machine name>`
$ docker-machine regenerate-certs <docker-machine name>
$ docker-machine restart <docker-machine name>
$ docker-machine ssh <docker-machine name>
$ docker-machine start <docker-machine name>
$ docker-machine status <docker-machine name>
$ docker-machine stop <docker-machine name>
$ docker-machine upgrade <docker-machine name>
$ docker-machine url <docker-machine name>

相关推荐