How to restart Docker-for-mac with command?

6.5k views Asked by At

I'm using Docker for mac.
I'd like to restart this Docker-for-mac App with command on Terminal.
What's the command?
There was no documentation for this.
I had do restart it by clicking that button anytime that I needed to.

enter image description here

2

There are 2 answers

2
Frank Schmitt On BEST ANSWER

Forcing Docker for Mac to re-read its config with

killall -HUP com.docker.hyperkit

might work - if it doesn't, please explain in more detail why you need to restart Docker in the first place.

0
Kyle Browning On

For me I needed to restart Docker so I could install the new version

killall Docker did the trick.