Gitlab installed with doc
$ docker ps -al CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES b5e7d97dea17 gitlab/gitlab-ce:latest "/assets/wrapper" 18 minutes ago Up 10 minutes (healthy) 0.0.0.0:443->443/tcp, 0.0.0.0:220->22/tcp, 0.0.0.0:800->80/tcp gitlab
Look, the output commands are normal, but why can’t you telnet to the 800(220) port locally?
I found the reason, because I used docker machine to create it, so I am currently a machine, not a physical machine for containers, and can pass through
To docker’s host machine, you can see that the port is in listening state.
For docker-machine commands, please refer tohttp://blog.csdn.net/warren_1 …