<p>I'm running Docker Desktop for MacOS and I don't know how to stop the Docker service. It runs all the time using up the MacBook battery.</p>
<img src="https://i.stack.imgur.com/buRf4.png" width="200" />
<p>On a simple search, there are docs showing how to stop the containers but not the docker service itself.</p>
<p>I might be missing something obvious, but is there a way to stop both Kubernetes and Docker service without having to kill the desktop app?</p>

Ébe Isaac
<p>The docker desktop app starts a qemu vm, so the desktop app has no control over the PIDs.
To overcome the &quot;situation&quot; do the following:</p>
<ul>
<li><p>open the Terminal app</p>
</li>
<li><p>edit the file <code>~/.bash_profile</code></p>
</li>
<li><p>add the following lines</p>
</li>
</ul>
<pre>
    #macro to kill the docker desktop app and the VM (excluding vmnetd -> it's a service)
    function kdo() {
      ps ax|grep -i docker|egrep -iv 'grep|com.docker.vmnetd'|awk '{print $1}'|xargs kill
    }
</pre>
<ul>
<li>save the file</li>
</ul>
<p>Quit the terminal app and open it again.</p>
<p>Type <code>kdo</code> to kill all the dependend apps (hypervisor, docker daemon etc.)</p>
