Launchctl show docker server, remand docker server name
Show launchctl id:
launchctl list | grep docker
output:
111117 0 com.docker.docker.2388
Then stop and start it:
launchctl stop com.docker.docker.2388 && launchctl start com.docker.docker.2388
List of commands without example:
launchctl list | grep docker
launchctl stop
launchctl start