{"id":236458,"date":"2022-03-09T09:19:04","date_gmt":"2022-03-09T01:19:04","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=236458"},"modified":"2022-02-24T21:20:15","modified_gmt":"2022-02-24T13:20:15","slug":"container-registry","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/container-registry.html","title":{"rendered":"\u5982\u4f55\u9009\u62e9\u5bb9\u5668\u6ce8\u518c\u8868\uff1f\u8fd9\u91cc\u7ed9\u51fa\u4e5d\u4e2a\u9009\u9879"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u5f88\u591a\u4eba\u5e0c\u671b\u4e86\u89e3\u5982\u4f55\u6b63\u786e\u5730\u9009\u62e9\u5bb9\u5668\u6ce8\u518c\u8868\uff0c\u4ee5\u53ca\u4e3a\u6ee1\u8db3\u5176\u8f6f\u4ef6\u5f00\u53d1\u9700\u6c42\u63d0\u4f9b\u7684\u4e00\u4e9b\u9009\u62e9\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u57282013\u5e74\u8bde\u751f\u7684\u5f00\u6e90Docker\u5f15\u64ce\u4fc3\u4f7f\u5bb9\u5668\u5316\u6210\u4e3a\u5b9e\u73b0\u4e91\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6d41\u7a0b\u73b0\u4ee3\u5316\u7684\u7b2c\u4e00\u6b65\u3002\u5728Docker\u5f15\u64ce\u51fa\u73b0\u4e4b\u524d\uff0c\u7528\u6237\u5fc5\u987b\u4e3a\u7279\u5b9a\u7684\u8ba1\u7b97\u673a\/\u786c\u4ef6\u914d\u7f6e\u5e94\u7528\u7a0b\u5e8f\u3002\u4f46\u8fd9\u79cd\u65b9\u6cd5\u7684\u7f3a\u70b9\u662f\uff0c\u5c06\u5e94\u7528\u7a0b\u5e8f\u548c\u6570\u636e\u4ece\u4e00\u53f0\u670d\u52a1\u5668\u79fb\u52a8\u5230\u53e6\u4e00\u53f0\u670d\u52a1\u5668\u53ef\u80fd\u4f1a\u5f88\u8017\u65f6\u3002<\/p>\n

\u4f46\u662f\uff0c\u968f\u7740Docker Registry\u7684\u63a8\u51fa\uff0c\u7ba1\u7406\u548c\u7ec4\u7ec7\u5bb9\u5668\u6ce8\u518c\u8868\u7684\u957f\u671f\u6311\u6218\u5f97\u5230\u4e86\u89e3\u51b3\u3002\u4e8b\u5b9e\u4e0a\uff0cDocker Registry\u8fc5\u901f\u6210\u4e3a\u4e86\u8f6f\u4ef6\u884c\u4e1a\u7684\u6807\u51c6\u3002\u5982\u4eca\uff0cDocker Registry\u5e2e\u52a9\u5f88\u591a\u4f01\u4e1a\u901a\u8fc7\u5176\u8f6f\u4ef6\u5f00\u53d1\u8fc7\u7a0b\u5728\u4e00\u4e2a\u4e2d\u5fc3\u4f4d\u7f6e\u6536\u96c6\u3001\u5b58\u50a8\u548c\u4ea4\u4ed8\u4e0d\u540c\u9636\u6bb5\u7684\u5bb9\u5668\u955c\u50cf\u3002<\/p>\n

\u672c\u6587\u6982\u8ff0\u4e86\u4eba\u4eec\u9700\u8981\u4e86\u89e3\u7684\u5bb9\u5668\u6ce8\u518c\u8868\u6838\u5fc3\u529f\u80fd\uff0c\u4ee5\u5e2e\u52a9\u9009\u62e9\u9002\u5408\u8f6f\u4ef6\u5f00\u53d1\u9700\u6c42\u7684\u5bb9\u5668\u6ce8\u518c\u8868\u3002<\/p>\n

\u4ec0\u4e48\u662f\u5bb9\u5668\u6ce8\u518c\u8868?<\/strong><\/div>\n

\u5bb9\u5668\u6ce8\u518c\u8868\u662f\u4e00\u4e2a\u9ad8\u5ea6\u53ef\u6269\u5c55\u7684\u670d\u52a1\u5668\u7aef\u5e94\u7528\u7a0b\u5e8f\uff0c\u5b83\u5141\u8bb8\u6301\u7eed\u96c6\u6210(CI)\/\u6301\u7eed\u4ea4\u4ed8(CD)\u7cfb\u7edf\u3001\u5f00\u53d1\u4eba\u5458\u548c\u6d4b\u8bd5\u4eba\u5458\u5b58\u50a8\u5728\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u671f\u95f4\u521b\u5efa\u7684\u56fe\u50cf\u3002\u5b58\u50a8\u5728\u5bb9\u5668\u6ce8\u518c\u8868\u4e2d\u7684\u6620\u50cf\u7528\u4e8eKubernetes\u3001DevOps\u548c\u57fa\u4e8e\u5bb9\u5668\u7684\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u3002\u5176\u793a\u4f8b\u5305\u62ecDocker Hub\u3001Amazon ECR\u548cAzure\u3002<\/p>\n

\u5982\u4f55\u9009\u62e9\u5408\u9002\u7684\u5bb9\u5668\u6ce8\u518c\u8868?<\/strong><\/div>\n

\u5728\u9009\u62e9\u5bb9\u5668\u6ce8\u518c\u8868\u65f6\uff0c\u5e02\u573a\u5e76\u4e0d\u7f3a\u4e4f\u4e00\u4e9b\u6559\u5b66\u6cd5\u9009\u62e9\uff0c\u8fd9\u53ef\u80fd\u4f7f\u9009\u62e9\u5408\u9002\u7684\u5bb9\u5668\u6ce8\u518c\u8868\u6210\u4e3a\u4e00\u9879\u8270\u5de8\u7684\u4efb\u52a1\u3002\u4f46\u662f\uff0c\u5728\u7528\u6237\u5f00\u59cb\u9009\u62e9\u4e4b\u524d\uff0c\u9700\u8981\u4e8b\u5148\u8003\u8651\u7684\u6838\u5fc3\u95ee\u9898\uff1a<\/p>\n

\u9664\u4e86\u5bb9\u5668\u6620\u50cf\u4e4b\u5916\uff0c\u8fd8\u60f3\u627f\u8f7d\u5176\u4ed6\u5de5\u4ef6\u5417?\u4e00\u4e9b\u5bb9\u5668\u6ce8\u518c\u8868\u652f\u6301\u5176\u4ed6\u7c7b\u578b\u7684\u6587\u4ef6\uff0c\u4f8b\u5982Java\u3001Node.js\u751a\u81f3Python\u5305\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u6709\u4e9b\u53ea\u652f\u6301\u5bb9\u5668\u955c\u50cf\u3002<\/p>\n

\u9700\u8981\u989d\u5916\u7684\u5b89\u5168\u6027\u5417?\u53ea\u6709\u5c11\u6570\u5bb9\u5668\u6ce8\u518c\u8868\u63d0\u4f9b\u7684\u529f\u80fd\u66f4\u5b89\u5168\uff0c\u6bcf\u5f53\u7528\u6237\u5c06\u56fe\u50cf\u63a8\u9001\u5230\u6ce8\u518c\u8868\u65f6\u4f1a\u8fdb\u884c\u6f0f\u6d1e\u626b\u63cf\u3002
\n\u5e94\u8be5\u4f7f\u7528\u672c\u5730\u8fd8\u662f\u6258\u7ba1\u5bb9\u5668\u6ce8\u518c\u8868?<\/p>\n

\u5982\u679c\u7528\u6237\u51b3\u5b9a\u4ece\u4e00\u4e2a\u5bb9\u5668\u8fc1\u79fb\u5230\u53e6\u4e00\u4e2a\u5bb9\u5668\uff0c\u5219\u4efb\u52a1\u76f8\u5bf9\u5bb9\u6613\u3002<\/p>\n

\u53ef\u7528\u7684\u5bb9\u5668\u6ce8\u518c\u8868\u6709\u54ea\u4e9b?<\/strong><\/div>\n
1.AWS\u5f39\u6027\u5bb9\u5668\u6ce8\u518c\u8868(AWS ECR)<\/strong><\/span><\/div>\n

AWS ECR\u53ef\u4ee5\u914d\u7f6e\u4e3a\u652f\u6301\u79c1\u6709\u548c\u516c\u5171Docker\u6ce8\u518c\u8868\u3002\u8fd9\u4e9b\u6ce8\u518c\u8868\u53ef\u4e0eAWS IAM\u4e00\u8d77\u4f7f\u7528\uff0c\u4ee5\u63a7\u5236\u7528\u6237\u7684\u8bbf\u95ee\u7ea7\u522b\u3001\u670d\u52a1\u548c\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u672c\u8d28\u4e0a\uff0c\u53ef\u4ee5\u5b9a\u4e49\u54ea\u4e9b\u7528\u6237\u53ef\u4ee5\u8bbf\u95ee\u53d7\u4fdd\u62a4\u7684\u5bb9\u5668\u6620\u50cf\u3002<\/p>\n

AWS ECR\u8fd8\u914d\u5907\u4e86\u6f0f\u6d1e\u56fe\u50cf\u626b\u63cf\u529f\u80fd\uff0c\u4f7f\u5176\u6210\u4e3aDevSecOps\u7684\u57fa\u672c\u529f\u80fd\u3002\u8fd9\u662f\u56e0\u4e3a\u5b83\u4f7f\u7528Clair\u7684\u516c\u5171\u6f0f\u6d1e\u548c\u66b4\u9732(CVE)\u6570\u636e\u5e93\u6765\u8bc4\u4f30\u6240\u53d1\u73b0\u95ee\u9898\u7684\u4e25\u91cd\u6027\u3002AWS ECR\u7684\u53e6\u4e00\u4e2a\u91cd\u8981\u529f\u80fd\u662f\u4e0d\u53ef\u53d8\u56fe\u50cf\u6807\u7b7e\u3002\u5728\u542f\u7528\u4e4b\u540e\uff0c\u8fd9\u4e00\u529f\u80fd\u53ef\u786e\u4fdd\u5c06\u6620\u50cf\u63a8\u9001\u5230\u5bb9\u5668\u6ce8\u518c\u8868\u4e4b\u540e\uff0c\u4efb\u4f55\u4eba\u90fd\u65e0\u6cd5\u8986\u76d6\u8be5\u6620\u50cf\u3002<\/p>\n

2.Azure\u5bb9\u5668\u6ce8\u518c\u8868(ACR)<\/strong><\/span><\/div>\n

\u5fae\u8f6f\u516c\u53f8\u7684Azure\u5bb9\u5668\u6ce8\u518c\u8868\u57fa\u4e8eDocker Registry 2.0\uff0c\u5176\u4e2d\u8eab\u4efd\u9a8c\u8bc1\u7531Azure RBAC\u7ba1\u7406\u3002Azure\u7684\u5bb9\u5668\u6ce8\u518c\u8868\u5177\u6709\u5927\u591a\u6570\u7ade\u4e89\u5bf9\u624b\u5c1a\u672a\u63d0\u4f9b\u7684\u529f\u80fd\uff0c\u4f8b\u5982\uff1a<\/p>\n

    \n\u81ea\u52a8\u6e05\u9664\u65e7\u56fe\u50cf\u3002
    \n\u672a\u6807\u8bb0\u6e05\u5355\u7684\u4fdd\u7559\u7b56\u7565\u3002
    \n\u5185\u5bb9\u4fe1\u4efb\u3002\n<\/ol>\n

    \u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u5185\u5bb9\u4fe1\u4efb\u662f\u57fa\u4e8eDocker\u521b\u5efa\u7684\u4e00\u4e2a\u6982\u5ff5\uff0c\u5b83\u5141\u8bb8\u7528\u6237\u5bf9\u63a8\u9001\u5230Azure\u5bb9\u5668\u6ce8\u518c\u8868\u7684\u56fe\u50cf\u8fdb\u884c\u7b7e\u540d\u3002<\/p>\n

    \u5728\u672c\u8d28\u4e0a\uff0c\u53ef\u80fd\u4f7f\u7528\u56fe\u50cf\u7684\u5e94\u7528\u7a0b\u5e8f\/\u7528\u6237\u5c06\u5176\u5ba2\u6237\u7aef\u914d\u7f6e\u4e3a\u4ec5\u63d0\u53d6\u7b7e\u540d\u7684\u56fe\u50cf\u3002\u540c\u65f6\uff0cDocker\u5ba2\u6237\u7aef\u53ef\u4ee5\u9a8c\u8bc1\u56fe\u50cf\u7684\u5b8c\u6574\u6027\uff0c\u4ece\u800c\u786e\u4fdd\u56fe\u50cf\u5df2\u7ecf\u53d1\u5e03\uff0c\u5e76\u4e14\u5728\u53d1\u5e03\u540e\u672a\u88ab\u4fee\u6539\u3002\u9664\u4e86\u6258\u7ba1Docker\u5bb9\u5668\u6620\u50cf\u4e4b\u5916\uff0cAzure\u5bb9\u5668\u6ce8\u518c\u8868\u8fd8\u652f\u6301OCI\u6620\u50cf\u3001OCI\u5de5\u4ef6\u548cHelm\u56fe\u8868\u3002<\/p>\n

    \u800c\u5728\u5b9a\u4ef7\u4fe1\u606f\u65b9\u9762\uff0c\u5fae\u8f6f\u516c\u53f8\u4f7f\u7528\u5206\u5c42\u7cfb\u7edf\u7684\u65b9\u5f0f\u6709\u6240\u4e0d\u540c\u3002<\/p>\n

    3.Docker Hub\u5bb9\u5668\u6ce8\u518c\u8868<\/strong><\/span><\/div>\n

    Docker Hub\u53ef\u80fd\u662f\u5f53\u524d\u6700\u6d41\u884c\u7684\u5bb9\u5668\u6ce8\u518c\u8868\uff0c\u56e0\u4e3a\u5b83\u662f\u9ed8\u8ba4\u7684Docker\u5b58\u50a8\u5e93\u3002\u5b83\u5145\u5f53\u516c\u5171\u5bb9\u5668\u6620\u50cf\u7684\u5e02\u573a\uff0c\u5982\u679c\u51b3\u5b9a\u516c\u5f00\u5206\u53d1\u6620\u50cf\uff0c\u5b83\u662f\u6700\u4f73\u9009\u62e9\u3002\u6709\u8da3\u7684\u662f\uff0cDocker Hub\u7684\u514d\u8d39\u9009\u9879\u5728\u4e00\u6bb5\u65f6\u95f4\u5185\u975e\u5e38\u6709\u5438\u5f15\u529b\uff0c\u76f4\u5230\u4e00\u4e9b\u7528\u6237\u5f00\u59cb\u7528\u6765\u6316\u6398\u5177\u6709\u81ea\u52a8\u6784\u5efa\u529f\u80fd\u7684\u52a0\u5bc6\u8d27\u5e01\u3002<\/p>\n

    \u56e0\u6b64\uff0c\u5f00\u53d1\u5546\u5bf9Docker\u7684pull\/push\u955c\u50cf\u8bbe\u7f6e\u4e86\u4e00\u4e9b\u9650\u5236\uff0c\u5e76\u91cd\u65b0\u601d\u8003\u5982\u4f55\u901a\u8fc7Docker Hub\u83b7\u5229\u3002\u7528\u6237\u9700\u8981\u4e86\u89e3\u6709\u5173\u901f\u7387\u9650\u5236\u66f4\u6539\u7684\u66f4\u591a\u4fe1\u606f\uff0c\u4ee5\u53ca\u5411Docker Hub\u81ea\u52a8\u6784\u5efa\u7684\u8f6c\u53d8\u3002\u907f\u514dDocker\u7684\u62c9\/\u53d6\u56fe\u50cf\u901f\u7387\u9650\u5236\u7684\u4e00\u79cd\u65b9\u6cd5\u662f\u4f7f\u7528\u7f13\u5b58\u4ee3\u7406\u3002<\/p>\n

    \u5728\u5b9a\u4ef7\u65b9\u9762\uff0c\u5c42\u7ea7\u7cfb\u7edf\u5141\u8bb8\u7528\u6237\u901a\u8fc7\u4ed8\u8d39\u8ba1\u5212\u89e3\u9501\u67d0\u4e9b\u7279\u5b9a\u529f\u80fd\u3002\u4f46\u662f\uff0c\u603b\u4f53\u6210\u672c\u4e0d\u4f1a\u50cf\u4f7f\u7528AWS ECR\u6216\u5fae\u8f6f\u7684Azure\u5bb9\u5668\u6ce8\u518c\u8868(ACR) \u7b49\u5176\u4ed6\u4e00\u4e9b\u89e3\u51b3\u65b9\u6848\u90a3\u6837\u6709\u6548\u3002<\/p>\n

    4.GitHub\u8f6f\u4ef6\u5305\u6ce8\u518c\u8868<\/strong><\/span><\/div>\n

    2019\u5e745\u6708\uff0cGitHub\u63a8\u51fa\u4e86\u8f6f\u4ef6\u5305\u6ce8\u518c\u89e3\u51b3\u65b9\u6848\u3002\u7531\u4e8e\u5176\u89e3\u51b3\u65b9\u6848\u7684\u6210\u529f\uff0c\u4ed6\u4eec\u57282020\u5e749\u6708\u53d1\u5e03\u4e86\u5bf9\u5bb9\u5668\u955c\u50cf\u7684\u652f\u6301\uff0c\u5e76\u9996\u5148\u4f5c\u4e3a\u6d4b\u8bd5\u9009\u9879\u3002GitHub\u5bb9\u5668\u6ce8\u518c\u8868\u7684\u4e00\u4e2a\u4ee4\u4eba\u5173\u6ce8\u7684\u65b9\u9762\u662f\u5b83\u63d0\u4f9b\u4e86\u65e0\u7f1d\u4f53\u9a8c\uff0c\u5c24\u5176\u662f\u5bf9\u5f00\u53d1\u4eba\u5458\u800c\u8a00\u3002\u57fa\u672c\u4e0a\uff0c\u8eab\u4efd\u9a8c\u8bc1\u662f\u4f7f\u7528\u4e2a\u4eba\u8bbf\u95ee\u4ee4\u724c\u7ba1\u7406\u7684\u3002<\/p>\n

    \u53e6\u4e00\u79cd\u9009\u62e9\u662f\u4f7f\u7528\u516c\u5171\u5b58\u50a8\u5e93\uff0c\u5c3d\u7ba1\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4f01\u4e1a\u9700\u8981\u5176\u7528\u6237\u4f7f\u7528GitHub\u7528\u6237\u5e10\u6237\u8fdb\u884c\u8eab\u4efd\u9a8c\u8bc1\u3002\u603b\u4f53\u800c\u8a00\uff0cGitHub\u8f6f\u4ef6\u5305\u6ce8\u518c\u8868\u80af\u5b9a\u4e0d\u662f\u5305\u542b\u6700\u591a\u529f\u80fd\u7684\u5bb9\u5668\u6ce8\u518c\u8868\u3002\u4f46\u662f\uff0c\u5982\u679c\u6253\u7b97\u4f7f\u7528GitHub Actions\uff0c\u5176\u5b9a\u4ef7\u66f4\u5177\u7ade\u4e89\u529b\uff0c\u56e0\u4e3a\u4e0d\u9700\u8981\u4e3a\u5165\u53e3\u4ed8\u8d39\u3002<\/p>\n

    5.GitLab\u5bb9\u5668\u6ce8\u518c\u8868<\/strong><\/span><\/div>\n

    GitLab\u6709\u81ea\u5df1\u7684\u5bb9\u5668\u6ce8\u518c\u8868\uff0c\u53ef\u4ee5\u514d\u8d39\u4f7f\u7528\uff0c\u5e76\u652f\u6301Docker\u5bb9\u5668\u6620\u50cf\u4ee5\u53caHelm Chart(\u4ecd\u5904\u4e8e\u6d4b\u8bd5\u9636\u6bb5)\u3002\u5982\u679c\u4f7f\u7528GitLab\u7684\u81ea\u6258\u7ba1\u7248\u672c\u6216\u901a\u8fc7\u57fa\u4e8e\u4e91\u7684GitLab\uff0c\u5b83\u53ef\u4ee5\u662f\u81ea\u6258\u7ba1\u7684\u3002GitLab\u5bb9\u5668\u6ce8\u518c\u8868\u7684\u4e00\u5927\u7279\u8272\u662f\u5b83\u7684\u6e05\u7406\u7b56\u7565\uff0c\u5b83\u53ef\u4ee5\u5220\u9664\u5339\u914d\u67d0\u4e2a\u6b63\u5219\u8868\u8fbe\u5f0f\u6a21\u5f0f\u7684\u6807\u7b7e\u3002<\/p>\n

    \u6216\u8005\uff0c\u7528\u6237\u53ef\u4ee5\u5c1d\u8bd5\u91c7\u7528GitLab Package Registry\uff0c\u5b83\u4e5f\u662f\u514d\u8d39\u7684\uff0c\u5e76\u4e14\u652f\u6301Composer\u3001Conan\u3001Generic\u3001Maven\u3001npm\u3001NuGet\u3001PyPI\u548cRubyGem\u3002\u6beb\u65e0\u7591\u95ee\uff0c\u5982\u679c\u5df2\u7ecf\u5c06GitLab\u7528\u4e8e\u9879\u76ee\u5b58\u50a8\u5e93\uff0c\u8fd9\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u9009\u62e9\u3002<\/p>\n

    6.\u8c37\u6b4c\u5bb9\u5668\u6ce8\u518c\u8868(GAR)<\/strong><\/span><\/div>\n

    \u8c37\u6b4c\u5bb9\u5668\u6ce8\u518c\u8868(GAR)\u5728\u4ee5\u524d\u662f\u503c\u5f97\u63a8\u8350\u7684\u9009\u9879\uff0c\u4f46\u81ea\u4ece2021\u5e74\u590f\u5b63\u4ee5\u6765\uff0c\u8c37\u6b4c\u516c\u53f8\u4e00\u76f4\u8981\u6c42\u4ed6\u4eec\u7684\u5ba2\u6237\u8fc7\u6e21\u5230\u8c37\u6b4c\u5bb9\u5668\u6ce8\u518c\u8868(GAR)\uff0c\u56e0\u4e3aGCR\u53ea\u63a5\u6536\u5173\u952e\u7684\u5b89\u5168\u4fee\u590d\u7a0b\u5e8f\u3002\u4ece\u672c\u8d28\u4e0a\u6765\u8bf4\uff0cGAR\u662f\u4ed6\u4eec\u5904\u7406\u5bb9\u5668\u955c\u50cf\u548c\u975e\u5bb9\u5668\u5de5\u4ef6(\u4f8b\u5982Maven\u3001npm\u3001Python\u3001Apt\u751a\u81f3Yum\u5305)\u7684\u65b0\u65b9\u6cd5\u3002<\/p>\n

    \u9996\u5148\uff0cGAR\u53ef\u4ee5\u8f7b\u677e\u5730\u4e0e\u6301\u7eed\u96c6\u6210(CI)\/\u6301\u7eed\u4ea4\u4ed8(CD)\u7ba1\u9053\u96c6\u6210\uff0c\u4ee5\u7b80\u5316\u5bb9\u5668\u7684\u6784\u5efa\u548c\u90e8\u7f72\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u63d0\u4f9b\u626b\u63cf\u56fe\u50cf\u4e2d\u7684\u6f0f\u6d1e\uff0c\u7528\u6237\u53ef\u4ee5\u4eba\u5de5\u542f\u7528\u3002<\/p>\n

    7.Harbor\u5bb9\u5668\u6ce8\u518c\u8868<\/strong><\/span><\/div>\n

    Harbour\u521b\u5efa\u4e8e2014\u5e74\uff0c\u5e76\u4e8e2016\u5e74\u8f6c\u4e3a\u5f00\u6e90\u6a21\u578b\uff0c\u5e76\u65e0\u7591\u662fVMware\u516c\u53f8\u6700\u6210\u529f\u7684\u5f00\u6e90\u9879\u76ee\u4e4b\u4e00\u3002Harbor\u662f\u4e00\u4e2a\u5bb9\u5668\u6ce8\u518c\u8868\uff0c\u9700\u8981\u7528\u6237\u81ea\u884c\u5b89\u88c5\u3001\u914d\u7f6e\u548c\u7ba1\u7406\u3002\u4f7f\u7528\u5176Docker\u5bb9\u5668\u6613\u4e8e\u90e8\u7f72\uff0c\u53ef\u4ee5\u5c06\u5176\u4e0e\u4efb\u4f55\u652f\u6301Docker\u7684Linux\u53d1\u884c\u7248\u4e00\u8d77\u4f7f\u7528\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0c\u8fd8\u53ef\u4ee5\u5728Kubernetes\u96c6\u7fa4\u4e0a\u4f7f\u7528Helm Chart\u90e8\u7f72Harbor\u3002<\/p>\n

    Harbor\u5bb9\u5668\u6ce8\u518c\u8868\u8fd8\u652f\u6301\u5e0c\u671b\u4ece\u5bb9\u5668\u6ce8\u518c\u8868\u4e2d\u83b7\u5f97\u7684\u5927\u591a\u6570\u529f\u80fd\uff0c\u4f8b\u5982\uff1a<\/p>\n

      \n\u6f0f\u6d1e\u626b\u63cf
      \n\u5783\u573e\u6536\u96c6
      \n\u8de8\u533a\u57df\u590d\u5236
      \n\u5185\u5bb9\u4fe1\u4efb\n<\/ol>\n

      \u603b\u7684\u6765\u8bf4\uff0c\u5982\u679c\u8ba1\u5212\u6258\u7ba1\u5bb9\u5668\u6ce8\u518c\u8868\uff0c\u8fd9\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n

      8.Red Hat Quay<\/strong><\/span><\/div>\n

      Quay\u6700\u521d\u521b\u5efa\u4e8e2012\u5e74\uff0c\u5728\u8fc7\u53bb\u51e0\u5e74\u4e2d\u53d1\u751f\u4e86\u91cd\u5927\u53d8\u5316\u3002\u9996\u5148\uff0c\u8fd9\u4e2a\u5bb9\u5668\u6ce8\u518c\u8868\u57282014\u5e74\u88abCoreOS\u516c\u53f8\u6536\u8d2d\uff0c\u540e\u6765\u57282018\u5e74\u88abRed Hat\u6536\u8d2d\u3002<\/p>\n

      \u800c\u7406\u89e3Quay\u3001Project Quay\u6216Red Hat Quay\u4e4b\u95f4\u7684\u533a\u522b\u53ef\u80fd\u4f1a\u975e\u5e38\u4ee4\u4eba\u56f0\u60d1\u3002\u4ee5\u4e0b\u7b80\u8981\u4ecb\u7ecd\u6bcf\u4e00\u9879\u7684\u542b\u4e49\uff1a<\/p>\n

      Project Quay\uff1a\u5b83\u662f\u4e00\u4e2a\u72ec\u7acb\u5bb9\u5668\u6ce8\u518c\u8868\uff0c\u662fRed Hat Quay\u7684\u5f00\u6e90\u53d1\u884c\u7248\uff0c\u53ef\u4e0eSonatype Nexus Repository OSS\u6216Harbor\u76f8\u5ab2\u7f8e\u3002<\/p>\n

      Red Hat Quay.io\uff1a\u6258\u7ba1\u5728Red Hat\u4e91\u5e73\u53f0\u4e0a\u7684\u4f01\u4e1a\u89e3\u51b3\u65b9\u6848\uff0c\u6309\u79c1\u6709\u5b58\u50a8\u5e93\u7684\u6570\u91cf\u5b9a\u4ef7\u3002\u4f46\u662f\u5176\u516c\u5171\u5b58\u50a8\u5e93\u4ecd\u7136\u662f\u514d\u8d39\u7684\u3002<\/p>\n

      Red Hat Quay\uff1a\u7528\u4e8e\u79c1\u6709\u4e91\u90e8\u7f72\u7684\u4f01\u4e1a\u5bb9\u5668\u6ce8\u518c\u8868\uff0c\u53ef\u4ee5\u901a\u8fc7Red Hat OpenShift\u7531\u5185\u7f6e\u8fd0\u8425\u8005\u83b7\u5f97\u3002
      \n\u5728\u672c\u8d28\u4e0a\uff0cQuay\u4e3a\u4e0d\u540c\u7684\u73af\u5883\u63d0\u4f9b\u4e86\u591a\u79cd\u4ea7\u54c1\uff0c\u90fd\u5177\u6709\u4e30\u5bcc\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u5b89\u5168\u626b\u63cf(\u4f7f\u7528Clair)\u3001\u5b58\u50a8\u5e93\u955c\u50cf\u3001\u5ba1\u8ba1\u65e5\u5fd7\u7b49\u3002<\/p>\n

      9.Sonatype Nexus Repository OSS<\/strong><\/span><\/div>\n

      \u4e0eHarbor\u7c7b\u4f3c\uff0cNexus Repository\u662f\u53e6\u4e00\u79cd\u81ea\u6258\u7ba1\u5bb9\u5668\u6ce8\u518c\u8868\u89e3\u51b3\u65b9\u6848\uff0c\u4e5f\u652f\u6301\u5176\u4ed6\u8bed\u8a00\u5305\u3002Sonatype\u6709\u4e00\u4e2aDocker\u6620\u50cf\uff0c\u53ef\u5728\u57fa\u7840\u8bbe\u65bd\u4e2d\u8f7b\u677e\u90e8\u7f72\u3002\u8fd9\u4e2a\u5bb9\u5668\u6ce8\u518c\u8868\u63d0\u4f9b\u4e86\u5b83\u7684Nexus Repository\u7684\u4e13\u4e1a\u7248\u548c\u4e00\u4e9b\u989d\u5916\u7684\u529f\u80fd\u3002<\/p>\n

      \u5982\u679c\u5e0c\u671b\u81ea\u6258\u7ba1\u5305\/\u5bb9\u5668\u6ce8\u518c\u8868\uff0c\u8fd9\u53ef\u80fd\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u6db5\u76d6\u8bb8\u591a\u573a\u666f\u7684\u4e30\u5bcc\u6587\u6863\u3002<\/p>\n

      9\u79cd\u5bb9\u5668\u6ce8\u518c\u8868\u7684\u6bd4\u8f83<\/p>\n

      \"\"
      \n\"\"
      \n\"\"
      \n\"\"
      \n\"\"<\/p>\n

      \u7ed3\u8bba<\/strong><\/div>\n

      \u603b\u800c\u8a00\u4e4b\uff0c\u9700\u8981\u8003\u8651\u7684\u5173\u952e\u56e0\u7d20\u662f\u7f51\u7edc\u5c31\u8fd1\u90e8\u7f72\uff0c\u56e0\u4e3a\u5b83\u5bf9\u4e8e\u5728\u4f7f\u7528\u5bb9\u5668\u6ce8\u518c\u8868\u65f6\u6700\u5927\u9650\u5ea6\u5730\u964d\u4f4e\u6210\u672c\u548c\u5ef6\u8fdf\u81f3\u5173\u91cd\u8981\u3002<\/p>\n

      \u6700\u540e\uff0c\u5efa\u8bae\u4f01\u4e1a\u4f7f\u7528\u4ed6\u4eec\u7684\u4e91\u8ba1\u7b97\u63d0\u4f9b\u5546\u63d0\u4f9b\u7684\u5bb9\u5668\u6ce8\u518c\u8868\u3002\u4f8b\u5982\uff0c\u5982\u679c\u5176\u57fa\u7840\u8bbe\u65bd\u5b8c\u5168\u57fa\u4e8eAWS\u4e91\u5e73\u53f0\uff0c\u5efa\u8bae\u4f7f\u7528AWS ECR\u3002<\/p>\n

      \u8fd9\u662f\u56e0\u4e3a\u6240\u6709\u4e91\u8ba1\u7b97\u8d44\u6e90\u5171\u4eab\u4e00\u4e2a\u5171\u540c\u7684\u8eab\u4efd\u9a8c\u8bc1\u6a21\u578b\uff0c\u5e76\u4e14\u56fe\u50cf\u5c06\u88ab\u66f4\u5feb\u5730\u63d0\u53d6\uff0c\u56e0\u4e3a\u5b83\u4eec\u4e0d\u9700\u8981\u4ece\u4e0d\u540c\u7684\u4e91\u5e73\u53f0\u4e4b\u95f4\u79fb\u52a8\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

      \u57282013\u5e74\u8bde\u751f\u7684\u5f00\u6e90Docker\u5f15\u64ce\u4fc3\u4f7f\u5bb9\u5668\u5316\u6210\u4e3a\u5b9e\u73b0\u4e91\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u6d41\u7a0b\u73b0\u4ee3\u5316\u7684\u7b2c\u4e00\u6b65\u3002\u5728Docker\u5f15\u64ce\u51fa […]<\/p>\n","protected":false},"author":370,"featured_media":193764,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-236458","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/236458","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/370"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=236458"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/236458\/revisions"}],"predecessor-version":[{"id":236465,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/236458\/revisions\/236465"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/193764"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=236458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=236458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=236458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}