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?

  • NodeJS Mongodb in docker compose = ECONNREFUSED
  • Connecting Docker Containers
  • Cannot access tomcat8 server running in docker container from host machine
  • Node.js Running Hello World on Google Cloud Platform error deployment error
  • Is there a way to make a bootable Linux live USB disk from a Linux docker container?
  • akka node in docker explicitly disassociated
  • 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?

  • JHipster docker image from DockerHub is not working
  • Docker, How to replace capistrano tasks in docker
  • sonar-scanner-2.9.0.670 throws java.lang.ExceptionInInitializerError inside docker container
  • Unable to run Registrator using docker-compose. Get connection refused error
  • Adding a Local GIT Repository to a Gogs Docker Container
  • How to create docker base image from Amazon Linux AMI
  • 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: https://docs.docker.com/machine/

    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.