Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the dockerd (Docker Daemon) in macOS?

Tags:

docker

macos

I'm trying to understand how the Docker Daemon works on my macOS. Can anyone confirm that it's - /Applications/Docker.app/Contents/MacOS/com.docker.supervisor ? How come it's not as simple as finding it in Windows and Linux?

Dockerd paths -

  • Windows C:\Program Files\Docker\Docker\resources\dockerd.exe
  • Linux /usr/bin/dockerd
  • macOS /Applications/Docker.app/Contents/MacOS/com.docker.supervisor - Assumption, need confirmation
like image 731
Meir Gabay Avatar asked Sep 20 '25 09:09

Meir Gabay


1 Answers

The dockerd process doesn't run on MacOS. It runs in an embedded Linux VM. So you shouldn't find it with the normal Mac tools. Instead what you'll find are apps used to configure and control the VM. For an idea of what's running inside that VM, have a look at the linuxkit project, in particular the docker-for-mac.yml example. However, note that this is only an example and doesn't include the closed source code that makes up Docker Desktop.

To configure the dockerd in Docker for Mac, you can update the daemon.json file from the UI.

like image 70
BMitch Avatar answered Sep 22 '25 03:09

BMitch