我正在阅读https://docs.docker.com/v1.5/machine/上的 Docker 机器用户指南。
它说:
You can see the machine you have created by running the docker-machine ls command again:
$ docker-machine ls
NAME ACTIVE DRIVER STATE URL
dev * virtualbox Running tcp://192.168.99.100:2376
The * next to dev indicates that it is the active host.
当我运行它时,我看不到任何机器旁边的 *。我需要做什么才能将机器标记为活动?这有什么好处吗?
例如,我在 Windows 10 上运行 Docker 机器,通过使其处于活动状态是否意味着我不必在我的命令中继续指定机器名称,例如docker-machine env dev