宝塔用户_lnxedd 发表于 2024-6-23 17:19:06

【待反馈】docker 宝塔提示错误

docker run -d --restart unless-stopped --name baota --net=host -v /www/wwwroot:/www/wwwroot -v /www/server/data:/www/server/data -v /www/server/panel/vhost:/www/server/panel/vhost btpanel/baota:lnmp
Unable to find image 'btpanel/baota:lnmp' locally
lnmp: Pulling from btpanel/baota
2d473b07cdd5: Pull complete
13e8d4bd5f0a: Pull complete
e88862d865b6: Pull complete
a2586a4d0db1: Pull complete
8b4366213e81: Pull complete
dc8dc3cd018e: Pull complete
Digest: sha256:fbfaa0c7ed8828f84df39d84fd73ed8738b8e73888298cf5f2da5c6967e32312
Status: Downloaded newer image for btpanel/baota:lnmp
5a60cc643234fa53eb1a49b6c27c4a29c8dc509706b55e8a92c87d5f58b9cd2f


启动容器提示unhealthy错误




"/www/server/data/photon-machine.err" 发不了内容只能发图





运维技术阿闯 发表于 2024-6-24 11:47:30

您好,您查看一下镜像是否存在,docker images来查看一下
如果确认镜像存在且标签正确,可以尝试手动拉取该镜像:
docker pull btpanel/baota:lnmp
如果您使用的是国内的镜像源的话,建议更换为国外镜像或者是使用加速站
unhealthy提示为健康检查没有通过,您可以检查容器定义的健康检查方式,以确定具体哪个健康检查失败。
以及看一下内存cpu是否充足

宝塔用户_lnxedd 发表于 2024-7-13 21:20:22

复制代码上传提示这个 只有发图了 不好意思


宝塔用户_lnxedd 发表于 2024-7-13 21:30:49

本帖最后由 宝塔用户_lnxedd 于 2024-7-13 21:34 编辑

# free -m
            total      used      free      sharedbuff/cache   available
Mem:         1838         642         356         7         839      1005
Swap:          4095          22      4073
#

宝塔用户_lnxedd 发表于 2024-7-14 10:48:06

btpanel/baota:7.9.4-lnmp 正常

运维技术阿闯 发表于 2024-7-15 11:44:43

宝塔用户_lnxedd 发表于 2024-7-14 10:48


您好,nginx:打开“/www/server/nginx/conf/enable-php.conf" 失败(2:没有这样的文件或目录)在/www/server/nginx/conf/nginX.conf:77/bt.sh:第12行:
您这边应该是配置的时候有误导致的,您看检查一下nginx.conf的第77行所写的内容
页: [1]
查看完整版本: 【待反馈】docker 宝塔提示错误