{"id":80699,"date":"2023-10-08T14:31:10","date_gmt":"2023-10-08T06:31:10","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=80699"},"modified":"2023-10-08T14:31:10","modified_gmt":"2023-10-08T06:31:10","slug":"know-docker-index","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/know-docker-index.html","title":{"rendered":"\u77e5\u9053\u4ec0\u4e48\u662fdocker index\u670d\u52a1\u5c31\u770b\u8fd9\u91cc\u3002"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | index\u987e\u540d\u601d\u4e49\u201c\u7d22\u5f15\u201d\uff0cindex\u670d\u52a1\u4e3b\u8981\u63d0\u4f9b\u955c\u50cf\u7d22\u5f15\u4ee5\u53ca\u7528\u6237\u8ba4\u8bc1\u7684\u529f\u80fd\u3002\u5f53\u4e0b\u8f7d\u4e00\u4e2a\u955c\u50cf\u7684\u65f6\u5019\uff0c\u5982\u4e0b\u56fe\u6240\u793a\uff0c\u9996\u5148\u4f1a\u53bbindex\u670d\u52a1\u4e0a \u505a\u8ba4\u8bc1\uff0c\u7136\u540e\u67e5\u627e\u955c\u50cf\u6240\u5728\u7684registry\u7684\u5730\u5740\u5e76\u653e\u56de\u7ed9docker\u5ba2\u6237\u7aef\uff0c\u6700\u7ec8docker\u5ba2\u6237\u7aef\u518d\u4eceregistry\u4e0b\u8f7d\u955c\u50cf\uff0c\u5f53\u7136\u5728\u4e0b\u8f7d\u8fc7\u7a0b\u4e2d registry\u4f1a\u53bbindex\u6821\u9a8c\u5ba2\u6237\u7aeftoken\u7684\u5408\u6cd5\u6027\u3002\u4e0d\u540c\u955c\u50cf\u53ef\u4ee5\u4fdd\u5b58\u5728\u4e0d\u540c\u7684registry\u670d\u52a1\u4e0a\uff0c\u5176\u7d22\u5f15\u4fe1\u606f\u90fd\u653e\u5728index\u670d\u52a1\u4e0a\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \ndocker\u4ed3\u5e93 \u7684\u5b9e\u73b0\uff0c\u6709\u4e24\u79cd\u8fd0\u884c\u6a21\u5f0f index\u670d\u52a1\u5bf9\u5916\u63d0\u4f9b\u7684\u63a5\u53e3<\/strong><\/div>\n \nindex\u5bf9\u5916\u63d0\u4f9b\u7684REST API\u63a5\u53e3\u5982\u4e0b\uff1a<\/p>\n PUT \/v1\/repositories\/(namespace)\/(repo_name)\/<\/pre>\n |