The Docker process under Linux monitors port 2375 and accepts remote access. But under MacOS, it cannot be used. Need to do the following two-step configuration:
Download socat
brew install socat
Open remote TCP port 2375 to access Docker
socat TCP-LISTEN:2375,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock &
To complete the two-step configuration as above, you can tcp://[host IP address]:2375
access the Docker running MacOS on the way.