creditease-sec / insight

洞察-宜信集应用系统资产管理、漏洞全生命周期管理、安全知识库管理三位一体的平台。
GNU General Public License v3.0
1.17k stars 445 forks source link

Error: could not find config file srcpm/supervisor.conf #20

Open chglory opened 6 years ago

chglory commented 6 years ago

[root@bj2 insight]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 59b6c8a04af5 daocloud.io/liusheng/vulpm_docker:latest "sh -c 'supervisor..." 6 minutes ago Exited (2) 6 minutes ago open_source_srcpm cb0053f35d22 mysql "docker-entrypoint..." 24 minutes ago Up 24 minutes 127.0.0.1:6606->3306/tcp open_source_mysqldb [root@bj2 insight]# docker logs 59b Error: could not find config file srcpm/supervisor.conf For help, use /usr/bin/supervisord -h [root@bj2 insight]#

byr0nchan commented 6 years ago

look find the file 'srcpm/supervisor.conf' 看看目录文件下是否有这个文件,Git clone的时候

chglory commented 6 years ago

'srcpm/supervisor.conf'这个文件是存在的。我在想是不是容器里面缺少这个文件

Ra6b1t commented 6 years ago

-v参数会把本地的目录挂载到容器中去。 确认以下两件事情: 1、在srcpm的上层目录,即insight目录启动docker 2、关闭selinux,这玩意可能会使挂载失败

wuleiisme commented 6 years ago

在项目目录下启动容器,确保当前目录下存在srcpm文件夹