What is driver name of docker for mac?

╄→гoц情女王★ 提交于 2019-12-11 04:48:31

问题


How do I create docker-machine from Command-Line?
I using Docker for mac(not Docker toolbox).

In Docker toolbox (this is not Docker for Mac), I could create docker-machine like docker-machine create -d virtualbox default

But now, I don't know default driver name of Docker for mac.

What is driver name?


回答1:


Are referring Docker for Mac beta? If so, then you don't have to create a docker-machine (VM). You can use Docker natively. Just open the terminal and execute any docker command.




回答2:


docker-machine create -d virtualbox default

In this command default is the name of the virtualbox. If you open VirtualBox afterwards, you will see it created with the name "default"

If you wonder which driver is the default one, it is virtualbox.

Don't let the word default confuse you ;)



来源:https://stackoverflow.com/questions/38039210/what-is-driver-name-of-docker-for-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!