Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

容器部署成功后,前端访问提示“服务器错误” #1

Open
chenjigang4167 opened this issue Sep 8, 2022 · 6 comments
Open

Comments

@chenjigang4167
Copy link

容器方式部署的,1.0.22版本
image
查看容器日志也未发现任何异常
image
当时创建容器命令如下:
docker run --restart always --name docker.ui -d -v /home/docker_data/docker.ui/docker.sock:/var/run/docker.sock -p 8999:8999 joinsunsoft/docker.ui
容器状态正常

@Travele0
Copy link

Travele0 commented Sep 9, 2022

我也是遇到这样的报错,一直监控不到

@MarkedBoat
Copy link

MarkedBoat commented Mar 1, 2023

接口500错误,同样的问题

好了,把路径改一下 -v /home/docker_data/docker.ui/docker.sock:/var/run/docker.sock,要监听主机docker.sock

@Sogaing
Copy link

Sogaing commented Apr 2, 2023

容器方式部署的,1.0.22版本 image 查看容器日志也未发现任何异常 image 当时创建容器命令如下: docker run --restart always --name docker.ui -d -v /home/docker_data/docker.ui/docker.sock:/var/run/docker.sock -p 8999:8999 joinsunsoft/docker.ui 容器状态正常

这个问题解决了吗

@Sogaing
Copy link

Sogaing commented Apr 2, 2023

这个命令可以
docker run --restart always --name docker.ui -d -v /var/run/docker.sock:/var/run/docker.sock -p 8999:8999 joinsunsoft/docker.ui

@Sogaing
Copy link

Sogaing commented Apr 2, 2023

修改密码提示成功但是还是得用旧密码登录呀

@MarkedBoat
Copy link

今天又一次遇到了,升级下 docker 版本就行了

 sudo rpm -qa | grep docker|xargs -I {} sudo yum remove -y  {}
 sudo rpm -qa | grep docker
 sudo yum install -y yum-utils device-mapper-persistent-data lvm2
 sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
 yum list docker-ce --showduplicates | sort -r
 sudo yum install docker-ce docker-ce-cli containerd.io
 systemctl start docker
 sudo docker run --restart always --name docker-ui -d -v /var/run/docker.sock:/var/run/docker.sock -p 8999:8999 joinsunsoft/docker.ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants