简体   繁体   中英

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.

在此处输入图片说明

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.

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

killall Docker did the trick.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM