10

I am using macOS 10.14.6 and docker info shows me that the docker daemon is not running.

How do I start the docker daemon from terminal?

I have not found any information on doing so anywhere. On Linux you do something like sudo service docker stop, but this is incompatible with MacOS.

14

The docker setup does not work as in a normal Linux machine, on a Mac it is much more complicated. But it can be done!

  1. brew cask install docker virtualbox
  2. brew install docker-machine
  3. docker-machine create --driver virtualbox default
  4. docker-machine restart
  5. eval "$(docker-machine env default)" # This might throw an TSI connection error. In that case run docker-machine regenerate-certs default
  6. (docker-machine restart) # maybe needed
  7. docker run hello-world

These steps are based on information given in these two questions:

| improve this answer | |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .