{"id":3447,"date":"2023-09-13T11:40:24","date_gmt":"2023-09-13T03:40:24","guid":{"rendered":"http:\/\/www.yuguoxy.com\/geekhome\/?p=3447"},"modified":"2023-10-10T11:52:07","modified_gmt":"2023-10-10T03:52:07","slug":"%e5%88%b6%e4%bd%9c%e8%87%aa%e5%b7%b1%e7%9a%84%e9%95%9c%e5%83%8f","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=3447","title":{"rendered":"\u5236\u4f5c\u81ea\u5df1\u7684\u955c\u50cf"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h4>1.<a title=\"\u8be6\u7ec6\u9605\u8bfb Wsl2\u5b89\u88c5CentOS7\" href=\"https:\/\/ai.zhousir.top\/archives\/3430\">Wsl2\u5b89\u88c5CentOS7<\/a><\/h4>\n<h4>2.<a title=\"\u8be6\u7ec6\u9605\u8bfb Docker \u7b80\u4ecb\u548c\u5b89\u88c5\" href=\"https:\/\/ai.zhousir.top\/archives\/3419\">Docker \u7b80\u4ecb\u548c\u5b89\u88c5<\/a><\/h4>\n<h4>3.<a title=\"\u8be6\u7ec6\u9605\u8bfb Docker \u5feb\u901f\u5b89\u88c5\u8f6f\u4ef6\" href=\"https:\/\/ai.zhousir.top\/archives\/3434\">Docker \u5feb\u901f\u5b89\u88c5\u8f6f\u4ef6<\/a><\/h4>\n<h4>4.<a title=\"\u8be6\u7ec6\u9605\u8bfb \u5236\u4f5c\u81ea\u5df1\u7684\u955c\u50cf\" href=\"https:\/\/ai.zhousir.top\/archives\/3447\">\u5236\u4f5c\u81ea\u5df1\u7684\u955c\u50cf<\/a><\/h4>\n<h4>5.<a title=\"\u8be6\u7ec6\u9605\u8bfb Docker-Compose\u53d1\u5e03\u4e0e\u90e8\u7f72\" href=\"https:\/\/ai.zhousir.top\/archives\/3450\">Docker-Compose\u53d1\u5e03\u4e0e\u90e8\u7f72<\/a><\/h4>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2023\/10\/1695908720839.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-3448\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2023\/10\/1695908720839.png\" alt=\"1695908720839\" width=\"362\" height=\"140\" \/><\/a><\/p>\n<p><span class=\"md-expand\">\u4e3a\u81ea\u5df1\u7684 Web \u9879\u76ee\u6784\u5efa\u955c\u50cf<\/span><\/p>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u793a\u4f8b\u9879\u76ee\u4ee3\u7801\uff1a<a href=\"https:\/\/github.com\/gzyunke\/test-docker\">https:\/\/github.com\/gzyunke\/test-docker<\/a><\/span><\/p>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u793a\u4f8b\u9879\u76ee\u4ee3\u7801\uff1a D:\\projects\\workspace_web\\GuoguWebadmin<\/span><\/p>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u8fd9\u662f\u4e00\u4e2a Nodejs + express \u5199\u7684 \u540e\u7aef\u63a5\u53e3 \u9879\u76ee<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\">\u8f6f\u4ef6\u4f9d\u8d56\uff1a<span class=\"\"><a spellcheck=\"false\" href=\"https:\/\/nodejs.org\/zh-cn\/\">nodejs<\/a><\/span><\/span><span class=\"md-line md-end-block\" contenteditable=\"true\">\u9879\u76ee\u4f9d\u8d56\u5e93\uff1aexpress &#8230;<\/span><\/p>\n<h3 class=\"md-end-block md-heading\" contenteditable=\"true\">\u7f16\u5199 Dockerfile<\/h3>\n<pre class=\"md-fences md-end-block\" lang=\"\" contenteditable=\"false\">FROM node:14\r\nMAINTAINER easydoc.net\r\n\u200b\r\n# \u590d\u5236\u4ee3\u7801\r\nADD . \/app\r\n\u200b\r\n# \u8bbe\u7f6e\u5bb9\u5668\u542f\u52a8\u540e\u7684\u9ed8\u8ba4\u8fd0\u884c\u76ee\u5f55\r\nWORKDIR \/app\r\n\u200b\r\n# \u8fd0\u884c\u547d\u4ee4\uff0c\u5b89\u88c5\u4f9d\u8d56\r\n# RUN \u547d\u4ee4\u53ef\u4ee5\u6709\u591a\u4e2a\uff0c\u4f46\u662f\u53ef\u4ee5\u7528 &amp;&amp; \u8fde\u63a5\u591a\u4e2a\u547d\u4ee4\u6765\u51cf\u5c11\u5c42\u7ea7\u3002\r\n# \u4f8b\u5982 RUN npm install &amp;&amp; cd \/app &amp;&amp; mkdir logs\r\nRUN npm install --registry=https:\/\/registry.npm.taobao.org\r\n\u200b\r\n# CMD \u6307\u4ee4\u53ea\u80fd\u4e00\u4e2a\uff0c\u662f\u5bb9\u5668\u542f\u52a8\u540e\u6267\u884c\u7684\u547d\u4ee4\uff0c\u7b97\u662f\u7a0b\u5e8f\u7684\u5165\u53e3\u3002\r\n# \u5982\u679c\u8fd8\u9700\u8981\u8fd0\u884c\u5176\u4ed6\u547d\u4ee4\u53ef\u4ee5\u7528 &amp;&amp; \u8fde\u63a5\uff0c\u4e5f\u53ef\u4ee5\u5199\u6210\u4e00\u4e2ashell\u811a\u672c\u53bb\u6267\u884c\u3002\r\n# \u4f8b\u5982 CMD cd \/app &amp;&amp; .\/start.sh\r\nCMD node app.js<\/pre>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\"><span class=\"\"><a spellcheck=\"false\" href=\"https:\/\/docs.docker.com\/engine\/reference\/builder\/#run\">Dockerfile\u6587\u6863<\/a><\/span><\/span><\/p>\n<blockquote><p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u5b9e\u7528\u6280\u5de7\uff1a<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\">\u5982\u679c\u4f60\u5199 Dockerfile \u65f6\u7ecf\u5e38\u9047\u5230\u4e00\u4e9b\u8fd0\u884c\u9519\u8bef\uff0c\u4f9d\u8d56\u9519\u8bef\u7b49\uff0c\u4f60\u53ef\u4ee5\u76f4\u63a5\u8fd0\u884c\u4e00\u4e2a\u4f9d\u8d56\u7684\u5e95\uff0c\u7136\u540e\u8fdb\u5165\u7ec8\u7aef\u8fdb\u884c\u914d\u7f6e\u73af\u5883\uff0c\u6210\u529f\u540e\u518d\u628a\u505a\u8fc7\u7684\u6b65\u9aa4\u547d\u4ee4\u5199\u9053 Dockerfile \u6587\u4ef6\u4e2d\uff0c\u8fd9\u6837\u7f16\u5199\u8c03\u8bd5\u4f1a\u5feb\u5f88\u591a\u3002<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\">\u4f8b\u5982\u4e0a\u9762\u7684\u5e95\u662f<span spellcheck=\"false\"><code>node:11<\/code><\/span>\uff0c\u6211\u4eec\u53ef\u4ee5\u8fd0\u884c<span spellcheck=\"false\"><code>docker run -it -d node:11 bash<\/code><\/span>\uff0c\u8dd1\u8d77\u6765\u540e\u8fdb\u5165\u5bb9\u5668\u7ec8\u7aef\u914d\u7f6e\u4f9d\u8d56\u7684\u8f6f\u4ef6\uff0c\u7136\u540e\u5c1d\u8bd5\u8dd1\u8d77\u6765\u81ea\u5df1\u7684\u8f6f\u4ef6\uff0c\u6700\u540e\u628a\u6240\u6709\u505a\u8fc7\u7684\u6b65\u9aa4\u5199\u5165\u5230 Dockerfile \u5c31\u597d\u4e86\u3002<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\">\u638c\u63e1\u597d\u8fd9\u4e2a\u6280\u5de7\uff0c\u4f60\u7684 Dockerfile \u6587\u4ef6\u7f16\u5199\u8d77\u6765\u5c31\u975e\u5e38\u7684\u5f97\u5fc3\u5e94\u624b\u4e86\u3002<\/span><\/p><\/blockquote>\n<h3 class=\"md-end-block md-heading\" contenteditable=\"true\">Build \u4e3a\u955c\u50cf\uff08\u5b89\u88c5\u5305\uff09\u548c\u8fd0\u884c<\/h3>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u7f16\u8bd1 <span spellcheck=\"false\"><code>docker build -t test:v1 .<\/code><\/span><\/span><\/p>\n<blockquote><p><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>-t<\/code><\/span> \u8bbe\u7f6e\u955c\u50cf\u540d\u5b57\u548c\u7248\u672c\u53f7<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\">\u547d\u4ee4\u53c2\u8003\uff1a<a href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/build\/\">https:\/\/docs.docker.com\/engine\/reference\/commandline\/build\/<\/a><\/span><\/p><\/blockquote>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u8fd0\u884c <span spellcheck=\"false\"><code>docker run -p 8080:8080 --name test-hello test:v1<\/code><\/span><\/span><\/p>\n<blockquote><p><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>-p<\/code><\/span> \u6620\u5c04\u5bb9\u5668\u5185\u7aef\u53e3\u5230\u5bbf\u4e3b\u673a<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>--name<\/code><\/span> \u5bb9\u5668\u540d\u5b57<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>-d<\/code><\/span> \u540e\u53f0\u8fd0\u884c<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\">\u547d\u4ee4\u53c2\u8003\u6587\u6863\uff1a<a href=\"https:\/\/docs.docker.com\/engine\/reference\/run\/\">https:\/\/docs.docker.com\/engine\/reference\/run\/<\/a><\/span><\/p><\/blockquote>\n<h2 class=\"md-end-block md-heading\" contenteditable=\"true\">\u76ee\u5f55\u6302\u8f7d<\/h2>\n<h3 class=\"md-end-block md-heading\" contenteditable=\"true\">\u73b0\u5b58\u95ee\u9898<\/h3>\n<blockquote>\n<ul class=\"ul-list\" data-mark=\"-\">\n<li class=\"md-list-item\">\n<p contenteditable=\"true\"><span class=\"md-line md-end-block\" contenteditable=\"true\">\u4f7f\u7528 Docker \u8fd0\u884c\u540e\uff0c\u6211\u4eec\u6539\u4e86\u9879\u76ee\u4ee3\u7801\u4e0d\u4f1a\u7acb\u523b\u751f\u6548\uff0c\u9700\u8981\u91cd\u65b0<span spellcheck=\"false\"><code>build<\/code><\/span>\u548c<span spellcheck=\"false\"><code>run<\/code><\/span>\uff0c\u5f88\u662f\u9ebb\u70e6\u3002<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\">\n<p contenteditable=\"true\"><span class=\"md-line md-end-block\" contenteditable=\"true\">\u5bb9\u5668\u91cc\u9762\u4ea7\u751f\u7684\u6570\u636e\uff0c\u4f8b\u5982 log \u6587\u4ef6\uff0c\u6570\u636e\u5e93\u5907\u4efd\u6587\u4ef6\uff0c\u5bb9\u5668\u5220\u9664\u540e\u5c31\u4e22\u5931\u4e86\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<\/blockquote>\n<h3 class=\"md-end-block md-heading\" contenteditable=\"true\">\u51e0\u79cd\u6302\u8f7d\u65b9\u5f0f<\/h3>\n<ul class=\"ul-list\" data-mark=\"-\">\n<li class=\"md-list-item\">\n<p contenteditable=\"true\"><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>bind mount<\/code><\/span> \u76f4\u63a5\u628a\u5bbf\u4e3b\u673a\u76ee\u5f55\u6620\u5c04\u5230\u5bb9\u5668\u5185\uff0c\u9002\u5408\u6302\u4ee3\u7801\u76ee\u5f55\u548c\u914d\u7f6e\u6587\u4ef6\u3002\u53ef\u6302\u5230\u591a\u4e2a\u5bb9\u5668\u4e0a<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\">\n<p contenteditable=\"true\"><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>volume<\/code><\/span> \u7531\u5bb9\u5668\u521b\u5efa\u548c\u7ba1\u7406\uff0c\u521b\u5efa\u5728\u5bbf\u4e3b\u673a\uff0c\u6240\u4ee5\u5220\u9664\u5bb9\u5668\u4e0d\u4f1a\u4e22\u5931\uff0c\u5b98\u65b9\u63a8\u8350\uff0c\u66f4\u9ad8\u6548\uff0cLinux \u6587\u4ef6\u7cfb\u7edf\uff0c\u9002\u5408\u5b58\u50a8\u6570\u636e\u5e93\u6570\u636e\u3002\u53ef\u6302\u5230\u591a\u4e2a\u5bb9\u5668\u4e0a<\/span><\/p>\n<\/li>\n<li class=\"md-list-item\">\n<p contenteditable=\"true\"><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>tmpfs mount<\/code><\/span> \u9002\u5408\u5b58\u50a8\u4e34\u65f6\u6587\u4ef6\uff0c\u5b58\u5bbf\u4e3b\u673a\u5185\u5b58\u4e2d\u3002\u4e0d\u53ef\u591a\u5bb9\u5668\u5171\u4eab\u3002<\/span><\/p>\n<\/li>\n<\/ul>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u6587\u6863\u53c2\u8003\uff1a<a href=\"https:\/\/docs.docker.com\/storage\/\">https:\/\/docs.docker.com\/storage\/<\/a><\/span><\/p>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\"><span class=\"md-image md-img-loaded\" contenteditable=\"false\" data-src=\".\/media\/1695908720839.png\"><img decoding=\"async\" src=\"file:\/\/D:\/course\/docker\/media\/1695908720839.png?lastModify=1696908360\" alt=\"\" \/><\/span><\/span><\/p>\n<h3 class=\"md-end-block md-heading\" contenteditable=\"true\">\u6302\u8f7d\u6f14\u793a<\/h3>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>bind mount<\/code><\/span> \u65b9\u5f0f\u7528\u7edd\u5bf9\u8def\u5f84 <span spellcheck=\"false\"><code>-v D:\/code:\/app<\/code><\/span><\/span><\/p>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>volume<\/code><\/span> \u65b9\u5f0f\uff0c\u53ea\u9700\u8981\u4e00\u4e2a\u540d\u5b57 <span spellcheck=\"false\"><code>-v db-data:\/app<\/code><\/span><\/span><\/p>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u793a\u4f8b\uff1a<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>docker run -p 8080:8080 --name test-hello -v D:\/code:\/app -d test:v1<\/code><\/span><\/span><\/p>\n<blockquote><p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u6ce8\u610f\uff01 \u56e0\u4e3a\u6302\u8f7d\u540e\uff0c\u5bb9\u5668\u91cc\u7684\u4ee3\u7801\u5c31\u4f1a\u66ff\u6362\u4e3a\u4f60\u672c\u673a\u7684\u4ee3\u7801\u4e86\uff0c\u5982\u679c\u4f60\u4ee3\u7801\u76ee\u5f55\u6ca1\u6709<span spellcheck=\"false\"><code>node_modules<\/code><\/span>\u76ee\u5f55\uff0c\u4f60\u9700\u8981\u5728\u4ee3\u7801\u76ee\u5f55\u6267\u884c\u4e0b<span spellcheck=\"false\"><code>npm install --registry=https:\/\/registry.npm.taobao.org<\/code><\/span>\u786e\u4fdd\u4f9d\u8d56\u5e93\u90fd\u5df2\u7ecf\u5b89\u88c5\uff0c\u5426\u5219\u53ef\u80fd\u4f1a\u63d0\u793a\u201cError:\u00a0Cannot\u00a0find\u00a0module\u00a0\u2018koa\u2019\u201d \u5982\u679c\u4f60\u7684\u7535\u8111\u6ca1\u6709\u5b89\u88c5\u00a0<span class=\"\"><a spellcheck=\"false\" href=\"https:\/\/nodejs.org\/en\/\">nodejs<\/a><\/span>\uff0c\u4f60\u9700\u8981\u5b89\u88c5\u4e00\u4e0b\u624d\u80fd\u6267\u884c\u4e0a\u9762\u7684\u547d\u4ee4\u3002 <\/span><\/p><\/blockquote>\n<h2 class=\"md-end-block md-heading\" contenteditable=\"true\">\u591a\u5bb9\u5668\u901a\u4fe1<\/h2>\n<h3 class=\"md-end-block md-heading\" contenteditable=\"true\">\u5b66\u4e60\u76ee\u6807<\/h3>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u9879\u76ee\u5f80\u5f80\u90fd\u4e0d\u662f\u72ec\u7acb\u8fd0\u884c\u7684\uff0c\u9700\u8981\u6570\u636e\u5e93\u3001\u7f13\u5b58\u8fd9\u4e9b\u4e1c\u897f\u914d\u5408\u8fd0\u4f5c\u3002<\/span><span class=\"md-line md-end-block\" contenteditable=\"true\">\u8fd9\u8282\u6211\u4eec\u628a\u524d\u9762\u7684 Web \u9879\u76ee\u589e\u52a0\u4e00\u4e2a Redis \u4f9d\u8d56\uff0c\u591a\u8dd1\u4e00\u4e2a Redis \u5bb9\u5668\uff0c\u6f14\u793a\u5982\u4f55\u591a\u5bb9\u5668\u4e4b\u95f4\u7684\u901a\u4fe1\u3002<\/span><\/p>\n<h3 class=\"md-end-block md-heading\" contenteditable=\"true\">\u521b\u5efa\u865a\u62df\u7f51\u7edc<\/h3>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u8981\u60f3\u591a\u5bb9\u5668\u4e4b\u95f4\u4e92\u901a\uff0c\u4ece Web \u5bb9\u5668\u8bbf\u95ee Redis \u5bb9\u5668\uff0c\u6211\u4eec\u53ea\u9700\u8981\u628a\u4ed6\u4eec\u653e\u5230\u540c\u4e2a\u7f51\u7edc\u4e2d\u5c31\u53ef\u4ee5\u4e86\u3002<\/span><\/p>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\">\u6587\u6863\u53c2\u8003\uff1a<a href=\"https:\/\/docs.docker.com\/engine\/reference\/commandline\/network\/\">https:\/\/docs.docker.com\/engine\/reference\/commandline\/network\/<\/a><\/span><\/p>\n<p><a href=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2023\/10\/1695908720839.png\" rel=\"fancybox\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone  wp-image-3448\" src=\"https:\/\/ai.zhousir.top\/wp-content\/uploads\/2023\/10\/1695908720839.png\" alt=\"1695908720839\" width=\"639\" height=\"247\" \/><\/a><\/p>\n<h3 class=\"md-end-block md-heading\" contenteditable=\"true\">\u6f14\u793a<\/h3>\n<h5 class=\"md-end-block md-heading\" contenteditable=\"true\">\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<span spellcheck=\"false\"><code>test-net<\/code><\/span>\u7684\u7f51\u7edc\uff1a<\/h5>\n<p><span class=\"md-line md-end-block\" contenteditable=\"true\"><span spellcheck=\"false\"><code>docker network create test-net<\/code><\/span><\/span><\/p>\n<h5 class=\"md-end-block md-heading\" contenteditable=\"true\">\u8fd0\u884c Redis \u5728 <span spellcheck=\"false\"><code>test-net<\/code><\/span> \u7f51\u7edc\u4e2d\uff0c\u522b\u540d<span spellcheck=\"false\"><code>redis<\/code><\/span><\/h5>\n<p class=\"\"><span class=\"md-line md-end-block\" contenteditable=\"true\"><span class=\"md-expand\" spellcheck=\"false\"><code>docker run -d --name redis --network test-net --network-alias redis redis:latest<\/code><\/span><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 1.Wsl2\u5b89\u88c5CentOS7 2.Docker \u7b80\u4ecb\u548c\u5b89\u88c5 3.Docker \u5feb\u901f\u5b89\u88c5\u8f6f\u4ef6 4 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,105],"tags":[159],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3447"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3447"}],"version-history":[{"count":3,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3447\/revisions"}],"predecessor-version":[{"id":3458,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3447\/revisions\/3458"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3447"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3447"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}