Reputation: 352
I have installed docker for mac on my machine. I have pulled a repo from the docker hub, the docker run command includes the docker-machine ip parameter for which I get an error, Error: No machine name(s) specified and no "default" machine exist. Could someone elaborate the difference between docker machine and docker for mac.
Upvotes: 8
Views: 3959
Reputation: 8819
If you have Docker for Mac running on your machine, you don't need Docker Machine. Using Docker Machine (usually through Docker Toolbox) to run locally only if you have an older Mac version that isn't supported, which isn't the case here, or a Windows machine without Windows 10 pro.
The only other case you need Docker Machine is for controlling remote machines or setting up multiple nodes locally.
Upvotes: 11
Reputation: 99
You need to create the machine first of all. Try running the following command from your terminal of choice:
docker-machine create testmachine
Upvotes: 0