Creating a container to a remote server

Hi,

On Docker for Beginners at the Docker Engine section, I was trying to create a container to a remote docker host. HostA and HostB can both create containers locally no problem but from HostA to HostB i am getting this… any idea?

root@core02-ns1-br:~# docker -H=192.168.0.23:2375 run nginx
docker: Cannot connect to the Docker daemon at tcp://192.168.0.23:2375. Is the docker daemon running?.
See ‘docker run --help’.

Thanks

fixed https://docs.docker.com/engine/install/linux-postinstall/