{"id":12936,"date":"2025-04-18T20:03:06","date_gmt":"2025-04-18T12:03:06","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/12936.html"},"modified":"2025-04-18T20:03:06","modified_gmt":"2025-04-18T12:03:06","slug":"%e8%ae%b0%e4%b8%80%e6%ac%a1%e7%94%b1docker%e5%ae%b9%e5%99%a8%e4%bd%bf%e5%be%97%e6%9c%8d%e5%8a%a1%e5%99%a8cpu%e5%8d%a0%e6%bb%a1%e5%af%86%e7%a0%81%e5%92%8c%e5%af%86%e9%92%a5%e6%97%a0%e6%b3%95%e8%ae%bf","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/12936.html","title":{"rendered":"\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug"},"content":{"rendered":"<h2>Bug\u573a\u666f&#xff1a;<\/h2>\n<p>\u524d\u51e0\u5929\u5728\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e86\u4e00\u4e2a\u514d\u8d39\u5f71\u89c6\u7f51\u7ad9&#xff0c;\u8fd9\u4e2a\u5e94\u7528\u9700\u8981\u56db\u4e2a\u5bb9\u5668&#xff0c;\u540c\u65f6\u4e4b\u524d\u7684\u5efa\u7ad9\u8f6f\u4ef6workpress\u4e5f\u662f\u4f7f\u7528docker\u90e8\u7f72\u7684&#xff0c;\u4e5f\u4f7f\u7528\u4e86\u4e09\u4e2a\u5bb9\u5668\u3002\u5728\u4f7f\u7528workpress\u4e4b\u524d&#xff0c;\u6211\u5c06\u5f71\u89c6\u8f6f\u4ef6\u7684\u5bb9\u5668\u5168\u90e8\u505c\u6b62\u3002 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418120303-68023f77cb0b0.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u518d\u4f7f\u7528workpress\u65f6&#xff0c;\u670d\u52a1\u5668\u7684\u5185\u5b58\u8d44\u6e90\u4e00\u5207\u6b63\u5e38&#xff0c;\u6b64\u540e\u5c31\u6ca1\u7ba1\u4e86\u3002\u8fc7\u4e86\u4e24\u5929\u91cd\u65b0\u767b\u5165\u670d\u52a1\u5668\u65f6&#xff0c;\u53d1\u73b0\u5b8c\u5168\u767b\u4e0d\u8fdb\u53bb\u3002<\/p>\n<hr \/>\n<h2>\u95ee\u9898\u63cf\u8ff0<\/h2>\n<p>ssh\u767b\u5165\u5931\u8d25&#xff0c;aliyun\u7684workbench\u63d0\u793a\u65e0\u6cd5\u4f7f\u7528\u5bc6\u7801\u767b\u5165&#xff0c;\u6b64\u523b\u8fd8\u6ca1\u6709\u610f\u8bc6\u5230\u95ee\u9898\u7684\u4e25\u91cd\u6027&#xff0c;\u4ee5\u4e3a\u662f\u5e38\u89c1\u7684\u914d\u7f6e\u95ee\u9898&#xff08;\u4e4b\u524d\u4e0d\u5c0f\u5fc3\u914d\u7f6e\u4e86\u8bbe\u7f6e\u5bc6\u94a5\u5bf9&#xff09;&#xff0c;\u9996\u5148\u91cd\u7f6e\u5bc6\u7801&#xff0c;\u800c\u540e\u91cd\u542f\u3002 \u5f53\u670d\u52a1\u5668\u72b6\u6001\u91cd\u542f\u4e86\u534a\u5929\u8fd8\u6ca1\u6709\u542f\u52a8\u7684\u65f6\u5019&#xff0c;\u6211\u5c31\u610f\u8bc6\u5230\u4e86\u4e8b\u60c5\u7684\u4e25\u91cd\u6027&#xff0c;\u4f7f\u7528VNC\u65e0\u5bc6\u7801\u767b\u5165&#xff0c;\u53d1\u73b0\u8fde\u63a5\u4e0d\u4e0a&#xff0c;\u4f7f\u7528finalshell\u8fde\u63a5\u8bbf\u95ee\u8d85\u65f6\u3002\u8fd9\u65f6\u6211\u7406\u89e3\u4f30\u8ba1\u662f\u6211\u670d\u52a1\u5668\u5185\u90e8\u51fa\u73b0\u4e86\u95ee\u9898\u3002<\/p>\n<hr \/>\n<h2>\u539f\u56e0\u5206\u6790&#xff1a;<\/h2>\n<p>\u4f7f\u7528\u963f\u91cc\u4e91\u7684\u5b89\u5168\u670d\u52a1&#xff08;\u63a8\u8350\u5927\u5bb6\u4f7f\u7528\u963f\u91cc\u4e91\u7684\u4e91\u52a9\u624b\u548c\u81ea\u52a9\u7684\u8fd0\u7ef4\u6392\u67e5&#xff09;&#xff0c;\u53d1\u73b0\u662f\u7531\u4e8e\u5185\u5b58\u548ccpu\u5360\u7528\u8fc7\u9ad8&#xff0c;\u5f53\u65f6\u6211\u4ee5\u4e3a\u670d\u52a1\u5668\u88ab\u653b\u51fb\u4e86&#xff0c;\u56e0\u4e3a\u4e4b\u524d\u7684cpu\u7684\u72b6\u6001\u4e00\u76f4\u662f\u5f88\u7a33\u5b9a\u7684\u6c34\u5e73\u6b64\u523b\u4e00\u4e0b\u5b50\u5360\u767e\u5206\u4e4b\u767e\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418120303-68023f77e1251.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418120304-68023f785d106.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u901a\u8fc7\u67e5\u8be2\u8d44\u6599&#xff0c;\u6211\u53d1\u73b0cpu\u548c\u5185\u5b58\u7684\u5173\u7cfb\u4f7f\u7528\u66f4\u52a0\u590d\u6742<\/p>\n<p>\u5f53\u5185\u5b58\u8d44\u6e90\u7d27\u5f20\u65f6&#xff0c;\u64cd\u4f5c\u7cfb\u7edf\u4f1a\u542f\u52a8\u4e00\u7cfb\u5217\u7684\u5185\u5b58\u7ba1\u7406\u673a\u5236\u6765\u91ca\u653e\u5185\u5b58\u3002\u64cd\u4f5c\u7cfb\u7edf\u901a\u8fc7 \u9875\u9762\u4ea4\u6362&#xff08;swap&#xff09; \u548c \u5185\u5b58\u56de\u6536&#xff08;page reclaim&#xff09; \u6765\u91ca\u653e\u5185\u5b58\u3002<\/p>\n<ul>\n<li>\n<p>\u9875\u9762\u4ea4\u6362&#xff08;Swap&#xff09;&#xff1a;\u5f53\u7269\u7406\u5185\u5b58&#xff08;RAM&#xff09;\u4e0d\u8db3\u65f6&#xff0c;\u7cfb\u7edf\u4f1a\u5c06\u4e00\u4e9b\u4e0d\u6d3b\u8dc3\u7684\u5185\u5b58\u9875&#xff08;\u6570\u636e&#xff09;\u79fb\u52a8\u5230\u4ea4\u6362\u7a7a\u95f4&#xff08;swap&#xff09;&#xff0c;\u4ece\u800c\u817e\u51fa\u5185\u5b58\u4f9b\u5f53\u524d\u6d3b\u8dc3\u7684\u8fdb\u7a0b\u4f7f\u7528\u3002\u5982\u679c\u4ea4\u6362\u7a7a\u95f4\u4e0d\u8db3&#xff0c;\u6216\u8005\u4ea4\u6362\u64cd\u4f5c\u8fc7\u4e8e\u9891\u7e41&#xff0c;\u4f1a\u5bfc\u81f4\u7cfb\u7edf\u53d8\u5f97\u975e\u5e38\u6162&#xff0c;\u56e0\u4e3a\u786c\u76d8\u7684\u8bfb\u53d6\u901f\u5ea6\u8fdc\u4f4e\u4e8e\u5185\u5b58\u3002<\/p>\n<\/li>\n<li>\n<p>\u5185\u5b58\u56de\u6536&#xff08;Page Reclaim&#xff09;&#xff1a;\u8fd9\u662f\u6307\u64cd\u4f5c\u7cfb\u7edf\u901a\u8fc7\u56de\u6536\u672a\u88ab\u9891\u7e41\u4f7f\u7528\u7684\u9875\u9762&#xff08;\u901a\u5e38\u662f\u7a0b\u5e8f\u6216\u6570\u636e\u7684\u7f13\u5b58&#xff09;\u6765\u91ca\u653e\u5185\u5b58\u3002\u5f53\u7cfb\u7edf\u53d1\u73b0\u67d0\u4e9b\u5185\u5b58\u9875\u9762\u957f\u65f6\u95f4\u6ca1\u6709\u88ab\u8bbf\u95ee\u65f6&#xff0c;\u5b83\u4f1a\u5c06\u8fd9\u4e9b\u9875\u9762\u91ca\u653e\u56de\u7a7a\u95f2\u5185\u5b58\u6c60\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u5f53\u5185\u5b58\u4e0d\u8db3\u4e14\u7cfb\u7edf\u5f00\u59cb\u89e6\u53d1\u5185\u5b58\u56de\u6536\u548c\u6e05\u7406&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u6e05\u7406\u5185\u5b58&#xff1a;\u5185\u6838\u5728\u8fdb\u884c\u5185\u5b58\u56de\u6536\u65f6&#xff0c;\u5c06\u67d0\u4e9b\u6570\u636e\u4ece\u5185\u5b58\u79fb\u52a8\u5230\u78c1\u76d8&#xff0c;\u6216\u8005\u5c06\u4e0d\u518d\u6d3b\u8dc3\u7684\u5185\u5b58\u9875\u9762\u5199\u5165\u4ea4\u6362\u7a7a\u95f4\u3002\u5982\u679c\u5185\u5b58\u4e2d\u6709\u5927\u91cf\u7684\u6570\u636e\u9700\u8981\u6e05\u7406&#xff08;\u4f8b\u5982\u7f13\u5b58\u3001\u6587\u4ef6\u7cfb\u7edf\u6570\u636e\u3001\u8fdb\u7a0b\u7684\u79c1\u6709\u5185\u5b58\u7b49&#xff09;&#xff0c;\u90a3\u4e48\u8fd9\u4e9b\u6e05\u7406\u52a8\u4f5c\u5c31\u4f1a\u5bfc\u81f4\u78c1\u76d8\u7684\u8bfb\u5199\u3002<\/p>\n<\/li>\n<li>\n<p>\u78c1\u76d8\u7f13\u5b58\u56de\u6536&#xff1a;\u5f53\u7cfb\u7edf\u56de\u6536\u5185\u5b58\u65f6&#xff0c;\u7f13\u5b58&#xff08;\u4f8b\u5982\u6587\u4ef6\u7cfb\u7edf\u7f13\u5b58\u3001\u5e94\u7528\u7a0b\u5e8f\u7f13\u5b58\u7b49&#xff09;\u4e2d\u7684\u6570\u636e\u4f1a\u88ab\u6e05\u7406\u3002\u8fd9\u4e9b\u6570\u636e\u5982\u679c\u7a0d\u540e\u8fd8\u9700\u8981\u7528\u5230&#xff0c;\u5c31\u5fc5\u987b\u4ece\u78c1\u76d8\u91cd\u65b0\u8bfb\u53d6\u3002\u56e0\u6b64&#xff0c;\u7cfb\u7edf\u7684\u78c1\u76d8 IO \u4f1a\u8fc5\u901f\u589e\u52a0&#xff0c;\u56e0\u4e3a\u5f88\u591a\u3002<\/p>\n<\/li>\n<\/ul>\n<p>\u6240\u4ee5\u6839\u672c\u539f\u56e0\u662f&#xff1a;\u5185\u5b58\u4e0d\u8db3&#xff0c;\u7cfb\u7edf\u5f00\u59cb\u89e6\u53d1\u6e05\u7406\u5185\u5b58\u7b56\u7565&#xff0c;\u800c\u7cfb\u7edf\u53ca\u7a0b\u5e8f\u8fd0\u884c\u672c\u8eab\u5c31\u662f\u9700\u8981\u90a3\u4e48\u591a\u7684\u6570\u636e&#xff0c;\u6570\u636e\u88ab\u6e05\u7406\u540e\u53c8\u5fc5\u987b\u91cd\u65b0\u52a0\u8f7d&#xff0c;\u56e0\u6b64\u5c31\u5bfc\u81f4\u4e86\u7cfb\u7edfIO\u8bfb\u9ad8&#xff08;\u6e05\u7406\u6389\u7684\u4ecd\u7136\u9700\u8981\u4ece\u78c1\u76d8\u4e0a\u8bfb\u53d6&#xff09;\u3002\u540c\u65f6\u6e05\u7406\u672c\u8eab\u9700\u8981\u78c1\u76d8\u8f93\u51fa&#xff0c;\u4e24\u8005\u76f8\u52a0\u5bfc\u81f4\u4e86\u78c1\u76d8IO\u9ad8&#xff0c;\u5f53IO\u8fbe\u5230\u78c1\u76d8\u6027\u80fd\u5cf0\u503c\u65f6&#xff0c;CPU\u5c31\u53ea\u80fd\u7b49\u5f85\u78c1\u76d8\u6570\u636e\u4ec0\u4e48\u4e5f\u505a\u4e0d\u4e86&#xff0c;\u5bf9\u4e8e\u6211\u4eec\u7684\u54cd\u5e94\u65e0\u6cd5\u56de\u5e94\u3002<\/p>\n<hr \/>\n<h2>\u89e3\u51b3\u8fc7\u7a0b\u2014\u2014\u4fee\u6539\u5bb9\u5668\u7531docker\u81ea\u52a8\u91cd\u542f\u7b56\u7565&#xff1a;<\/h2>\n<li>\n<p>\u9996\u5148\u7531\u4e8e\u5df2\u7ecf\u65e0\u6cd5\u767b\u5165&#xff0c;\u65e0\u6cd5\u5bf9\u64cd\u4f5c\u7cfb\u7edf\u505a\u51fa\u6307\u4ee4&#xff0c;\u53ea\u80fd\u501f\u52a9\u963f\u91cc\u4e91\u5b98\u65b9\u6765\u534f\u52a9\u3002\u518d\u63a7\u5236\u53f0\u70b9\u51fb\u552e\u540e\u5728\u7ebf\u63cf\u8ff0\u95ee\u9898 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418120304-68023f78b598e.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u963f\u91cc\u4e91\u5b89\u6392\u5de5\u7a0b\u5e08\u6765\u670d\u52a1\u89e3\u51b3 <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418120304-68023f78ca3fc.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<\/li>\n<li>\n<p>\u9996\u5148\u5efa\u7acb\u5feb\u7167&#xff08;\u5907\u4efd&#xff09;\u6388\u6743\u7ed9\u963f\u91cc\u4e91\u3002\u5de5\u7a0b\u5e08\u5e2e\u4e91\u76d8\u6682\u65f6\u6269\u5bb9&#xff0c;\u5c31\u53ef\u4ee5\u64cd\u63a7\u7cfb\u7edf\u4e86<\/p>\n<\/li>\n<li>\n<p>\u518d\u83b7\u5f97\u547d\u4ee4\u63a7\u5236\u6743\u4e4b\u540e&#xff0c;\u4fee\u6539\u4e86\/etc\/sysctl.conf\u6587\u4ef6\u4e0b\u7684vm.swappiness \u503c &#xff0c;\u4fee\u6539\u6210\u4e8640\u3002 \u6267\u884c\u4e86sysctl -p\u3002vm.swappiness \u662f\u4e00\u4e2a\u4e0e Linux \u5185\u5b58\u7ba1\u7406\u76f8\u5173\u7684\u53c2\u6570&#xff0c;\u5b83\u63a7\u5236\u7740\u7cfb\u7edf\u5728\u5185\u5b58\u4f7f\u7528\u8fbe\u5230\u4e00\u5b9a\u6c34\u5e73\u65f6&#xff0c;\u4f7f\u7528\u4ea4\u6362\u7a7a\u95f4&#xff08;Swap&#xff09;\u7684\u7a0b\u5ea6\u3002\u4ea4\u6362\u7a7a\u95f4&#xff08;Swap&#xff09;\u662f\u786c\u76d8\u4e0a\u7684\u4e00\u4e2a\u533a\u57df&#xff0c;\u7528\u6765\u5b58\u50a8\u6682\u65f6\u4e0d\u9700\u8981\u5e38\u9a7b\u5185\u5b58\u7684\u5185\u5bb9&#xff0c;\u4ece\u800c\u91ca\u653e\u5185\u5b58\u7ed9\u66f4\u91cd\u8981\u7684\u8fdb\u7a0b\u3002vm.swappiness \u503c\u7684\u8303\u56f4\u662f 0 \u5230 100\u300240 \u662f\u4e00\u4e2a\u5e73\u8861\u7684\u8bbe\u7f6e&#xff0c;\u65e2\u80fd\u786e\u4fdd\u5185\u5b58\u4f7f\u7528\u7387\u4e0d\u81f3\u4e8e\u8fc7\u9ad8&#xff0c;\u4e5f\u80fd\u907f\u514d\u8fc7\u65e9\u5730\u4f7f\u7528\u4ea4\u6362\u7a7a\u95f4\u3002<\/p>\n<\/li>\n<li>\n<p>\u6267\u884c sysctl -p\u6267\u884c sysctl -p \u547d\u4ee4\u7684\u4f7f \/etc\/sysctl.conf \u6587\u4ef6\u4e2d\u7684\u914d\u7f6e\u751f\u6548\u3002<\/p>\n<\/li>\n<li>\n<p>\u4e0a\u8ff0\u4efb\u52a1\u662f\u4f7f\u5f97\u5185\u5b58\u523080\u4f7f\u7528swap&#xff0c;\u800c\u4e0d\u662f\u7b49\u523090\u518d\u4f7f\u7528&#xff0c;\u8fd9\u6837cpu\u4e0d\u4f1a\u88ab\u5360\u6ee1&#xff0c;\u4f7f\u5f97\u518d\u539f\u5148\u5185\u5b58\u73af\u5883\u4e0b\u4ecd\u53ef\u4ee5\u4f7f\u7528cpu\u3002<\/p>\n<\/li>\n<li>\n<p>\u518d\u767b\u5165\u7cfb\u7edf\u4e4b\u540e\u4f7f\u7528\u914d\u7f6e\u4e0b atop\u76d1\u63a7\u5de5\u5177&#xff0c;\u53ef\u4ee5\u68c0\u67e5\u7cfb\u7edf\u7684\u8fdb\u7a0b <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418120305-68023f79236fd.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u8fd9\u91cc\u7b2c\u4e00\u4e2a\u8fdb\u7a0b\u662f\u7531\u4e8e\u5185\u5b58\u8fc7\u5927\u800c\u4ea7\u751f\u7684&#xff0c;\u6b64\u65f6\u6211\u53d1\u73b0\u539f\u5148\u6211\u5173\u95ed\u7684docker\u5e94\u7528\u5c45\u7136\u5168\u90e8\u90fd\u518d\u8fd0\u884c&#xff0c;\u6211\u4e4b\u524d\u660e\u660e\u662f\u505c\u6b62\u4e86\u7684<\/p>\n<\/li>\n<li>\n<p>\u539f\u6765\u56e0\u4e3a\u6211\u7684\u5bb9\u5668\u518d\u90e8\u7f72\u7684\u65f6\u5019\u76f4\u63a5\u9ed8\u8ba4\u662fdocker\u5bb9\u5668\u91cd\u542f\u7684\u65f6\u5019\u540c\u65f6\u81ea\u52a8\u91cd\u542f\u5982\u4e0b\u4ee3\u7801\u6240\u793a&#xff0c;\u8fd9\u5c31\u5bfc\u81f4\u4e86\u5f53\u62117&#xff0c;8\u4e2a\u5bb9\u5668\u8fd0\u884c\u7684\u65f6\u5019\u5185\u5b58\u5360\u7528\u76f4\u63a5\u8d85\u8fc7\u5bb9\u91cf&#xff0c;\u800c\u6b64\u523b\u6211\u7684swap\u7b56\u7565\u6ca1\u6709\u8fc7\u65e9\u7684\u8fdb\u884c\u4ea4\u6362&#xff0c;\u8fd9\u4e9b\u4f7f\u5f97cpu\u5b95\u673a&#xff0c;\u65e0\u6cd5\u6b63\u5e38\u54cd\u5e94\u5176\u4ed6\u7684\u64cd\u4f5c\u3002\u76f4\u63a5\u5c06\u5bb9\u5668\u505c\u6b62\u5e76\u5c55\u793a\u5220\u9664\u5373\u53ef\u6062\u590d\u6b63\u5e38\u7684\u5185\u5b58\u548ccpu&#xff0c;\u91cd\u65b0\u90e8\u7f72\u7684\u65f6\u5019\u914d\u7f6e\u4e0d\u81ea\u52a8\u91cd\u542f<\/p>\n<\/li>\n<p>ocker inspect <span class=\"token parameter variable\">&#8211;format<\/span> <span class=\"token string\">&#039;{{.Name}}: {{.HostConfig.RestartPolicy.Name}}&#039;<\/span> wordpress_wnjx-wordpress_Wnjx-1<br \/>\n\/wordpress_wnjx-wordpress_Wnjx-1: always<\/p>\n<hr \/>\n<h2>docker\u81ea\u52a8\u91cd\u542f&#xff1a;<\/h2>\n<h3>\u4e3a\u4ec0\u4e48\u9700\u8981\u8bbe\u7f6e\u81ea\u52a8\u91cd\u542f\u7b56\u7565&#xff1f;<\/h3>\n<p>\u81ea\u52a8\u91cd\u542f\u7b56\u7565\u53ef\u4ee5\u786e\u4fdd\u5373\u4f7f\u5728 Docker \u6216\u7cfb\u7edf\u91cd\u542f\u540e&#xff0c;\u5173\u952e\u5e94\u7528&#xff08;\u5982\u6570\u636e\u5e93\u3001Web \u670d\u52a1\u5668\u7b49&#xff09;\u80fd\u591f\u6301\u7eed\u8fd0\u884c&#xff0c;\u51cf\u5c11\u4eba\u4e3a\u5e72\u9884\u3002\u4f7f\u7528\u81ea\u52a8\u91cd\u542f\u7b56\u7565&#xff0c;\u5bb9\u5668\u4f1a\u5728\u9519\u8bef\u9000\u51fa\u540e\u81ea\u52a8\u6062\u590d,\u5982\u679c\u4f60\u6709\u591a\u4e2a\u5bb9\u5668&#xff0c;\u624b\u52a8\u76d1\u63a7\u548c\u91cd\u542f\u5bb9\u5668\u4f1a\u975e\u5e38\u9ebb\u70e6\u3002\u8bbe\u7f6e\u81ea\u52a8\u91cd\u542f\u80fd\u591f\u5e2e\u52a9\u81ea\u52a8\u5316\u8fd9\u4e2a\u8fc7\u7a0b&#xff0c;\u51cf\u5c11\u8fd0\u7ef4\u8d1f\u62c5\u3002<\/p>\n<h3>\u91cd\u542f\u7b56\u7565\u5982\u4f55\u4e0e Docker \u5b88\u62a4\u8fdb\u7a0b\u91cd\u542f\u7ed3\u5408\u4f7f\u7528<\/h3>\n<p>Docker \u5b88\u62a4\u8fdb\u7a0b&#xff08;Docker Daemon&#xff09;\u4f1a\u968f\u7740\u4e3b\u673a\u7684\u91cd\u542f\u800c\u91cd\u542fDocker \u5b88\u62a4\u8fdb\u7a0b\u7ba1\u7406\u5bb9\u5668\u7684\u751f\u547d\u5468\u671f&#xff0c;\u5305\u62ec\u542f\u52a8\u3001\u505c\u6b62\u3001\u91cd\u542f\u7b49\u3002\u5f53 Docker \u5b88\u62a4\u8fdb\u7a0b\u542f\u52a8\u65f6&#xff0c;\u5b83\u4f1a\u68c0\u67e5\u6bcf\u4e2a\u5bb9\u5668\u7684\u91cd\u542f\u7b56\u7565&#xff0c;\u5e76\u51b3\u5b9a\u662f\u5426\u91cd\u542f\u8fd9\u4e9b\u5bb9\u5668\u3002\u56e0\u6b64&#xff0c;\u5982\u679c\u8bbe\u7f6e\u4e86\u81ea\u52a8\u91cd\u542f\u7b56\u7565&#xff08;\u4f8b\u5982 always \u6216 unless-stopped&#xff09;&#xff0c;\u5f53 Docker \u5b88\u62a4\u8fdb\u7a0b\u542f\u52a8\u65f6&#xff0c;\u7b26\u5408\u6761\u4ef6\u7684\u5bb9\u5668\u4f1a\u88ab\u81ea\u52a8\u91cd\u542f\u3002<\/p>\n<h3>\u5bb9\u5668\u91cd\u542f\u7b56\u7565\u548c\u7cfb\u7edf\u670d\u52a1\u7ba1\u7406&#xff08;\u5982 systemd&#xff09;<\/h3>\n<p>\u53ef\u4ee5\u5c06 Docker \u5bb9\u5668\u914d\u7f6e\u4e3a systemd \u670d\u52a1&#xff0c;\u901a\u8fc7 systemd \u6765\u63a7\u5236\u5bb9\u5668\u7684\u542f\u52a8\u548c\u505c\u6b62\u3002\u4f8b\u5982&#xff0c;\u4f7f\u7528 systemd \u4e5f\u53ef\u4ee5\u5b9e\u73b0\u5bb9\u5668\u7684\u81ea\u52a8\u91cd\u542f\u3002\u8fd9\u6837&#xff0c;\u5373\u4f7f Docker \u5b88\u62a4\u8fdb\u7a0b\u91cd\u542f&#xff0c;systemd \u4e5f\u4f1a\u786e\u4fdd\u5bb9\u5668\u6309\u671f\u671b\u91cd\u542f\u3002<\/p>\n<p><span class=\"token punctuation\">[<\/span>Unit<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">Description<\/span><span class=\"token operator\">&#061;<\/span>Docker Container <span class=\"token keyword\">for<\/span> my_container \/\/\u63cf\u8ff0\u670d\u52a1\u7684\u540d\u79f0\u3002<br \/>\n<span class=\"token assign-left variable\">After<\/span><span class=\"token operator\">&#061;<\/span>docker.service \/\/\u786e\u4fdd\u5bb9\u5668\u5728 Docker \u5b88\u62a4\u8fdb\u7a0b\u542f\u52a8\u540e\u624d\u4f1a\u542f\u52a8\u3002<br \/>\n<span class=\"token assign-left variable\">Requires<\/span><span class=\"token operator\">&#061;<\/span>docker.service \/\/\u5982\u679c Docker \u5b88\u62a4\u8fdb\u7a0b\u6ca1\u6709\u542f\u52a8&#xff0c;\u5bb9\u5668\u670d\u52a1\u5c06\u4e0d\u4f1a\u542f\u52a8\u3002<\/p>\n<p><span class=\"token punctuation\">[<\/span>Service<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">Restart<\/span><span class=\"token operator\">&#061;<\/span>always\/no \/\/\u786e\u4fdd\u5bb9\u5668\u5728\u9000\u51fa\u65f6\u81ea\u52a8\u91cd\u542f\u3002\u4e5f\u53ef\u4ee5\u8bbe\u7f6e\u4e3a on-failure&#xff0c;\u53ea\u5728\u5bb9\u5668\u5f02\u5e38\u9000\u51fa\u65f6\u91cd\u542f\u3002<br \/>\n<span class=\"token assign-left variable\">ExecStart<\/span><span class=\"token operator\">&#061;<\/span>\/usr\/bin\/docker start <span class=\"token parameter variable\">-a<\/span> my_container\/\/\u542f\u52a8\u5bb9\u5668\u7684\u547d\u4ee4&#xff0c;-a \u9009\u9879\u786e\u4fdd\u5bb9\u5668\u7684\u8f93\u51fa\u4f1a\u8fde\u63a5\u5230\u5f53\u524d\u7684\u7ec8\u7aef\u3002<br \/>\n<span class=\"token assign-left variable\">ExecStop<\/span><span class=\"token operator\">&#061;<\/span>\/usr\/bin\/docker stop <span class=\"token parameter variable\">-t<\/span> <span class=\"token number\">2<\/span> my_container\/\/\u505c\u6b62\u5bb9\u5668\u7684\u547d\u4ee4&#xff0c;-t <span class=\"token number\">2<\/span> \u8868\u793a\u5728\u5bb9\u5668\u5173\u95ed\u65f6\u7b49\u5f85 <span class=\"token number\">2<\/span> \u79d2\u3002<br \/>\n\/\/\u6307\u5b9a\u8be5\u670d\u52a1\u5e94\u8be5\u5728\u7cfb\u7edf\u7684\u591a\u7528\u6237\u6a21\u5f0f\u4e0b\u542f\u52a8<br \/>\n<span class=\"token punctuation\">[<\/span>Install<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token assign-left variable\">WantedBy<\/span><span class=\"token operator\">&#061;<\/span>multi-user.target<\/p>\n<p>\/\/\u91cd\u65b0\u52a0\u8f7d\u542f\u52a8\u670d\u52a1<br \/>\n<span class=\"token function\">sudo<\/span> systemctl daemon-reload<br \/>\n<span class=\"token function\">sudo<\/span> systemctl start docker-my-container.service<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf22\u6b21\u3002\u524d\u51e0\u5929\u5728\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e86\u4e00\u4e2a\u514d\u8d39\u5f71\u89c6\u7f51\u7ad9\uff0c\u8fd9\u4e2a\u5e94\u7528\u9700\u8981\u56db\u4e2a\u5bb9\u5668\uff0c\u540c\u65f6\u4e4b\u524d\u7684\u5efa\u7ad9\u8f6f\u4ef6workpress\u4e5f\u662f\u4f7f\u7528docker\u90e8\u7f72\u7684\uff0c\u4e5f\u4f7f\u7528\u4e86\u4e09\u4e2a\u5bb9\u5668\u3002\u5728\u4f7f\u7528workpress\u4e4b\u524d\uff0c\u6211\u5c06\u5f71\u89c6\u8f6f\u4ef6\u7684\u5bb9\u5668\u3002\u518d\u4f7f\u7528workpress\u65f6\uff0c\u670d\u52a1\u5668\u7684\u5185\u5b58\u8d44\u6e90\u4e00\u5207\u6b63\u5e38\uff0c\u6b64\u540e\u5c31\u6ca1\u7ba1\u4e86\u3002\u8fc7\u4e86\u4e24\u5929\u91cd\u65b0\u767b\u5165\u670d\u52a1\u5668\u65f6\uff0c\u53d1\u73b0\u5b8c\u5168\u767b\u4e0d\u8fdb\u53bb\u3002_docker\u5bfc\u81f4cpu\u5d29\u6e83<\/p>\n","protected":false},"author":2,"featured_media":12930,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[249,27,58,43,258,44,96],"topic":[],"class_list":["post-12936","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-bug","tag-docker","tag-linux","tag-43","tag-258","tag-44","tag-96"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/12936.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf22\u6b21\u3002\u524d\u51e0\u5929\u5728\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e86\u4e00\u4e2a\u514d\u8d39\u5f71\u89c6\u7f51\u7ad9\uff0c\u8fd9\u4e2a\u5e94\u7528\u9700\u8981\u56db\u4e2a\u5bb9\u5668\uff0c\u540c\u65f6\u4e4b\u524d\u7684\u5efa\u7ad9\u8f6f\u4ef6workpress\u4e5f\u662f\u4f7f\u7528docker\u90e8\u7f72\u7684\uff0c\u4e5f\u4f7f\u7528\u4e86\u4e09\u4e2a\u5bb9\u5668\u3002\u5728\u4f7f\u7528workpress\u4e4b\u524d\uff0c\u6211\u5c06\u5f71\u89c6\u8f6f\u4ef6\u7684\u5bb9\u5668\u3002\u518d\u4f7f\u7528workpress\u65f6\uff0c\u670d\u52a1\u5668\u7684\u5185\u5b58\u8d44\u6e90\u4e00\u5207\u6b63\u5e38\uff0c\u6b64\u540e\u5c31\u6ca1\u7ba1\u4e86\u3002\u8fc7\u4e86\u4e24\u5929\u91cd\u65b0\u767b\u5165\u670d\u52a1\u5668\u65f6\uff0c\u53d1\u73b0\u5b8c\u5168\u767b\u4e0d\u8fdb\u53bb\u3002_docker\u5bfc\u81f4cpu\u5d29\u6e83\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/12936.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T12:03:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418120303-68023f77cb0b0.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/12936.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/12936.html\",\"name\":\"\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T12:03:06+00:00\",\"dateModified\":\"2025-04-18T12:03:06+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/12936.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/12936.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/12936.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/12936.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb1.6k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf22\u6b21\u3002\u524d\u51e0\u5929\u5728\u670d\u52a1\u5668\u4e0a\u90e8\u7f72\u4e86\u4e00\u4e2a\u514d\u8d39\u5f71\u89c6\u7f51\u7ad9\uff0c\u8fd9\u4e2a\u5e94\u7528\u9700\u8981\u56db\u4e2a\u5bb9\u5668\uff0c\u540c\u65f6\u4e4b\u524d\u7684\u5efa\u7ad9\u8f6f\u4ef6workpress\u4e5f\u662f\u4f7f\u7528docker\u90e8\u7f72\u7684\uff0c\u4e5f\u4f7f\u7528\u4e86\u4e09\u4e2a\u5bb9\u5668\u3002\u5728\u4f7f\u7528workpress\u4e4b\u524d\uff0c\u6211\u5c06\u5f71\u89c6\u8f6f\u4ef6\u7684\u5bb9\u5668\u3002\u518d\u4f7f\u7528workpress\u65f6\uff0c\u670d\u52a1\u5668\u7684\u5185\u5b58\u8d44\u6e90\u4e00\u5207\u6b63\u5e38\uff0c\u6b64\u540e\u5c31\u6ca1\u7ba1\u4e86\u3002\u8fc7\u4e86\u4e24\u5929\u91cd\u65b0\u767b\u5165\u670d\u52a1\u5668\u65f6\uff0c\u53d1\u73b0\u5b8c\u5168\u767b\u4e0d\u8fdb\u53bb\u3002_docker\u5bfc\u81f4cpu\u5d29\u6e83","og_url":"https:\/\/www.wsisp.com\/helps\/12936.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T12:03:06+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418120303-68023f77cb0b0.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/12936.html","url":"https:\/\/www.wsisp.com\/helps\/12936.html","name":"\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T12:03:06+00:00","dateModified":"2025-04-18T12:03:06+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/12936.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/12936.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/12936.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8bb0\u4e00\u6b21\u7531docker\u5bb9\u5668\u4f7f\u5f97\u670d\u52a1\u5668cpu\u5360\u6ee1\u5bc6\u7801\u548c\u5bc6\u94a5\u65e0\u6cd5\u8bbf\u95eebug"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/12936","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=12936"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/12936\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/12930"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=12936"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=12936"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=12936"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=12936"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}