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