Mac docker, how to Restart Restart on the Command Line? My service is unstable and needs to be restarted regularly. Is there any way?

  docker, question

Is the command to execute the Restart button.

clipboard.png

Kill the docker process and restart it.

killall Docker && open /Applications/Docker.app