我在docker
上启动了gitlab,它看起来像已经启动并正在运行,但是当尝试到达gitlab时,将其抛出localhost。
操作系统:Centos
7
docker ps
:
cb9385344efa f77dd1b93b45 "/assets/wrapper" 11 minutes ago Up 11 minutes (healthy) 22/tcp, 80/tcp, 443/tcp naughty_jennings
wget localhost
:
--2019-03-10 11:59:16-- http://localhost/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.