Invalid virtual machine configuration. A directory sharing device configuration is invalid + MAC + M1

When i reinstall docker and start docker that time received that type error

Invalid virtual machine configuration. A directory sharing device configuration is invalid.

I got a solution for your problem, as I stumbled over it myself. The following steps helped me to use docker again:

  1. Uninstall docker by removing all files (remove the application from your applications folder and clean up resident files; I used “Hazel” for this, but I guess there are also tutorials for this)
  2. Restart your machine
  3. After restarting, open the activity monitor and search for the process com.docker.vmnetd. If you can find it: Force the service to stop!
  4. Reinstall docker without a restart.

For me, it helped to overcome the issue. I hope you can get back to work as well.

Actually I have one in which I also mention vmnetd: https://youtu.be/maQJSnRdy10

Note that I made that video for an older version, but the idea is the same.