尝试在Docker上设置牧场主

时间:2019-12-16 06:08:57

标签: docker gitlab rancher netstat

牧场主运行命令

 docker run -d --restart=unless-stopped -p 8090:80 -p 4443:443 rancher/rancher:latest

但是在我的本地主机gitlab中首先出现,所以无法访问该网站...我希望在netstat中没有gitlab在运行

root@ulm-c-25:/home/urolime/Desktop/trainee1/Docker/Rancher# netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:2224            0.0.0.0:*               LISTEN      1249/ruby       
tcp        0      0 172.21.0.1:53           0.0.0.0:*               LISTEN      2054/named      
tcp        0      0 172.18.0.1:53           0.0.0.0:*               LISTEN      2054/named      
tcp        0      0 172.19.0.1:53           0.0.0.0:*               LISTEN      2054/named      
tcp        0      0 172.17.0.1:53           0.0.0.0:*               LISTEN      2054/named      
tcp        0      0 172.20.0.1:53           0.0.0.0:*               LISTEN      2054/named      
tcp        0      0 127.0.1.1:53            0.0.0.0:*               LISTEN      2456/dnsmasq    
tcp        0      0 10.10.100.166:53        0.0.0.0:*               LISTEN      2054/named      
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      2054/named      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2083/sshd       
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      8014/cupsd      
tcp        0      0 127.0.0.1:953           0.0.0.0:*               LISTEN      2054/named      
tcp        0      0 0.0.0.0:17500           0.0.0.0:*               LISTEN      3706/dropbox    
tcp        0      0 127.0.0.1:36071         0.0.0.0:*               LISTEN      2084/containerd 
tcp6       0      0 :::2224                 :::*                    LISTEN      1249/ruby       
tcp6       0      0 :::53                   :::*                    LISTEN      2054/named      
t**cp6       0      0 :::22                   :::*                    LISTEN      2083/sshd       
tcp6       0      0 ::1:631                 :::*                    LISTEN      8014/cupsd      
tcp6       0      0 ::1:953                 :::***                    LISTEN      2054/named      
tcp6       0      0 **:::8090**                 :::*                    LISTEN      16076/docker-proxy
tcp6       0      0 ***:::4443***                 :::*                    LISTEN      16090/docker-proxy
tcp6       0      0 :::17500                :::*                    LISTEN      3706/dropbox    

有人可以帮助我解决这个问题吗?

0 个答案:

没有答案