Problem building addon on MacOS

I’ve developed a simple addon frstack. It works OK when built directly on a node, but I can’t get it to build using the builder.

I have working installation of docker desktop on my Mac. For a start, running the builder as follow: times out waiting for docker to initialize:

docker run \
    --rm \
    --privileged \
    -v ~/.docker:/root/.docker \
    -v ~/local/dev/frstack/frstack:/data \
    ghcr.io/home-assistant/amd64-builder \
    --all \
    -t /data \
    --test
[12:57:37] INFO: Setup crosscompiling feature
[12:57:38] WARNING: Can't enable crosscompiling feature
[12:57:38] INFO: Starting docker.
[12:57:38] INFO: Waiting for docker to initialize...
[12:57:59] FATAL: Timeout while waiting for docker to come up

I tried to get around this by looking to bind-mount the docker desktop instead of running docker in docker, but this fails as well because on a Mac, docker is installed in a Container and I can’t mount the socket created with docker desktop runs ~/Library/Containers/com.docker.docker/Data/docker-desktop-build.sock

Any ideas on how to proceed?