关灯
开启左侧

[Windows主机] docker httpd (pid 1) already running

[复制链接]
Vecloud 发表于 2022-4-8 10:12:58 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
 
分析原因是因为容器重启后httpd.pid 未删除,导致重启的时候检测到 apache 服务在运行
error
httpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runninghttpd (pid 1) already runningroot@ubuntu:/var/lib/docker/overlay2#docker container inspect 7e336d136e827e8b3daffbd80363d0daf4d0a40a54c5dfda85727bfdf1e9f7e5
搜索
root@ubuntu:/var/lib/docker/overlay2# find ./ -name apache2.pid删除
root@ubuntu:/var/lib/docker/overlay2# rm -rf ./92cce34fc1ca4585ec25d729949f573a92b39ac0dd7f2fc8cc42b5a17016afb4/diff/run/apache2/apache2.pid即可启动容器了
 
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


0关注

0粉丝

107帖子

热门图文
热门帖子
排行榜
作者专栏

关注我们:微信订阅号

官方微信

APP下载

全国服务Q Q:

956130084

中国·湖北

Email:956130084@qq.com

Copyright   ©2015-2022  站长技术交流论坛|互联网技术交流平台Powered by©Discuz!技术支持:得知网络  

鄂公网安备 42018502006730号

  ( 鄂ICP备15006301号-5 )