Docker client communicating with docker host -
i have docker daemon installed in ubuntua machine.
i using ubuntub machine docker client. know ubuntua machine has docker daemon installed , can operations well.
but not getting on port running. using command : sudo docker -h tcp://127.0.0.1:5555 -d &
and after , when utilize next command: sudo docker -h tcp://127.0.0.1:5555 info
i getting error : docker daemon not found . how find out on port , daemon running?
using -h tcp://127.0.0.1:5555
docker daemon alternative on ubuntua machine instruct docker bind loopback network interface (127.0.0.1). result take connections originating ubuntua machine.
if want take connections incoming network interface utilize -h tcp://0.0.0.0:5555
. aware able connect ubuntua machine on port 5555 able command docker host. need protect firewall rules allow ubuntub connect ubuntua on port 5555.
docker
No comments:
Post a Comment