Starting Docker for Mac from the command line?

Is there a way to start Docker for Mac (and / or Docker for Windows) from the command line? I can't find any documentation about it.

My team uses a set of scripts to automate setup of our development environment using docker-machine. Some of us have been testing Docker for Mac and like it, but we don't like having to start a separate app before switching back to the command line.


You can open Docker for Mac from the terminal using:

open -a Docker

I'm using the first production version of Docker for Mac (1.12) that came out last week. You can also have it autostart under Preferences.