From what I’ve read so far, you cannot reach the moby host (i.e. the docker host - linux -) from your mac OS.
The only way to reach moby is to use the default socket /var/run/docker.sock that seems to be available in r/w for anybody
to do so, unset DOCKER_* environment variables, then docker ps and any other command will work properly.
I’ve also seen a few subjects dealing with reaching containers from your mac host, which is not possible for now, if you need to follow them: