How to activate docker 1.12 in terminal without Moby the whale app on Mac

I should run Moby the whale app first to be able to use the latest version of Docker (1.12.0) in my terminal. Otherwise, I get an error:

Cannot connect to the Docker daemon. Is the docker daemon running on this host?

  • Using loop devices in docker without --privileged flag
  • Ubuntu on Managed VMs using custom runtime
  • What run flags are included in my Docker Container
  • How to use hostname passed as an argument in Dockerfile?
  • Less awkward method of using all available CPUs in Docker container:
  • MS Edge running in guest machine does not store cookies from site hosted in another guest
  • But how can I activate Docker in my terminal without launch Moby the whale app (or probably by launching this app from console)? Is it possible?

  • Verify container running state [closed]
  • Docker ignores ENTRYPOINT
  • nginx/apache redirection for output port on docker container on vps
  • PostgreSQL UNIQUE constraint not being applied on Docker container
  • Couldn't connect to Docker daemon on Mac OS X
  • fluentd file plugin \ how to keep only latest X files?
  • One Solution collect form web for “How to activate docker 1.12 in terminal without Moby the whale app on Mac”

    One possibility is to use docker-machine inside VirtualBox:

    Once installed, you first start the Docker machine instance:

    $ docker-machine start

    Set the required environment variables for Docker to use:

    $ eval `docker-machine env`

    And then run Docker:

    $ docker info
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.