I've changed the docker daemon to listen on port eg: /usr/bin/docker daemon -H tcp://0.0.0.0:2375
Now when I execute the command docker it hangs on. So what I need is to execute docker -H :2375 <command>
.
Is there any way how to setup docker command (cli) to automatically use the port not the socket (so when I call docker ps it will call docker -H :2375 ps)?
Thanks