3

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

Andre Song
  • 353
  • 1
  • 4
  • 14
  • Possible duplicate of [How do I restart Docker for Mac from the terminal?](https://stackoverflow.com/questions/40080887/how-do-i-restart-docker-for-mac-from-the-terminal) – Frank Schmitt Jun 19 '17 at 10:15

2 Answers2

3

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.

Frank Schmitt
  • 30,195
  • 12
  • 73
  • 107
  • 1
    I needed to restart Docker so it would pick up new CA certs that I had installed. – Spencer May 24 '17 at 20:43
  • This command caused problems for me when running Docker Edge. I found a better way here: https://stackoverflow.com/a/44555371/1827734 – BrDaHa Jun 14 '17 at 21:59
2

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

killall Docker did the trick.

Kyle Browning
  • 5,374
  • 1
  • 19
  • 30