macosdockerdocker-for-mac

How to restart Docker-for-mac with command?


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


Solution

  • 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.