{"id":192047,"date":"2020-11-01T10:17:03","date_gmt":"2020-11-01T02:17:03","guid":{"rendered":"http:\/\/4563.org\/?p=192047"},"modified":"2020-11-01T10:17:03","modified_gmt":"2020-11-01T02:17:03","slug":"%e6%83%b3%e5%81%9a%e4%b8%aa-windows-%e4%b8%8a%e7%b1%bb%e4%bc%bc-docker-%e7%9a%84%e8%bd%af%e4%bb%b6%e6%9d%a5%e5%ae%89%e8%a3%85%e5%9b%bd%e4%ba%a7%e8%bd%af%e4%bb%b6","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=192047","title":{"rendered":"\u60f3\u505a\u4e2a Windows \u4e0a\u7c7b\u4f3c Docker \u7684\u8f6f\u4ef6\u6765\u5b89\u88c5\u56fd\u4ea7\u8f6f\u4ef6"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u60f3\u505a\u4e2a Windows \u4e0a\u7c7b\u4f3c Docker \u7684\u8f6f\u4ef6\u6765\u5b89\u88c5\u56fd\u4ea7\u8f6f\u4ef6               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : naoh1000 <\/span>  <span><i><\/i> 2<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\">                        Sandboxie \u7684\u6587\u4ef6\u6743\u9650\u7ba1\u7406\u662f\u9ed1\u540d\u5355\u673a\u5236\u7684\uff0c\u5373\u4f60\u53ea\u80fd\u7981\u6b62\u8fd0\u884c\u5728\u91cc\u9762\u7684\u8f6f\u4ef6\u8bfb\u53d6\u67d0\u4e2a\u6587\u4ef6\u5939\u3002\u8fd9\u4e0d\u80fd\u5f88\u597d\u5730\u963b\u6b62\u56fd\u4ea7\u8f6f\u4ef6\u626b\u63cf\u786c\u76d8\u3002\u6211\u60f3\u505a\u4e00\u4e2a\u8f6f\u4ef6\uff0c\u5728\u91cc\u9762\u8fd0\u884c\u4e00\u4e2a\u8f6f\u4ef6\u5b89\u88c5\u5305\u4f1a\u81ea\u52a8\u521b\u5efa\u4e00\u4e2a\u5bb9\u5668\uff0c\u5bb9\u5668\u5185\u53ea\u80fd\u8bbf\u95ee\u4e00\u4e9b\u7cfb\u7edf\u6587\u4ef6\uff0c\u7528\u6237\u53ef\u4ee5\u628a\u4e3b\u673a\u4e0a\u7684\u67d0\u4e2a\u9700\u8981\u7528\u5230\u7684\u76ee\u5f55\u6302\u8f7d\u8fdb\u5bb9\u5668\uff0c\u6216\u8005\u521b\u5efa volumes \u6765\u6301\u4e45\u5316\u6570\u636e\uff0c\u50cf Docker \u4e00\u6837\u3002\u6700\u8fd1\u6ce8\u610f\u5230 Containerd \u5df2\u7ecf\u652f\u6301\u4e86 Windows \u7684\u8fdb\u7a0b\u9694\u79bb\uff08\u975e Hyper-V \uff09\u60f3\u95ee\u4e0b V \u53cb\u8fd9\u6837\u505a\u7684\u53ef\u884c\u6027\u4ee5\u53ca\u57fa\u4e8e Sandboxie \u5f00\u53d1\u8fd8\u662f Containerd \u5f00\u53d1\u5bb9\u6613\u4e00\u4e9b\u3002      <\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>13<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4135949\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mouyase <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0d\u61c2\u4f46\u662f\u652f\u6301                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135950\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zjlletian <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Containerd \u662f\u57fa\u4e8e linux \u7684\uff0c\u4f60\u60f3\u8bf4\u7684\u5e94\u8be5\u662f windows \u4e0b\u7684\u4e91\u7aef\u8f6f\u4ef6\uff0c\u4f60\u641c\u4e00\u4e0b\u4e91\u7aef\u8f6f\u4ef6\u5c31\u77e5\u9053\u4e86\uff0c\u597d\u51e0\u5e74\u524d\u6bd4\u8f83\u706b\uff0c\u4e0d\u8fc7\u8fd9\u73a9\u610f\u513f\u5df2\u7ecf\u51c9\u7684\u5dee\u4e0d\u591a\u4e86\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135951\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : naoh1000 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zjlletian \u4e0d\u662f\u4e91\u7aef\u8f6f\u4ef6\uff0c\u662f\u8fd0\u884c\u5728\u7528\u6237\u7535\u8111\u4e0a\u7684\u3002\u770b Containerd \u7684 Readme.md \uff0c\u8fd9\u9879\u76ee\u662f\u652f\u6301 Windows \u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135952\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Cooky <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6c99\u76d8\u4e0d\u7528\u7981\u6b62\u8bfb\u5199\uff0c\u76f4\u63a5\u628a\u76ee\u5f55\u8bbe\u6210\u7a7a\u7684\u5c31\u5b8c\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135953\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : ahhui <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4f30\u8ba1\u5b9e\u73b0\u4e0d\u4e86\uff0c\u56e0\u4e3a\u56fd\u4ea7\u8f6f\u4ef6\u5728 Windows \u4e0b\u5168\u90fd\u7528\u4e86\u9a71\u52a8\uff0c\u9a71\u52a8\u5728 ring0 \u5c42\uff0cdocker \u7684\u6a21\u5f0f\u5e94\u8be5\u9694\u79bb\u4e0d\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135954\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : jinliming2 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u89c9\u5f97\u6bd4\u8f83\u9760\u8c31\u7684\u662f\u53c2\u8003 windows 10 \u81ea\u5e26\u7684\u90a3\u4e2a Sandbox \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135955\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zh584728 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @jinliming2 windows 10 \u81ea\u5e26\u7684\u6c99\u76d2\u597d\u50cf\u4e0d\u80fd\u4fdd\u5b58\uff0c\u5173\u95ed\u540e\u5c31\u9500\u6bc1\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135956\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Osk <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             Windows \u81ea\u5e26\u7684\u6c99\u76d8\uff0c\u4e5f\u662f hyper-v \u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135957\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : codehz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u4e5f\u5728\u7814\u7a76\u8fd9\u4e2a\uff0c\u4f46\u662f\u8fd9\u73a9\u610f\u6ca1\u6709\u6587\u6863\uff0c\u7136\u540e\u6211\u6d4b\u8bd5\u4e86\u4e00\u4e0b container.dll \u91cc\u7684 WcCreateDescriptionFromXml \u51fd\u6570\uff0c\u5927\u81f4\u7814\u7a76\u51fa\u4e86\u4e00\u90e8\u5206\u9009\u9879\uff08\u91cc\u9762\u6587\u672c\u662f\u4e71\u7f16\u7684\uff0c\u80af\u5b9a\u4e0d\u80fd\u6b63\u786e\u521b\u5efa\uff0c\u4f46\u662f\u81f3\u5c11\u8bd5\u63a2\u51fa\u4e86\u80fd\u8fc7\u89e3\u6790\u7684\u9009\u9879\u5217\u8868\uff09<br \/> <img decoding=\"async\" src=\"http:\/\/4563.org\/wp-content\/uploads\/2020\/11\/20201115_5fb0f67600af3.png\" rel=\"noreferrer\" alt=\"\u60f3\u505a\u4e2a Windows \u4e0a\u7c7b\u4f3c Docker \u7684\u8f6f\u4ef6\u6765\u5b89\u88c5\u56fd\u4ea7\u8f6f\u4ef6\"><br \/>\u7136\u800c\uff0c\u4e00\u65e6\u4f20\u9012\u7ed9 WcCreateContainer \u51fd\u6570\uff0c\u9664\u4e86 job \u547d\u540d\u7a7a\u95f4\u80fd\u521b\u5efa\u4e4b\u5916\uff0c\u5176\u4ed6\u7684\u5168\u90e8\u7206\u70b8\u3002\u3002\u3002\u6211\u6253\u7b97\u56de\u5f52\u624b\u52a8\u4f7f\u7528 bindfltapi.dll wcifsapi.dll iphlpapi.dll \u53bb\u6298\u817e&#8230;<br \/>\u524d\u4e24\u4e2a\u5927\u6982\u662f\u548c\u6587\u4ef6\u7cfb\u7edf\u91cd\u5b9a\u5411\u6709\u5173\u7684\uff0c\u540e\u8005\u7528 SetJobCompartmentId \u6765\u7ba1\u7406\u7f51\u7edc\u547d\u540d\u7a7a\u95f4<br \/>\u6ce8\u518c\u8868\u770b\u8d77\u6765\u6d89\u53ca DeviceVRegDriver<br \/>\u6302\u8f7d\u70b9\u4f3c\u4e4e\u5c31\u662f\u76f4\u63a5\u548c \\.MountPointManager \u901a\u8baf<br \/>\u547d\u540d\u7ba1\u9053\u4e5f\u662f \\.Pipe                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135958\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lxilu <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7528\u6807\u51c6\u8d26\u6237\u8fd0\u884c                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135959\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Yangz <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @naoh1000 \u4e0d\uff0c\u90a3\u4e2a\u201c\u4e91\u7aef\u8f6f\u4ef6\u201d\u4e0d\u662f\u6307\u4e91\u7aef\u6280\u672f\uff0c\u800c\u662f\u6709\u4e00\u4e2a\u8f6f\u4ef6\u5e73\u53f0\u540d\u5b57\u5c31\u53eb\u505a\u201c\u4e91\u7aef\u8f6f\u4ef6\u201d                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135960\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zjlletian <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @naoh1000 \u53ea\u662f\u540d\u5b57\u53eb\u4e91\u7aef\u8f6f\u4ef6\uff0c\u5e76\u4e0d\u662f\u73b0\u5728\u7684\u6240\u8c13\u7684\u4e91\u7684\u6982\u5ff5\uff0c\u4f60\u53bb\u4e86\u89e3\u4e00\u4e0b\u5c31\u77e5\u9053\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4135961\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : tankb52 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @naoh1000 <br \/>2012 \u5e74\u7684 windows \u7aef\u8f6f\u4ef6\u4e86\u3002<br \/>\u53ef\u4ee5\u770b\u4e0b\u9762\u7684\u94fe\u63a5\u4ecb\u7ecd\u3002<\/p>\n<p>http:\/\/xbeta.info\/yunduan.htm<br \/>http:\/\/xiazai.zol.com.cn\/detail\/37\/366961.shtml                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u60f3\u505a\u4e2a Windows \u4e0a\u7c7b\u4f3c D&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/192047"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=192047"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/192047\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=192047"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=192047"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=192047"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}