<br />
<b>Warning</b>:  is_file(): open_basedir restriction in effect. File(/www/wwwroot/blog.lybua.top//index.php/wp-json/wp/v2/posts/140) is not within the allowed path(s): (/www/wwwroot/blog.lybua.top:/tmp/:/dev/shm/nginx-cache/wp) in <b>/www/wwwroot/blog.lybua.top/wp-content/plugins/jetpack-boost/app/modules/optimizations/page-cache/pre-wordpress/class-boost-cache-utils.php</b> on line <b>80</b><br />
{"id":140,"date":"2026-06-26T18:55:01","date_gmt":"2026-06-26T10:55:01","guid":{"rendered":"https:\/\/blog.lybua.top\/?p=140"},"modified":"2026-06-26T18:55:01","modified_gmt":"2026-06-26T10:55:01","slug":"docker%e6%9b%b4%e6%8d%a2%e5%9b%bd%e5%86%85%e9%95%9c%e5%83%8f%e6%ba%90","status":"publish","type":"post","link":"https:\/\/blog.lybua.top\/index.php\/2026\/06\/26\/docker%e6%9b%b4%e6%8d%a2%e5%9b%bd%e5%86%85%e9%95%9c%e5%83%8f%e6%ba%90\/","title":{"rendered":"Docker\u66f4\u6362\u56fd\u5185\u955c\u50cf\u6e90"},"content":{"rendered":"<article class=\"baidu_pl\">\n<div id=\"article_content\" class=\"article_content clearfix\">\n<div id=\"content_views\" class=\"htmledit_views atom-one-dark\">\n<pre name=\"code\"><code>sudo mkdir -p \/etc\/docker<\/code><\/pre>\n<h3><a name=\"t0\" href=\"\" target=\"_top\"><\/a>\u5199\u5165<\/h3>\n<pre name=\"code\"><code>sudo tee \/etc\/docker\/daemon.json &lt;&lt;-'EOF'\n{\n    \"registry-mirrors\": [\n        \"https:\/\/dockerproxy.net\",\n        \"https:\/\/docker.mirrors.ustc.edu.cn\",\n        \"https:\/\/docker.nju.edu.cn\",\n        \"https:\/\/cr.console.aliyun.com\",\n        \"https:\/\/docker.mirrors.ustc.edu.cn\",\n        \"http:\/\/hub-mirror.c.163.com\",\n        \"https:\/\/hub.daocloud.io\",\n        \"http:\/\/mirror.azure.cn\",\n        \"https:\/\/mirror.baidubce.com\",\n        \"https:\/\/docker.mirrors.sjtug.sjtu.edu.cn\",\n        \"https:\/\/docker.nju.edu.cn\",\n        \"https:\/\/docker.hpcloud.cloud\",\n        \"https:\/\/docker.m.daocloud.io\",\n        \"https:\/\/docker.unsee.tech\",\n        \"https:\/\/docker.1panel.live\",\n        \"http:\/\/mirrors.ustc.edu.cn\",\n        \"https:\/\/docker.chenby.cn\",\n        \"http:\/\/mirror.azure.cn\",\n        \"https:\/\/dockerpull.org\",\n        \"https:\/\/dockerhub.icu\",\n        \"https:\/\/hub.rat.dev\",\n        \"https:\/\/docker.m.daocloud.io\",\n        \"https:\/\/dockerproxy.com\",\n        \"https:\/\/docker.mirrors.ustc.edu.cn\",\n        \"https:\/\/docker.nju.edu.cn\",\n        \"https:\/\/cr.console.aliyun.com\",\n        \"https:\/\/ccr.ccs.tencentyun.com\",\n        \"https:\/\/dockerproxy.com\",\n        \"https:\/\/hub-mirror.c.163.com\",\n        \"https:\/\/mirror.baidubce.com\",\n        \"https:\/\/hubgw.docker.com\",\n        \"https:\/\/docker.1ms.run\",\n        \"https:\/\/docker-pull.ygxz.in\",\n        \"https:\/\/ghcr-pull.ygxz.in\",\n        \"https:\/\/gcr-pull.ygxz.in\",\n        \"https:\/\/k8s-gcr-pull.ygxz.in\",\n        \"https:\/\/quay-pull.ygxz.in\",\n        \"https:\/\/mcr-pull.ygxz.in\",\n        \"https:\/\/elastic-pull.ygxz.in\",\n        \"https:\/\/nvcr-pull.ygxz.in\",\n        \"https:\/\/docker.xuanyuan.me\",\n        \"https:\/\/hub.1panel.dev\",\n        \"https:\/\/docker.aityp.com\",\n        \"https:\/\/docker.1yidc.com\"\n    ]\n}\nEOF<\/code><\/pre>\n<h3><a name=\"t1\" href=\"\" target=\"_top\"><\/a>\u91cd\u542f<span class=\"words-blog hl-git-1\">docker<\/span><\/h3>\n<pre name=\"code\"><code>sudo systemctl daemon-reload\nsudo systemctl restart docker<\/code><\/pre>\n<\/p><\/div>\n<\/p><\/div>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>sudo mkdir -p \/etc\/docker \u5199\u5165 sudo tee \/etc\/docker\/daemo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-wenzhang"],"_links":{"self":[{"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/comments?post=140"}],"version-history":[{"count":1,"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":141,"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/posts\/140\/revisions\/141"}],"wp:attachment":[{"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/media?parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/categories?post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lybua.top\/index.php\/wp-json\/wp\/v2\/tags?post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}