{"id":208,"date":"2024-12-14T15:34:51","date_gmt":"2024-12-14T07:34:51","guid":{"rendered":"https:\/\/boke.ayanjiu.top\/?p=208"},"modified":"2024-12-14T22:57:55","modified_gmt":"2024-12-14T14:57:55","slug":"%e6%90%ad%e5%bb%ba%e7%a7%81%e6%9c%89docker%e9%95%9c%e5%83%8f%e4%bb%93%e5%ba%93","status":"publish","type":"post","link":"https:\/\/bolg.ayanjiu.top\/?p=208","title":{"rendered":"\u642d\u5efa\u79c1\u6709docker\u955c\u50cf\u4ed3\u5e93"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u6700\u8fd1\u901bGitHub\u53d1\u73b0\u4e86\u4e2a\u6709\u610f\u601d\u7684\u9879\u76ee\uff0cdocker\u955c\u50cf\u4ed3\u5e93\u81ea\u5df1\u4e5f\u53ef\u4ee5\u642d\u5efa\u4e86\u3002\u4ed3\u5e93\u5730\u5740\uff1aCF-Workers-docker.io<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001\u914d\u7f6e\u57df\u540d<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1\u3001\u767b\u5f55cloudflare\u5e76\u6ce8\u518c\u4e00\u4e2a\u81ea\u5df1\u7684\u8d26\u53f7<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35jBzQzZdfvhr0RuAPlsLFylEJbBcw4dj34xEzaAyG2LQ9NYCbBFC6Jw\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">2\u3001\u6dfb\u52a0\u7f51\u7ad9\u5230Cloudflare<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35XCCj2uy2RYbictkiaAZibicoBQKicDZ7ibicCmr2QR730A8iaRd2uUic9VEeoDw\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">3\u3001\u5982\u56fe\u4e0b\u4e00\u6b65<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35iasATqTgYtMBMThcK4ua7wZNCjV0Xtvc1JauibV6K8ChCp4f0k0UlZKA\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">4\u3001\u6dfb\u52a0DNS\u8bb0\u5f55<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35YotqfYB2icct5GraWic4YZh0VmgET9IhAhG6CVAM6o1Mib2l2KHK8CKZQ\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">5\u3001\u914d\u7f6eDNS<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35IrGicp4dtDbNR2EhfxpxwISQshnWWYfrUoWvIXsYP7wciaRS5iaLvIibMA\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">6\u3001\u5f00\u542f\u4ee3\u7406<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV354mPfJn82SaVRRvwDwaaoHxgd6Nh9XtQE8icqzzL9mSJ82DQKNDqZ6ag\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">7\u3001\u590d\u5236DNS\u503c\uff0c\u5230\u81ea\u5df1\u7684\u57df\u540d\u670d\u52a1\u5546\u4fee\u6539<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35JqdFltjxStPMTZ10PLye3a10JAEKlLx4n1BicheocMXm8hTd11V0jRA\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">8\u3001\u4ee5\u817e\u8baf\u4e91\u4e3a\u4f8b\uff0c\u4fee\u6539DNS\u670d\u52a1\u5668\uff08\u5176\u4ed6\u670d\u52a1\u5546\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u8bbe\u7f6e\uff09<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35AWSugGWYH3vC0T7y5e3leIKdqhINvzwMbs8Qrk1ib9TV8vbNmnapMYA\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">9\u3001\u590d\u5236Cloudflare\u7684DNS\u670d\u52a1\u5668\u7684\u503c\u5373\u53ef<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35OR7QjnGWp8FnHQImbeSNegytepYC3RzCMJYXYbxN2m1P8jD2Qo3qBw\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">10\u3001\u56de\u5230Cloudflare\u7f51\u7ad9\uff0c\u5237\u65b0\u7b49\u5f85\u670d\u52a1\u914d\u7f6e\u57df\u540d\u5b8c\u6210<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV352eqFAQDUa5GQEupeylprAJevKpuNOnvlb9yhR6NxYY4OTjjnBB3t9g\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>2\u3001\u914d\u7f6e &nbsp;CF-Workers-docker-io\uff08\u6587\u6863\u5730\u5740\uff1ahttps:\/\/github.com\/cmliu\/CF-Workers-docker.io\uff09<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">2.1\u3001\u914d\u7f6eCF-Workers-docker.io\u6709\u4e24\u79cd\u65b9\u5f0f\u3002\u4e00\u79cd\u662f\u76f4\u63a5\u590d\u5236\u9879\u76ee\u4e2d\u7684_worker.js\uff0c\u5230\u9879\u76ee\u4e2d\u3002\u53e6\u4e00\u79cd\u662f\u914d\u7f6eCloudflare\u4e2d\u7684GitHub\u5730\u5740\uff0c\u81ea\u52a8\u90e8\u7f72\u9879\u76ee\u3002\u8fd9\u91cc\u4f7f\u7528\u7b2c\u4e8c\u79cd\u65b9\u5f0f\u4ecb\u7ecd\u4f7f\u7528<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35ib31wF3Nm0oHNHic2Lic95phAN9hJrNuXSfVXfZuxYROuia7iaibpgmvpr7A\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">2.2\u3001\u8fde\u63a5git<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35DBAnUAcUF0s84pLME8qnV15cwK3VGFSiaCG8A9DYzE0J0lc2jsg4YhA\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">2.3\u3001\u5728\u4f7f\u7528\u9879\u76ee\u4e4b\u524d\u9700\u8981\u81ea\u5df1fork\u4e0b\u8be5\u9879\u76ee\uff0c\u624d\u80fd\u5728\u9879\u76ee\u4e2d\u914d\u7f6e\u548c\u4f7f\u7528<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35AxgJ57JgIMnnEJdu5Zh0aj0t5k8zPvHDXfeMgyEAJMBt3EvpI8229w\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">2.4\u3001\u5f00\u59cb\u914d\u7f6e\u7b49\u5f85\u5b8c\u6210\u5373\u53ef<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV357icYCQzsP8PzUohzcyd1hRibD3kyvB6oibEib6xPaCwFL8j2zAmt5qzDmg\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\">2.5\u3001\u4e00\u76f4\u4e0b\u4e00\u6b65\uff0c\u76f4\u5230\u5b8c\u6210<img decoding=\"async\" alt=\"\u56fe\u7247\" src=\"https:\/\/mmbiz.qpic.cn\/sz_mmbiz_jpg\/2Cge2EJzmJyxzY6ribNlqvfjQFuiclvV35QQFyNhGibYliazOsvIQ5ckncJ8Uib9rDtWnlXibqLGnsicJHl2TM06UDECA\/640?wx_fmt=other&amp;from=appmsg&amp;tp=webp&amp;wxfrom=5&amp;wx_lazy=1&amp;wx_co=1\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>3\u3001\u6d4b\u8bd5<\/strong><\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@llcdIO1037556 ~]# docker search docker-proxy.site\/redis\nNAME                              DESCRIPTION                                     STARS     OFFICIAL\nredis                             Redis is the world\u2019s fastest data platform f\u2026   13110     &#91;OK]\nredis\/redis-stack-server          redis-stack-server installs a Redis server w\u2026   85\nredis\/redis-stack                 redis-stack installs a Redis server with add\u2026   127\nredis\/redisinsight                Redis Insight - our best official GUI for Re\u2026   20\nredis\/rdi-monitor                                                                 0\nredis\/rdi-api                                                                     0\nbitnami\/redis                     Bitnami container image for Redis               310\nredis\/rdi-operator                                                                0\nredis\/rdi-collector-initializer    Init container for RDI Collector               0\nredis\/rdi-processor                                                               1\nredis\/rdi-cli                                                                     0\nredis\/rdi-collector-api                                                           0\ncircleci\/redis                    CircleCI images for Redis                       17\nredislabs\/redis                   Clustered in-memory database engine compatib\u2026   44\nbitnamicharts\/redis               Bitnami Helm chart for Redis(R)                 2\ncimg\/redis                                                                        2\nubuntu\/redis                      Redis, an open source key-value store. Long-\u2026   23\nrapidfort\/redis                   RapidFort optimized, hardened image for Redi\u2026   21\nelestio\/redis                     Redis, verified and packaged by Elestio         1\njumpserver\/redis                  Redis is an open source key-value store that\u2026   1\nchainguard\/redis                  Build, ship and run secure software with Cha\u2026   1\ncorpusops\/redis                   https:\/\/github.com\/corpusops\/docker-images\/     0\nvulhub\/redis                                                                      0\nuselagoon\/redis                                                                   0\nilios\/redis                                                                       0<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u67e5\u8be2\u53ef\u4ee5\u67e5\u5230,\u62c9\u53d6\u955c\u50cf\u4e5f\u53ef\u4ee5\u6b63\u5e38\u62c9\u53d6<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;root@llcdIO1037556 ~]<em># docker pull docker-proxy.site\/mysql<\/em><br>Using default tag: latest<br>latest: Pulling from mysql<br>2c0a233485c3: Pull complete<br>cb5a6a8519b2: Pull complete<br>570d30cf82c5: Pull complete<br>a841bff36f3c: Pull complete<br>80ba30c57782: Pull complete<br>5e49e1f26961: Pull complete<br>ced670fc7f1c: Pull complete<br>0b9dc7ad7f03: Pull complete<br>cd0d5df9937b: Pull complete<br>1f87d67b89c6: Pull complete<br>Digest: sha256:0255b469f0135a0236d672d60e3154ae2f4538b146744966d96440318cc822c6<br>Status: Downloaded newer image for docker-proxy.site\/mysql:latest<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u914d\u7f6e\u955c\u50cf\u5730\u5740   vi \/etc\/docker\/daemon.json<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"654\" src=\"https:\/\/boke.ayanjiu.top\/wp-content\/uploads\/2024\/12\/8-1024x654.jpg\" alt=\"\" class=\"wp-image-169\" srcset=\"https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/8-1024x654.jpg 1024w, https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/8-300x192.jpg 300w, https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/8-768x490.jpg 768w, https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/8-670x428.jpg 670w, https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/8.jpg 1413w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>\u6309 i \u63d2\u5165\uff0c\u9f20\u6807\u70b9\u51fb\u7ec8\u7aef\u7a97\u53e3\uff0c\u628a\u4e0b\u9762\u4ee3\u7801\u590d\u5236\u8fdb\u53bb\n<img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"629\" class=\"wp-image-170\" style=\"width: 850px;\" src=\"https:\/\/boke.ayanjiu.top\/wp-content\/uploads\/2024\/12\/9.jpg\" alt=\"\" srcset=\"https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/9.jpg 1206w, https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/9-300x222.jpg 300w, https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/9-1024x757.jpg 1024w, https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/9-768x568.jpg 768w, https:\/\/bolg.ayanjiu.top\/wp-content\/uploads\/2024\/12\/9-670x496.jpg 670w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/>\n\u4ee3\u7801\u590d\u5236\u8fdb\u53bb \u6309 ESC\u952e \u518d\u6309\uff1a\u5728\u8f93\u5165wq \u56de\u8f66\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u4fdd\u5b58    \u91cd\u542f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><code><em>systemctl daemon-reload<\/em>\n<em>systemctl restart docker<\/em><\/code><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6ce8\uff1a<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><code>docker search mysql \u8fd8\u662f\u4f1a\u67e5\u8be2\u4e0d\u5230\uff0c\u4f46\u662f\u4e0d\u4f1a\u5f71\u54cd\u955c\u50cf\u7684\u6b63\u5e38\u62c9\u53d6<\/code><\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u672c\u6587\u4fee\u6539&nbsp;NickNameWSH&nbsp;<a href=\"https:\/\/mp.weixin.qq.com\/s?chksm=9074017fa7038869e373681dd8a2c81bbfefe18eda62b4f24c05b826360d98cb61e034d6d565&amp;exptype=unsubscribed_card_recommend_article_u2i_mainprocess_coarse_sort_tlfeeds&amp;ranksessionid=1734102481_6&amp;mid=2247484084&amp;sn=ca7b9aa26974137eb67e9eddf2075c9a&amp;idx=1&amp;__biz=MzA5MTkwMzY1Mg%3D%3D&amp;scene=169&amp;subscene=200&amp;sessionid=1734102481&amp;flutter_pos=57&amp;clicktime=1734105069&amp;enterid=1734105069&amp;finder_biz_enter_id=5&amp;ascene=56&amp;fasttmpl_type=0&amp;fasttmpl_fullversion=7512981-zh_CN-zip&amp;fasttmpl_flag=0&amp;realreporttime=1734105069716&amp;devicetype=android-33&amp;version=2800363f&amp;nettype=cbnet&amp;abtest_cookie=AAACAA%3D%3D&amp;lang=zh_CN&amp;session_us=gh_33e2f9dc1643&amp;countrycode=ID&amp;exportkey=n_ChQIAhIQGq7MVvIulmpSVajjUGnjhRLxAQIE97dBBAEAAAAAALLiOW1XIy4AAAAOpnltbLcz9gKNyK89dVj0jPVAeisnC0oR2BlWTyMdpFeV3C4IlqKJcXeF5cWF12x3CbZ%2FJO9HdGVlfr%2FNHy%2B0dYn02aMvoCXSjw%2FmM5%2F1f8eh2shLuBPk1pqL82Gj%2Bku6iNhP68SxfsQ0%2BViWnA9O6YCE0Dr%2F3Q4bDam%2FApsv5dkQTymcUVoHHvHtzv19kVCwIXU5OeO3AHXq9aLOgBDHnxmc8RLeO2ElXPyZciGa8UCWwA4AUeir1A2IR56rvUhbRQ%2BSZFto0Ui%2B6DkrLPw8KRhhyN7rIyCljRE%3D&amp;pass_ticket=YtkhX9rGE3kLYaDGdFIlJzBvTYQ3uDKW%2B5fKa52miK4ZTK4qqo1%2FulcIQTwLeSuj&amp;wx_header=3\">\u4e66\u4fca\u4fca\u8f6f\u4ef6\u5f00\u53d1\u5de5\u4f5c\u5ba4<\/a>&nbsp;<em>2024\u5e7412\u670809\u65e5 <\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u901bGitHub\u53d1\u73b0\u4e86\u4e2a\u6709\u610f\u601d&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":214,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,3],"tags":[40,38,39],"class_list":["post-208","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-nas","tag-docker"],"_links":{"self":[{"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=208"}],"version-history":[{"count":0,"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=\/wp\/v2\/posts\/208\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=\/wp\/v2\/media\/214"}],"wp:attachment":[{"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bolg.ayanjiu.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}