1、停止docker harbor

docker-compose stop

2、预览运行效果

docker run -it --name gc --rm --volumes-from registry vmware/registry:2.6.2-photon garbage-collect --dry-run /etc/registry/config.yml

3、执行删除

docker run -it --name gc --rm --volumes-from registry vmware/registry:2.6.2-photon garbage-collect  /etc/registry/config.yml

4、启动harbor

docker-compose start

 

posted on 2020-07-03 21:03  海豚汪洋  阅读(392)  评论(0编辑  收藏  举报