{"id":207,"date":"2021-08-18T15:22:33","date_gmt":"2021-08-18T07:22:33","guid":{"rendered":"https:\/\/fugary.com\/?p=207"},"modified":"2021-08-18T15:22:33","modified_gmt":"2021-08-18T07:22:33","slug":"window7%e6%90%ad%e5%bb%badocker%e5%9f%ba%e6%9c%ac%e7%8e%af%e5%a2%83","status":"publish","type":"post","link":"https:\/\/fugary.com\/?p=207","title":{"rendered":"Window7\u642d\u5efaDocker\u57fa\u672c\u73af\u5883"},"content":{"rendered":"<h2>Window7\u642d\u5efaDocker\u57fa\u672c\u73af\u5883<\/h2>\n<p>Docker \u5e76\u975e\u662f\u4e00\u4e2a\u901a\u7528\u7684\u5bb9\u5668\u5de5\u5177\uff0c\u5b83\u4f9d\u8d56\u4e8e\u5df2\u5b58\u5728\u5e76\u8fd0\u884c\u7684 Linux \u5185\u6838\u73af\u5883\u3002<\/p>\n<p>Docker \u5b9e\u8d28\u4e0a\u662f\u5728\u5df2\u7ecf\u8fd0\u884c\u7684 Linux \u4e0b\u5236\u9020\u4e86\u4e00\u4e2a\u9694\u79bb\u7684\u6587\u4ef6\u73af\u5883\uff0c\u56e0\u6b64\u5b83\u6267\u884c\u7684\u6548\u7387\u51e0\u4e4e\u7b49\u540c\u4e8e\u6240\u90e8\u7f72\u7684 Linux \u4e3b\u673a\u3002<\/p>\n<p>Docker \u5fc5\u987b\u90e8\u7f72\u5728 Linux \u5185\u6838\u7684\u7cfb\u7edf\u4e0a\u3002\u5982\u679c\u5176\u4ed6\u7cfb\u7edf\u60f3\u90e8\u7f72 Docker \u5c31\u5fc5\u987b\u5b89\u88c5\u4e00\u4e2a\u865a\u62df Linux \u73af\u5883\uff0cWindows\u4e0b\u9762\u5c31\u662f\u4f7f\u7528VirtualBox\u8f6f\u4ef6\u5b9e\u73b0\u3002\u3002<\/p>\n<p><a href=\"https:\/\/docs.docker.com\/desktop\/windows\/install\/\">https:\/\/docs.docker.com\/desktop\/windows\/install\/<\/a><\/p>\n<p>\u6ce8\u610f\u652f\u6301\u7684\u64cd\u4f5c\u7cfb\u7edf\u7248\u672c,<\/p>\n<h3>\u4e0b\u8f7d\u5b89\u88c5<\/h3>\n<p>\u4e0b\u8f7ddocker\u8f6f\u4ef6\uff1a<\/p>\n<p><a href=\"https:\/\/hub.docker.com\/\">https:\/\/hub.docker.com\/<\/a><\/p>\n<p>\u8fd9\u91cc\u4f7f\u7528\u7684\u662fWindows\u7248\u672c\u3002\u516c\u53f8\u7535\u8111\u662fWindows7\u7248\u672c\uff0c\u4e0d\u8fc7\u76ee\u524dDocker\u5df2\u7ecf\u4e0d\u652f\u6301Windows7\u4e86\uff0cWindows7\u9700\u8981\u5b89\u88c5Docker Toolbox\uff0c\u4e0d\u8fc7\u5df2\u7ecf\u662f\u6bd4\u8f83\u8001\u7684\u7248\u672c\u4e86\uff082019\u5e74\uff09\uff0c\u540e\u9762\u80fd\u652f\u6301\u591a\u4e45\u5c31\u4e0d\u6e05\u695a\u4e86\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818132714.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818132714.png\" alt=\"image-20210818132707843\" \/><\/div><\/p>\n<h4>\u5b89\u88c5toolbox<\/h4>\n<p>Windows7\u4e0b\u9762\u9700\u8981\u5b89\u88c5toolbox\u3002<\/p>\n<p><a href=\"https:\/\/github.com\/docker\/toolbox\/releases\">https:\/\/github.com\/docker\/toolbox\/releases<\/a><\/p>\n<p>\u5b89\u88c5toolbox\uff0c\u57fa\u672c\u4e0a\u9ed8\u8ba4\u5b89\u88c5\u5c31\u53ef\u4ee5\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818132846.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818132846.png\" alt=\"image-20210818132846621\" \/><\/div><\/p>\n<p>\u5b89\u88c5\u5b8c\u6210\u4e4b\u540e\u53d1\u73b0\uff08Docker Quickstart Terminal\uff09\u5feb\u6377\u65b9\u5f0f\u6709\u95ee\u9898\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818144356.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818144356.png\" alt=\"\" \/><\/div><\/p>\n<p>\u4fee\u6539\u5feb\u6377\u65b9\u5f0f\uff0c\u628a\u5b89\u88c5\u7684git\u7684bash.exe\u8def\u5f84\u914d\u7f6e\u6b63\u786e\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818144449.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818144449.png\" alt=\"image-20210818144449946\" \/><\/div><\/p>\n<p>\u7136\u540e\u518d\u6b21\u8fd0\u884c\uff0c\u8fd8\u662f\u62a5\u9519\uff0c\u771f\u662f\u591a\u707e\u591a\u96be\uff0cboot2docker.iso\u4e0b\u8f7d\u4e0d\u4e0b\u6765\u3002<\/p>\n<p>\u4e0b\u8f7dboot2docker.iso\u653e\u5230<code>C:\\Users\\{UserName}\\.docker\\machine\\cache<\/code><\/p>\n<p><a href=\"https:\/\/github.com\/boot2docker\/boot2docker\/releases\">https:\/\/github.com\/boot2docker\/boot2docker\/releases<\/a><\/p>\n<p>\u518d\u6b21\u8fd0\u884c\uff0c\u53ef\u4ee5\u770b\u5230\u6210\u529f\u7684\u6d88\u606f\uff1a<\/p>\n<p><div class='fancybox-wrapper' data-fancybox='post-images' href='https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818150214.png'><img src=\"https:\/\/git.mengqingpo.com:8888\/fugary\/blogpic1\/-\/raw\/master\/images\/20210818150214.png\" alt=\"image-20210818150214730\" \/><\/div><\/p>\n<h3>Docker\u57fa\u672c\u64cd\u4f5c<\/h3>\n<p>\u5c1d\u8bd5\u6267\u884cDocker\u57fa\u672c\u547d\u4ee4\uff0c\u53ef\u4ee5\u770b\u5230\u6210\u529f\u4e86\u3002<\/p>\n<pre><code class=\"language-sh\">$ docker -v\n    Docker version 19.03.1, build 74b1e89e8a\n$ docker pull openjdk:11\n    11: Pulling from library\/openjdk\n    627b765e08d1: Downloading [=====&gt;                                             ]  5.602MB\/50.44MB\n    c040670e5e55: Downloading [==========================================&gt;        ]  6.658MB\/7.833MB\n    073a180f4992: Downloading [===============================================&gt;   ]  9.464MB\/9.997MB<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Window7\u642d\u5efaDocker\u57fa\u672c\u73af\u5883 Docker \u5e76\u975e\u662f\u4e00\u4e2a\u901a\u7528\u7684\u5bb9\u5668\u5de5\u5177\uff0c\u5b83\u4f9d\u8d56\u4e8e\u5df2\u5b58\u5728\u5e76\u8fd0\u884c\u7684 Lin [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[44],"_links":{"self":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/207"}],"collection":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=207"}],"version-history":[{"count":1,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":208,"href":"https:\/\/fugary.com\/index.php?rest_route=\/wp\/v2\/posts\/207\/revisions\/208"}],"wp:attachment":[{"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fugary.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}