Docker compose pro `is vmnetd running?` with Docker Desktop version 4.23.0 {used localstack start for now}

This is part of the docker compose snippet

services:
  localstack:
    container_name: "${LOCALSTACK_DOCKER_NAME-localstack_main}"
    image: localstack/localstack-pro:2.2.0  # required for Pro
    ports:
      - "127.0.0.1:4566:4566"            # LocalStack Gateway
      - "127.0.0.1:4510-4559:4510-4559"  # external services port range
      - "127.0.0.1:53:53"                # DNS config (required for Pro)
      - "127.0.0.1:53:53/udp"            # DNS config (required for Pro)
      - "127.0.0.1:443:443"              # LocalStack HTTPS Gateway (required for Pro)

I get this error:

Attaching to localstack_main
Error response from daemon: Ports are not available: exposing port TCP 127.0.0.1:53 -> 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

This error doe NOT allow localstack pro to start.

The issue did not happen with localstack community version.

I have confirmed this error on 2 Macs to make sure its not a port issue…

Please test with Docker Desktop version 4.23.0 (120376) on Mac OS 13.5.1.

I used localstack start for now and that worked…
so probably this is Docker Desktop issue

Hello @drrs,

Please update to the new version of Docker Desktop 4.24 and let us know if the issue is still there.
Docker Desktop release notes | Docker Docs

Thanks.

Well I tried that too @Marcel – did not work. Same issue.
However localstack start did work.

@drrs, can you please share the full docker-compose.yml file? Are you experiencing issues with the newer version of LocalStack 2.3 as well or with the latest version?

We do also look into our Network troubleshooting | Docs (localstack.cloud), or DNS Server | Docs (localstack.cloud) documentation.

If that does not help, please have a look at this docker GitHub issue Error response from daemon: is vmnetd running? · Issue #6677 · docker/for-mac (github.com)