{"id":16279,"date":"2024-03-06T11:22:01","date_gmt":"2024-03-06T03:22:01","guid":{"rendered":"https:\/\/blog.ywdevops.cn\/?p=16279"},"modified":"2024-03-06T15:07:12","modified_gmt":"2024-03-06T07:07:12","slug":"docker-12","status":"publish","type":"post","link":"https:\/\/blog.ywdevops.cn\/index.php\/2024\/03\/06\/docker-12\/","title":{"rendered":"Docker\u5e95\u5c42\u5b9e\u73b0"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Docker \u5e95\u5c42\u7684\u6838\u5fc3\u6280\u672f\u5305\u62ec Linux \u4e0a\u7684\u547d\u540d\u7a7a\u95f4\uff08Namespaces\uff09\u3001\u63a7\u5236\u7ec4\uff08Control groups\uff09\u3001Union \u6587\u4ef6\u7cfb\u7edf\uff08Union file systems\uff09\u548c\u5bb9\u5668\u683c\u5f0f\uff08Container format\uff09<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u547d\u540d\u7a7a\u95f4<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u547d\u540d\u7a7a\u95f4\u662f Linux \u5185\u6838\u4e00\u4e2a\u5f3a\u5927\u7684\u7279\u6027\u3002\u6bcf\u4e2a\u5bb9\u5668\u90fd\u6709\u81ea\u5df1\u5355\u72ec\u7684\u547d\u540d\u7a7a\u95f4\uff0c\u8fd0\u884c\u5728\u5176\u4e2d\u7684\u5e94\u7528\u90fd\u50cf\u662f\u5728\u72ec\u7acb\u7684\u64cd\u4f5c\u7cfb\u7edf\u4e2d\u8fd0\u884c\u4e00\u6837\u3002\u547d\u540d\u7a7a\u95f4\u4fdd\u8bc1\u4e86\u5bb9\u5668\u4e4b\u95f4\u5f7c\u6b64\u4e92\u4e0d\u5f71\u54cd\uff0c\u975e\u5bb9\u5668\u5e94\u7528\u4e00\u822c\u5171\u7528\u76f8\u540c\u7684\u547d\u540d\u7a7a\u95f4(\u6bd4\u5982\u4e00\u53f0\u673a\u8fd0\u884c\u4e86\u591a\u4e2aJava\u7a0b\u5e8f\uff0c\u5b83\u4eec\u4f7f\u7528\u76f8\u540c\u7684\u547d\u540d\u7a7a\u95f4\uff0c\u56e0\u6b64pid\u552f\u4e00)\uff0c\u9664\u975e\u5355\u72ec\u521b\u5efa<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">1\u3001pid\u547d\u540d\u7a7a\u95f4<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4e0d\u540c\u7528\u6237\u7684\u8fdb\u7a0b\u5c31\u662f\u901a\u8fc7 pid \u547d\u540d\u7a7a\u95f4\u9694\u79bb\u5f00\u7684\uff0c\u4e14\u4e0d\u540c\u547d\u540d\u7a7a\u95f4\u4e2d\u53ef\u4ee5\u6709\u76f8\u540c pid\u3002\u6240\u6709\u7684 LXC (linux containers)\u8fdb\u7a0b\u5728 Docker \u4e2d\u7684\u7236\u8fdb\u7a0b\u4e3a Docker \u8fdb\u7a0b\uff0c\u6bcf\u4e2a LXC \u8fdb\u7a0b\u5177\u6709\u4e0d\u540c\u7684\u547d\u540d\u7a7a\u95f4\u3002\u540c\u65f6\u7531\u4e8e\u5141\u8bb8\u5d4c\u5957\uff0c\u56e0\u6b64\u53ef\u4ee5\u5f88\u65b9\u4fbf\u7684\u5b9e\u73b0\u5d4c\u5957\u7684 Docker \u5bb9\u5668\uff0c\u6bcf\u4e2adocker\u5bb9\u5668\u542f\u52a8\u540e\u90fd\u4f1a\u521b\u5efa\u4e00\u4e2a\u65b0\u7684\u547d\u540d\u7a7a\u95f4\uff0c\u7528\u4e8e\u8fdb\u884c\u8d44\u6e90\u9694\u79bb<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4f8b\u5982\uff1a\u67e5\u770balpine\u5bb9\u5668\u5bf9\u5e94\u7684pid\uff0c\u7136\u540e\u6839\u636e\u6b64pid\u6765\u67e5\u770b\u6b63\u5728\u54ea\u4e9b\u547d\u540d\u7a7a\u95f4\u4e2d\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"322\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/6-1.jpg\" alt=\"\" class=\"wp-image-16285\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/6-1.jpg 700w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/6-1-300x138.jpg 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/6-1-600x276.jpg 600w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ece\u4e0a\u56fe\u53ef\u4ee5\u770b\u51fa\uff0c\u5f53\u524d\u8fdb\u7a0b\u6240\u5728\u7684ipc\u3001mnt\u3001net\u7b49\u547d\u540d\u7a7a\u95f4<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u518d\u6b21\u67e5\u770b\u540c\u4e00\u673a\u5668\u4e0aredis\u5bb9\u5668\u7684pid\uff0c\u4ee5\u53ca\u54cd\u5e94\u7684\u547d\u540d\u7a7a\u95f4\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"694\" height=\"310\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/7-2.jpg\" alt=\"\" class=\"wp-image-16287\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/7-2.jpg 694w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/7-2-300x134.jpg 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/7-2-600x268.jpg 600w\" sizes=\"auto, (max-width: 694px) 100vw, 694px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u901a\u8fc7\u6bd4\u8f83\u53ef\u4ee5\u770b\u51fa\uff0c\u4e0d\u540c\u5bb9\u5668\u6240\u5728\u7684\u547d\u540d\u7a7a\u95f4\u662f\u4e0d\u540c\u7684\uff0c\u4ece\u800c\u5b9e\u73b0\u8d44\u6e90\u9694\u79bb<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">2\u3001net\u547d\u540d\u7a7a\u95f4<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6709\u4e86 pid \u547d\u540d\u7a7a\u95f4\uff0c\u6bcf\u4e2a\u547d\u540d\u7a7a\u95f4\u4e2d\u7684 pid \u80fd\u591f\u76f8\u4e92\u9694\u79bb\uff0c\u4f46\u662f\u7f51\u7edc\u7aef\u53e3\u8fd8\u662f\u5171\u4eab host \u7684\u7aef\u53e3\u3002\u7f51\u7edc\u9694\u79bb\u662f\u901a\u8fc7 net \u547d\u540d\u7a7a\u95f4\u5b9e\u73b0\u7684\uff0c \u6bcf\u4e2a net \u547d\u540d\u7a7a\u95f4\u6709\u72ec\u7acb\u7684 \u7f51\u7edc\u8bbe\u5907\uff0cIP \u5730\u5740\uff0c\u8def\u7531\u8868\uff0c\/proc\/net \u76ee\u5f55\u3002\u8fd9\u6837\u6bcf\u4e2a\u5bb9\u5668\u7684\u7f51\u7edc\u5c31\u80fd\u9694\u79bb\u5f00\u6765\u3002Docker \u9ed8\u8ba4\u91c7\u7528 veth \u7684\u65b9\u5f0f\uff0c\u5c06\u5bb9\u5668\u4e2d\u7684\u865a\u62df\u7f51\u5361\u540c host \u4e0a\u7684\u4e00 \u4e2aDocker \u7f51\u6865 docker0 \u8fde\u63a5\u5728\u4e00\u8d77<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">3\u3001ipc\u547d\u540d\u7a7a\u95f4<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5bb9\u5668\u4e2d\u8fdb\u7a0b\u4ea4\u4e92\u8fd8\u662f\u91c7\u7528\u4e86 Linux \u5e38\u89c1\u7684\u8fdb\u7a0b\u95f4\u4ea4\u4e92\u65b9\u6cd5(interprocess communication &#8211; IPC)\uff0c \u5305\u62ec\u4fe1\u53f7\u91cf\u3001\u6d88\u606f\u961f\u5217\u548c\u5171\u4eab\u5185\u5b58\u7b49\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\"><strong>4\u3001mnt \u547d\u540d\u7a7a\u95f4<\/strong><\/mark><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5c06\u4e00\u4e2a\u8fdb\u7a0b\u653e\u5230\u4e00\u4e2a\u7279\u5b9a\u7684\u76ee\u5f55\u6267\u884c\u3002mnt \u547d\u540d\u7a7a\u95f4\u5141\u8bb8\u4e0d\u540c\u547d\u540d\u7a7a\u95f4\u7684\u8fdb\u7a0b\u770b\u5230\u7684\u6587\u4ef6\u7ed3\u6784\u4e0d\u540c\uff0c\u8fd9\u6837\u6bcf\u4e2a\u547d\u540d\u7a7a\u95f4\u4e2d\u7684\u8fdb\u7a0b\u6240\u770b\u5230\u7684\u6587\u4ef6\u76ee\u5f55\u5c31\u88ab\u9694\u79bb\u5f00\u4e86\u3002\u540c chroot \u4e0d\u540c\uff0c\u6bcf\u4e2a\u547d\u540d\u7a7a\u95f4\u4e2d\u7684\u5bb9\u5668\u5728 \/proc\/mounts \u7684\u4fe1\u606f\u53ea\u5305\u542b\u6240\u5728\u547d\u540d\u7a7a\u95f4\u7684 mount point<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">5\u3001uts\u547d\u540d\u7a7a\u95f4<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">UTS(&#8220;UNIX Time-sharing System&#8221;) \u547d\u540d\u7a7a\u95f4\u5141\u8bb8\u6bcf\u4e2a\u5bb9\u5668\u62e5\u6709\u72ec\u7acb\u7684 hostname \u548c domain name\uff0c \u4f7f\u5176\u5728\u7f51\u7edc\u4e0a\u53ef\u4ee5\u88ab\u89c6\u4f5c\u4e00\u4e2a\u72ec\u7acb\u7684\u8282\u70b9\u800c\u975e \u4e3b\u673a\u4e0a\u7684\u4e00\u4e2a\u8fdb\u7a0b<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">6\u3001user \u547d\u540d\u7a7a\u95f4<a href=\"#user-ming-ming-kong-jian\"><\/a><\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u6bcf\u4e2a\u5bb9\u5668\u53ef\u4ee5\u6709\u4e0d\u540c\u7684\u7528\u6237\u548c\u7ec4 id\uff0c \u4e5f\u5c31\u662f\u8bf4\u53ef\u4ee5\u5728\u5bb9\u5668\u5185\u7528\u5bb9\u5668\u5185\u90e8\u7684\u7528\u6237\u6267\u884c\u7a0b\u5e8f\u800c\u975e\u4e3b\u673a\u4e0a\u7684\u7528\u6237<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u63a7\u5236\u7ec4<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u63a7\u5236\u7ec4\uff08control <a href=\"https:\/\/en.wikipedia.org\/wiki\/Cgroups\">groups<\/a> \u7b80\u79f0cgroups\uff09\u662f Linux \u5185\u6838\u7684\u4e00\u4e2a\u7279\u6027\uff0c\u4e3b\u8981\u7528\u6765\u5bf9\u5171\u4eab\u8d44\u6e90\u8fdb\u884c\u9694\u79bb\u3001\u9650\u5236\u3001\u5ba1\u8ba1\u7b49\u3002\u53ea\u6709\u80fd\u63a7\u5236\u5206\u914d\u5230\u5bb9\u5668\u7684\u8d44\u6e90\uff0c\u624d\u80fd\u907f\u514d\u5f53\u591a\u4e2a\u5bb9\u5668\u540c\u65f6\u8fd0\u884c\u65f6\u7684\u5bf9\u7cfb\u7edf\u8d44\u6e90\u7684\u7ade\u4e89\uff0c\u63a7\u5236\u7ec4\u53ef\u4ee5\u63d0\u4f9b\u5bf9\u5bb9\u5668\u7684\u5185\u5b58\u3001CPU\u3001\u78c1\u76d8 IO \u7b49\u8d44\u6e90\u7684\u9650\u5236\u548c\u5ba1\u8ba1\u7ba1\u7406<\/p>\n\n\n\n<p class=\"has-text-align-center wp-block-paragraph\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-purple-color\">\u8054\u5408\u6587\u4ef6\u7cfb\u7edf<\/mark><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8054\u5408\u6587\u4ef6\u7cfb\u7edf\uff08<a href=\"https:\/\/en.wikipedia.org\/wiki\/UnionFS\">UnionFS<\/a>\uff09\u662f\u4e00\u79cd\u5206\u5c42\u3001\u8f7b\u91cf\u7ea7\u5e76\u4e14\u9ad8\u6027\u80fd\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b83\u652f\u6301\u5bf9\u6587\u4ef6\u7cfb\u7edf\u7684\u4fee\u6539\u4f5c\u4e3a\u4e00\u6b21\u63d0\u4ea4\u6765\u4e00\u5c42\u5c42\u7684\u53e0\u52a0\uff0c\u540c\u65f6\u53ef\u4ee5\u5c06\u4e0d\u540c\u76ee\u5f55\u6302\u8f7d\u5230\u540c\u4e00\u4e2a\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\u4e0b(unite several directories into a single virtual filesystem)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u8054\u5408\u6587\u4ef6\u7cfb\u7edf\u662f Docker \u955c\u50cf\u7684\u57fa\u7840\u3002\u955c\u50cf\u53ef\u4ee5\u901a\u8fc7\u5206\u5c42\u6765\u8fdb\u884c\u7ee7\u627f\uff0c\u57fa\u4e8e\u57fa\u7840\u955c\u50cf\uff08\u6ca1\u6709\u7236\u955c\u50cf\uff09\uff0c\u53ef\u4ee5\u5236\u4f5c\u5404\u79cd\u5177\u4f53\u7684\u5e94\u7528\u955c\u50cf\uff0c\u4e0d\u540c Docker \u5bb9\u5668\u5c31\u53ef\u4ee5\u5171\u4eab\u4e00\u4e9b\u57fa\u7840\u7684\u6587\u4ef6\u7cfb\u7edf\u5c42\uff0c\u540c\u65f6\u518d\u52a0\u4e0a\u81ea\u5df1\u72ec\u6709\u7684\u6539\u52a8\u5c42\uff0c\u5927\u5927\u63d0\u9ad8\u4e86\u5b58\u50a8\u7684\u6548\u7387\uff0cDocker \u76ee\u524d\u652f\u6301\u7684\u8054\u5408\u6587\u4ef6\u7cfb\u7edf\u5305\u62ec <code>OverlayFS<\/code>, <code>AUFS<\/code>, <code>Btrfs<\/code>, <code>VFS<\/code>, <code>ZFS<\/code> \u548c <code>Device Mapper<\/code><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5728 Docker \u4e2d OverlayFS \u6587\u4ef6\u9a71\u52a8\u88ab\u5206\u4e3a\u4e86\u4e24\u79cd\uff0c\u4e00\u79cd\u662f\u65e9\u671f\u7684overlay\uff0c\u4e0d\u63a8\u8350\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\uff0c\u53e6\u4e00\u79cd\u662f\u66f4\u65b0\u548c\u66f4\u7a33\u5b9a\u7684overlay2\uff0c\u63a8\u8350\u5728\u751f\u4ea7\u73af\u5883\u4e2d\u4f7f\u7528\uff0c\u4f46\u662f\u4f7f\u7528overlay2\u662f\u6709\u4e00\u5b9a\u6761\u4ef6\u9650\u5236\u7684<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Docker \u7248\u672c\u5fc5\u987b\u9ad8\u4e8e 17.06.02<\/li>\n\n\n\n<li>\u5982\u679c\u64cd\u4f5c\u7cfb\u7edf\u662f RHEL \u6216 CentOS\uff0cLinux \u5185\u6838\u7248\u672c\u5fc5\u987b\u4f7f\u7528 3.10.0-514 \u6216\u8005\u66f4\u9ad8\u7248\u672c\uff0c\u5176\u4ed6 Linux \u53d1\u884c\u7248\u7684\u5185\u6838\u7248\u672c\u5fc5\u987b\u9ad8\u4e8e 4.0\uff08\u4f8b\u5982 Ubuntu \u6216 Debian\uff09<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">overlay2\u6700\u597d\u642d\u914d xfs \u6587\u4ef6\u7cfb\u7edf\u4f7f\u7528\uff0c\u5e76\u4e14\u4f7f\u7528 xfs \u4f5c\u4e3a\u5e95\u5c42\u6587\u4ef6\u7cfb\u7edf\u65f6\uff0cd_type\u5fc5\u987b\u5f00\u542f(\u5426\u5219\u4f1a\u51fa\u73b0\u4f4d\u672a\u77e5\u9519\u8bef)\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u9a8c\u8bc1 d_type \u662f\u5426\u5f00\u542f\uff0c\u5982\u56fe\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"698\" height=\"80\" src=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/8-1.jpg\" alt=\"\" class=\"wp-image-16293\" srcset=\"https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/8-1.jpg 698w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/8-1-300x34.jpg 300w, https:\/\/blog.ywdevops.cn\/wp-content\/uploads\/2024\/03\/8-1-600x69.jpg 600w\" sizes=\"auto, (max-width: 698px) 100vw, 698px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u8f93\u51fa\u7ed3\u679c\u4e2d\u6709 ftype=1 \u65f6\uff0c\u8868\u793a d_type \u5df2\u7ecf\u5f00\u542f\u3002\u5982\u679c\u4f60\u7684\u8f93\u51fa\u7ed3\u679c\u4e3a ftype=0\uff0c\u5219\u9700\u8981\u91cd\u65b0\u683c\u5f0f\u5316\u78c1\u76d8\u76ee\u5f55\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkfs.xfs -f -n ftype=1 \/path\/to\/disk<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u5f53\u524d\u4e3b\u6d41\u7684\u64cd\u4f5c\u7cfb\u7edf\u63a8\u8350\u4f7f\u7528\u7684\u90fd\u662foverlay2\uff0c\u5982\uff1aCentos\u3001Ubuntu\u3001Fedora\u3001Debian\u7b49<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Docker \u5e95\u5c42\u7684\u6838\u5fc3\u6280\u672f\u5305\u62ec Linux \u4e0a\u7684\u547d\u540d\u7a7a\u95f4\uff08Namespaces\uff09\u3001\u63a7\u5236\u7ec4\uff08Control g [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":16280,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,23],"tags":[],"class_list":["post-16279","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker","category-rong"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":8}},"_links":{"self":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/16279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/comments?post=16279"}],"version-history":[{"count":11,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/16279\/revisions"}],"predecessor-version":[{"id":16296,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/posts\/16279\/revisions\/16296"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media\/16280"}],"wp:attachment":[{"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/media?parent=16279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/categories?post=16279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ywdevops.cn\/index.php\/wp-json\/wp\/v2\/tags?post=16279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}