Start the docker deamon on a specific port (2375)

I am new to docker for mac. I have installed the docker for mac on my machine and it is working properly, but i don’t know how to run in a specific port like 2375 . Please help me with this.

Hello,

Please see the solution described in Using pycharm docker plugin with docker beta for a way to expose the Docker daemon over TCP. Alternately, you can connect directly to /var/run/docker.sock and communicate with the daemon without using the network stack.

Thanks for participating in the Docker for Mac Beta!