通常情况下这个插件需要手动开启

./prepare --with-clair

 需要重启服务:

[root@client_15_k8s_clould harbor]# docker-compose -f docker-compose.yml up -d
Creating network "harbor_harbor-clair" with the default driver
WARNING: Found orphan containers (chartmuseum) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up.
harbor-log is up-to-date
Recreating harbor-db ... 
Recreating harbor-db   ... done
Recreating registryctl ... done
Recreating registry    ... done
Recreating redis       ... done
Recreating harbor-core ... done
Creating clair         ... done
Creating clair-adapter ... done
Recreating harbor-jobservice ... 
Recreating harbor-jobservice ... done

 

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐