On a Mac, I run the register following the expand document :
docker run -d -p 5000:5000 --restart=always --name registry registry:2
And his ip is "IPAddress": "172.17.0.2" , which is from the docker inspect <cid>
But I can not telnet its port:
$ telnet 172.17.0.2 5000 Trying 172.17.0.2... telnet: connect to address 172.17.0.2: Can't assign requested address telnet: Unable to connect to remote host
Or
$ curl http:
I ssh into the container to check it:
$ docker exec -it cda bash root@cda4c64efd06 :/
It seems that this tcp6 binding tcp6 not usually tcp .
Where is it wrong?
source share