[star7th/showdoc]轻量应用型服务器后安装docker能用,不能正常用

2024-08-05 205 views
6

image 我买的服务器是腾讯的轻量应用型服务器,应用模板是cloudreve,我之后根据提示有安装了docker,并运行了脚本。 也开放了端口 image

登录后显示界面是cloudreve的 image

这是怎么了,求帮。十分感谢您的回复。

Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.26/images/json: dial unix /var/run/docker.sock: connect
: permission denied                                                                                                                                                                                       
Redirecting to /bin/systemctl start docker.service                                                                                                                                                        
The showdoc image is being retrieved, please wait a moment... The time required is related to your network environment.                                                                                   
正在拉取showdoc镜像,请稍后...所需时间与你的网络环境有关                                                                                                                                                  
Using default tag: latest                                                                                                                                                                                 
Trying to pull repository registry.cn-shenzhen.aliyuncs.com/star7th/showdoc ...                                                                                                                           
latest: Pulling from registry.cn-shenzhen.aliyuncs.com/star7th/showdoc                                                                                                                                    
ca7dd9ec2225: Pulling fs layer                                                                                                                                                                            
1b78b4fe0ca1: Pulling fs layer                                                                                                                                                                            
9d6040f2a28f: Pulling fs layer                                                                                                                                                                            
0e2e66b89284: Pulling fs layer                                                                                                                                                                            
3b1be5f02bec: Pulling fs layer                                                                                                                                                                            
96243f515dda: Pulling fs layer                                                                                                                                                                            
e427679e7c26: Pulling fs layer                                                                                                                                                                            
759eb390abda: Pulling fs layer                                                                                                                                                                            
9820b782a628: Pulling fs layer                                                                                                                                                                            
a9e6097c1efa: Pull complete                                                                                                                                                                               
7943a5d2b469: Pull complete                                                                                                                                                                               
5a787cc1d8cd: Pull complete                                                                                                                                                                               
0da25447ae97: Pull complete                                                                                                                                                                               
11bce5f3e909: Pull complete                                                                                                                                                                               
4fa819bcf86b: Pull complete                                                                                                                                                                               
32b3eb170716: Pull complete                                                                                                                                                                               
d327394668ea: Pull complete                                                                                                                                                                               
4772514d002e: Pull complete                                                                                                                                                                               
77fc8b2b9bf0: Pull complete                                                                                                                                                                               
7c0383f40773: Pull complete                                                                                                                                                                               
f553f6e8b670: Pull complete                                                                                                                                                                               
a867813a2642: Pull complete                                                                                                                                                                               
7a3f1fd6079d: Pull complete                                                                                                                                                                               
26d5861cc4cb: Pull complete                                                                                                                                                                               
c4c20089304d: Pull complete                                                                                                                                                                               
786c6c0c8072: Pull complete                                                                                                                                                                               
a0b8fd3dd092: Pull complete                                                                                                                                                                               
be6c18568c28: Pull complete                                                                                                                                                                               
1419161dd038: Pull complete                                                                                                                                                                               
2fa7e4f8df72: Pull complete                                                                                                                                                                               
dc74cc923ac3: Pull complete                                                                                                                                                                               
Digest: sha256:9aede8800e85da57ac1b4bfdac4ce4ad92aaf26c6acebb661a8e70d51ec38eb6                                                                                                                           
Status: Downloaded newer image for registry.cn-shenzhen.aliyuncs.com/star7th/showdoc:latest                                                                                                               
41952e97e1da970699e17b03da74572ff51bd97ff8f8162d04b05ad574a25178                                                                                                                                          
install success !!!                                                                                                                                                                                       
--2023-06-02 22:43:17--  http://localhost:4999/install/install.lock                                                                                                                                       
Resolving localhost (localhost)... ::1, 127.0.0.1                                                                                                                                                         
Connecting to localhost (localhost)|::1|:4999... connected.                                                                                                                                               
HTTP request sent, awaiting response... 200 OK                                                                                                                                                            
Length: 23 [application/octet-stream]                                                                                                                                                                     
Saving to: ‘install.lock’                                                                                                                                                                                 

100%[================================================================================================================================================================>] 23          --.-K/s   in 0s       

2023-06-02 22:43:17 (6.06 MB/s) - ‘install.lock’ saved [23/23]                                                                                                                                            

  安装成功,访问地址:http://localhost:4999 (你也可以用局域网或者公网IP/域名访问)                                                                                                                         

  如打算用局域网或者公网IP/域名访问,请注意防火墙/安全组等要对4999端口放行                                                                                                                                

  账户密码是showdoc/123456,登录后你便可以看到右上方的管理后台入口。建议登录后修改密码。                                                                                                                  

  对showdoc的问题或建议请至https://github.com/star7th/showdoc 提issue                                                                                                                                     

  若觉得showdoc好用,不妨到github点个star。良好的关注度和参与度有助于开源项目的长远发展      

回答

6

这个提示表示已经安装成功。你不能访问大概是因为没放行端口

4

要放行4999端口

4

原来域名输错了?,见笑了。打扰了,谢谢帮助。?