Error response from daemon: vmnetd - Mac

Read time: 4 minutes

User Profile

Hamad K

Jan 28, Tue

Error Response from Daemon: vmnetd


If you’re encountering an error while trying to run DDEV start for a project, this guide will help you resolve the issue. Below, I explain the problem and provide a step-by-step solution for Mac users.

Problem:

Error response from daemon: Ports are not available: exposing port TCP 127.0.0.1:992 -> 0.0.0.0:0: failed to connect to /var/run/com.docker.vmnetd.sock: is vmnetd running?: dial unix /var/run/com.docker.vmnetd.sock: connect: no such file or directory

Solution:

  1. Remove vmnetd if it’s already installed:

    /Applications/Docker.app/Contents/MacOS/install remove-vmnetd    


    Run the above command in your terminal to remove the existing vmnetd installation.

  2. Re-install vmnetd:

    sudo /Applications/Docker.app/Contents/MacOS/install vmnetd    


    Run the command to re-install vmnetd with administrative privileges.

  3. Run DDEV again:

    After completing the steps above, retry running your DDEV project. The issue should now be resolved.

Note:

This solution is specifically for Mac users.

Need Further Assistance?

If you still face issues, don’t hesitate to reach out! Send an email to [email protected], or book a call from the top right corner. Let’s get it sorted today!

Interested in Publishing your knowledge and sharing it with the world?

Or ask anything about our services

We thrive by partering with visionary brands and driven individuals.

Say hello 👋

[email protected]