Any way to reach Docker API over http?

With Docker Beta on Windows, I can go to and get all containers I have.

I grabbed the VM IP on a Mac, and wasn’t able to talk to Docker API over http. Is this possible anyway? Any help appreciated.

If you can step a level lower than Docker, there’s LXC/LXD

Hi, in order to use the Docker API using HTTP, you must use socat ($ brew install socat) to expose the socket through HTTP, then

socat TCP-LISTEN:2375,reuseaddr,fork,bind=localhost UNIX-CONNECT:/var/run/docker.sock &

With this, you will be able to reach the docker API through HTTP :slight_smile: