当我从 clair 目录执行“docker-compose up -d”时,clair 服务器保持重新启动模式。它没有出现。
克莱尔版本:4.3.6
预期结果
$ docker-compose ps
Name Command State Ports
---------------------------------------------------------------------------------------
clair_clair_1 /usr/local/bin/catatonit - ... Up -> this should be Up
clair_clairctl_1 /usr/sbin/crond -f Up 44480/tcp
clair_postgres_1 docker-entrypoint.sh postgres Up 5432/tcp
registry /entrypoint.sh /etc/docker ... Up 0.0.0.0:5000->5000/tcp
实际结果
$ docker-compose ps
Name Command State Ports
---------------------------------------------------------------------------------------
clair_clair_1 /usr/local/bin/catatonit - ... Restarting
clair_clairctl_1 /usr/sbin/crond -f Up 44480/tcp
clair_postgres_1 docker-entrypoint.sh postgres Up 5432/tcp
registry /entrypoint.sh /etc/docker ... Up 0.0.0.0:5000->5000/tcp
任何帮助都感激不尽。
谢谢, 金贾尔