docker-registry-ui 提示 Pagination number invalid 错误

 

错误描述

{"errors":[{"code":"PAGINATION_NUMBER_INVALID","message":"invalid number of results requested","detail":{"n":100000}}]}

 

 

解决方法 

加一个参数 -e CATALOG_ELEMENTS_LIMIT="1000" \

 

docker run -p 8280:80 --name registry-ui \
--link registry2:registry2 \
-e REGISTRY_URL="http://registry2:5000" \
-e DELETE_IMAGES="true" \
-e REGISTRY_TITLE="Registry2" \
-e CATALOG_ELEMENTS_LIMIT="1000" \
-d joxit/docker-registry-ui:static

 

posted @ 2023-08-10 16:53  羊途踪  阅读(775)  评论(0编辑  收藏  举报