{"id":29594,"date":"2019-08-28T12:00:02","date_gmt":"2019-08-28T03:00:02","guid":{"rendered":"https:\/\/www.creationline.com\/?p=29594"},"modified":"2019-08-30T18:24:41","modified_gmt":"2019-08-30T09:24:41","slug":"wsl-2%e3%81%a7docker%e3%81%a7%e5%8b%95%e3%81%8fwindows%e7%94%a8%e3%82%a2%e3%83%97%e3%83%aa%e3%82%b1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e6%a7%8b%e7%af%89%e3%81%97%e3%82%88%e3%81%86-docker","status":"publish","type":"post","link":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594","title":{"rendered":"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker"},"content":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30ae\u30ea\u30b7\u30e3\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d5\u30fc\u30c9\u30c7\u30ea\u30d0\u30ea\u30b5\u30fc\u30d3\u30b9\u306e\u5148\u7aef\u3092\u884c\u304f<a href=\"http:\/\/e-food.gr\/\">efood.gr<\/a>\u306e\u30b7\u30cb\u30a2\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308a\u3001Docker\u30ad\u30e3\u30d7\u30c6\u30f3\u3067\u3082\u3042\u308b<a href=\"https:\/\/twitter.com\/akalipetis\">Antonis Kalipetis<\/a>\u6c0f\u304b\u3089\u306e\u30b2\u30b9\u30c8\u6295\u7a3f\u3067\u3059\u3002Python\u306e\u611b\u597d\u8005\u3067\u3042\u308a\u958b\u767a\u8005\u3067\u3082\u3042\u308b\u5f7c\u306f\u3001\u958b\u767a\u30c1\u30fc\u30e0\u304c\u30b3\u30f3\u30c6\u30ca\u3092\u5229\u7528\u3057\u958b\u767a\u8005\u30d5\u30ed\u30fc\u3092\u6539\u5584\u3067\u304d\u308b\u3088\u3046\u652f\u63f4\u3057\u3066\u3044\u307e\u3059\u3002\u5f7c\u306f\u81ea\u52d5\u5316\u3059\u308b\u3053\u3068\u304c\u5927\u597d\u304d\u3067\u3001\u30b3\u30f3\u30c6\u30ca\u3001DevOps\u3001\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u95a2\u3059\u308b\u3059\u3079\u3066\u306e\u77e5\u8b58\u3092\u559c\u3093\u3067\u5171\u6709\u3057\u3066\u3044\u307e\u3059\u3002\u30c4\u30a4\u30c3\u30bf\u30fc\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306f<a href=\"https:\/\/twitter.com\/akalipetis\">@akalipetis<\/a>\u3067\u3059\u3002<\/p>\n<hr \/>\n<p><strong>WSL 2<\/strong>\uff08Windows Subsystem for Linux\u30d0\u30fc\u30b8\u30e7\u30f32\uff09\u306f\u3001\u30de\u30a4\u30af\u30ed\u30bd\u30d5\u30c8\u793e\u304cWindows\u4e0a\u3067Linux\u30ab\u30fc\u30cd\u30eb\u306e\u5b9f\u884c\u3092\u53ef\u80fd\u306b\u3057\u305f2\u3064\u76ee\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u3059\u3002\u6700\u521d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f<a href=\"https:\/\/blogs.msdn.microsoft.com\/wsl\/2016\/06\/08\/wsl-system-calls\/\">Linux\u306e\u30b7\u30b9\u30c6\u30e0\u30b3\u30fc\u30eb\u3092\u3001Windows NT\u306b\u304a\u3051\u308b\u540c\u7b49\u306e\u30b7\u30b9\u30c6\u30e0\u30b3\u30fc\u30eb\u306b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u5909\u63db\u3057\u3066\u3044\u305f<\/a>\u70b9\u3067\u3068\u3066\u3082\u512a\u308c\u3066\u3044\u307e\u3057\u305f\u3002\u30d0\u30fc\u30b8\u30e7\u30f32\u306f <strong>\u672c\u683c\u7684\u306aVM\u3092\u6709\u3057\u3066\u3044\u307e\u3059\u3002<\/strong><\/p>\n<p><strong>Docker\u793e\u304c\u3053\u306e\u5909\u66f4\u3092\u6d3b\u7528<\/strong> \u3057\u3001WSL 2\u4e0a\u3067\u5b9f\u884c\u3067\u304d\u308bDocker Desktop for Windows\u7248\u3092\u958b\u767a\u3057\u305f\u306e\u3082\u81f3\u6975\u81ea\u7136\u306a\u3053\u3068\u3067\u3057\u3087\u3046\uff08WSL 1 \u306fDocker\u30c7\u30fc\u30e2\u30f3\u3092\u5b9f\u884c\u3059\u308b\u4e0a\u3067\u306e\u8ab2\u984c\u304c\u3042\u308a\u307e\u3057\u305f\uff09\u3002\u307e\u3060\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3067\u3059\u304c\u3001\u79c1\u306f\u3053\u308c\u3092\u6570\u65e5\u9593\u4f7f\u3063\u3066\u307f\u305f\u7d50\u679c\u3001\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u306b\u304a\u3051\u308b\u958b\u767a\u3092\u5b8c\u5168\u306bWLS 2\u306b\u5207\u308a\u66ff\u3048\u307e\u3057\u305f\u3002\u4eca\u306f\u305d\u306e\u6069\u6075\u3092\u53d7\u3051\u3066\u304a\u308a\u3001\u3068\u3066\u3082\u6e80\u8db3\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306e\u8a18\u4e8b\u3067\u306f\u3001Desktop WSL 2\u306e\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u4f7f\u7528\u3057\u3066\u3001Docker\u3067\u52d5\u304f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3057\u305f\u4f8b\u3092\u3054\u7d39\u4ecb\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u306a\u305cDocker Desktop for Windows\u5b89\u5b9a\u7248\u3088\u308a\u3082\u3001Docker Desktop WSL 2\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u4f7f\u3046\u306e\u304b\uff1f<\/h2>\n<p>\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u4f7f\u3046\u4e3b\u306a\u30e1\u30ea\u30c3\u30c8\u306f\u3001Docker VM\u3092\u7ba1\u7406\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308b\u3053\u3068\u3067\u3059\u3002\u3088\u308a\u5177\u4f53\u7684\u306b\u306f:<\/p>\n<ul>\n<li>RAM\/CPU\u306b\u95a2\u3057\u3066\u3001Docker VM\u306f <strong>\u30e6\u30fc\u30b6\u306e\u30cb\u30fc\u30ba\u306b\u5fdc\u3058\u3066\u3001\u5927\u304d\u304f\u3082\u5c0f\u3055\u304f\u3082\u306a\u308a\u307e\u3059\u3002<\/strong> \u305d\u306e\u305f\u3081\u30b5\u30a4\u30ba\u3092\u6c7a\u3081\u305f\u308a\u3001\u30ea\u30bd\u30fc\u30b9\u3092\u4e8b\u524d\u306b\u5272\u308a\u5f53\u3066\u305f\u308a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u305b\u3093\u3002Docker VM\u3092\u4f7f\u7528\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u307b\u307cCPU\/RAM\u306e\u4f7f\u7528\u91cf\u30920\u306b\u307e\u3067\u7e2e\u5c0f\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002\u3068\u3066\u3082\u3088\u304f\u6a5f\u80fd\u3059\u308b\u305f\u3081\u3001VM\u306e\u5b58\u5728\u3059\u3089\u307b\u3068\u3093\u3069\u5fd8\u308c\u3066\u3057\u307e\u3046\u307b\u3069\u3067\u3059\u3002<\/li>\n<li><strong>\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9<\/strong> \u3082\u512a\u308c\u3066\u3044\u307e\u3059\u3002inotify\u306e\u30b5\u30dd\u30fc\u30c8\u304c\u3042\u308a\u307e\u3059\u3057\u3001VM\u306e\u30c7\u30a3\u30b9\u30af\u30b5\u30a4\u30ba\u3092\u3042\u306a\u305f\u306e\u30de\u30b7\u30f3\u306e\u30c7\u30a3\u30b9\u30af\u30b5\u30a4\u30ba\u306b\u9069\u5207\u306b\u5408\u308f\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<p>\u3053\u308c\u3089\u306e\u70b9\u3068\u306f\u5225\u306b\u3001\u3082\u3057\u3042\u306a\u305f\u304c\u79c1\u540c\u69d8Visual Studio Code\u306e\u611b\u7528\u8005\u306a\u3089\u3001 <strong>VS Code Remote WSL<\/strong> \u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u7528\u3057\u3066\u3001 <strong>Docker\u3067\u52d5\u304f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30ed\u30fc\u30ab\u30eb\u74b0\u5883<\/strong> \u3067\u958b\u767a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff08\u4ed6\u306b\u3082\u3055\u307e\u3056\u307e\u306a\u6069\u6075\u304c\u3042\u308a\u307e\u3059\uff09\u3002VM\u3092\u4f7f\u7528\u3057\u306a\u304c\u3089\u3001 <strong>\u3059\u3070\u3089\u3057\u3044Docker\u958b\u767a\u8005\u4f53\u9a13<\/strong> \u3092\u5e38\u306b\u5473\u308f\u3046\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>Docker Desktop for WSL 2 \u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u306f\u3069\u306e\u3088\u3046\u306b\u6a5f\u80fd\u3059\u308b\u306e\u304b\uff1f<\/h2>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u3001Docker\u304c\u81ea\u52d5\u7684\u306b\u30c7\u30d5\u30a9\u30eb\u30c8\u306eWSL 2\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u5185\u306e\u7ba1\u7406\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f <strong>Docker\u30c7\u30fc\u30e2\u30f3\u3001Docker CLI\u3001Docker Compose CLI<\/strong> \u3092\u542b\u307f\u307e\u3059\u3002\u3053\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3088\u308aDocker Desktop\u3092\u6700\u65b0\u306e\u72b6\u614b\u306b\u4fdd\u3061\u3001 <strong>WSL\u5185\u304b\u3089\u3001\u307e\u305f\u306f\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u3067PowerShell\u304b\u3089\u30a2\u30af\u30bb\u30b9<\/strong> \u304c\u53ef\u80fd\u3067\u3059\u3002\u3053\u308c\u304cDocker\u958b\u767a\u8005\u4f53\u9a13\u3067\u3059\uff01<\/p>\n<h2>Docker Desktop for WSL 2\u306e\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b<\/h2>\n<p>\u4eca\u56de\u306f\u30b7\u30f3\u30d7\u30eb\u306aPython <a href=\"https:\/\/palletsprojects.com\/p\/flask\/\">Flask<\/a>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u4f8b\u306b\u3068\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u306b\u306f<a href=\"https:\/\/redis.io\/\">Redis<\/a>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30b5\u30a4\u30c8\u3092\u8a2a\u308c\u308b\u305f\u3073\u306b\u30da\u30fc\u30b8\u304c\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u307e\u3059\u3002\u65b0\u305f\u306a\u308b\u6642\u4ee3\u3078\u3088\u3046\u3053\u305d\uff01<\/p>\n<h2>VS Code Remote - WSL\u306e\u8a2d\u5b9a<\/h2>\n<p><a href=\"https:\/\/code.visualstudio.com\/docs\/remote\/remote-overview\">Visual Studio Code\u306f\u6700\u8fd1\u3001SSH\u3001Docker\u3001WSL\u306e\u3044\u305a\u308c\u304b\u3092\u5229\u7528\u3057\u3066\u30ea\u30e2\u30fc\u30c8\u3067\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306e\u65b0\u305f\u306a\u4e00\u9023\u306e\u30c4\u30fc\u30eb\u3092\u767a\u8868\u3057\u307e\u3057\u305f\u3002<\/a>\u3053\u308c\u306f\u3001 <strong>Visual Studio Code\u3092\"\u30af\u30e9\u30a4\u30a2\u30f3\u30c8-\u30b5\u30fc\u30d0\"\u30a2\u30fc\u30ad\u30c6\u30af\u30c1\u30e3<\/strong> \u306b\u5206\u5272\u3059\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002\u3059\u306a\u308f\u3061\u3001\u3042\u306a\u305f\u306eWindows\u30de\u30b7\u30f3\u3067\u5b9f\u884c\u3059\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff08\u3064\u307e\u308aUI\uff09\u3068\u3001\u30ea\u30e2\u30fc\u30c8\u3067\u5b9f\u884c\u3059\u308b\u30b5\u30fc\u30d0\uff08\u3064\u307e\u308a\u30b3\u30fc\u30c9\u3001Git\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u306a\u3069)\u306b\u5206\u3051\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306fWSL\u7248\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001VS Code\u3092\u958b\u304d\u3001\"Remote-WSL: New Window\"\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066VS Code Remote\u30b5\u30fc\u30d0\u3092\u3001\uff08Docker\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\uff09\u30c7\u30d5\u30a9\u30eb\u30c8\u306eWSL\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002\u305d\u3057\u3066\u65b0\u3057\u3044VS Code\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092HOME\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3067\u958b\u304d\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png\" alt=\"\" width=\"1110\" height=\"656\" class=\"aligncenter size-full wp-image-29595\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png 1110w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2-360x213.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2-1024x605.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2-768x454.png 768w\" sizes=\"auto, (max-width: 1110px) 100vw, 1110px\" \/><\/p>\n<h2>\u30b3\u30fc\u30c9\u3092\u5165\u624b\u3057\u3001\u8a66\u3057\u3066\u307f\u3088\u3046<\/h2>\n<p><a href=\"https:\/\/github.com\/akalipetis\/python-docker-example\">\u3053\u306eGithub\u30ea\u30dd\u30b8\u30c8\u30ea<\/a>\u3092git clone <a href=\"https:\/\/github.com\/akalipetis\/python-docker-example\">https:\/\/github.com\/akalipetis\/python-docker-example<\/a>\u3092\u5b9f\u884c\u3057\u3066\u30af\u30ed\u30fc\u30f3\u3057\u307e\u3059\u3002\u6b21\u306b\u3001code -r python-docker-example\u3092\u5b9f\u884c\u3057\u3066\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092VS Code\u3067\u958b\u304d\u307e\u3059\u3002\u3055\u3042\u30c4\u30a2\u30fc\u3092\u59cb\u3081\u307e\u3057\u3087\u3046\uff01<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/02-3.png\" alt=\"\" width=\"1110\" height=\"534\" class=\"aligncenter size-full wp-image-29596\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/02-3.png 1110w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/02-3-360x173.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/02-3-768x369.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/02-3-1024x493.png 1024w\" sizes=\"auto, (max-width: 1110px) 100vw, 1110px\" \/><\/p>\n<h2>Dockerfile \u3068 docker-compose.yml<\/h2>\n<p>\u3053\u308c\u3089\u306f\u3088\u304f\u76ee\u306b\u3059\u308b\u306f\u305a\u3067\u3059\u3002Dockerfile\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b3\u30f3\u30c6\u30ca\u3092 <strong>\u69cb\u7bc9<\/strong> \u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3057\u3001docker-compose.yml\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b3\u30f3\u30c6\u30ca\u306e <strong>\u30c7\u30d7\u30ed\u30a4<\/strong> \u306b\u4f7f\u7528\u3057\u3066\u3044\u308b\u3067\u3057\u3087\u3046\u3002docker-compose.override.yml\u306b\u306f\u3001 <strong>\u30ed\u30fc\u30ab\u30eb\u74b0\u5883\u3067\u306e\u958b\u767a<\/strong> \u306b\u5fc5\u8981\u306a\u3082\u306e\u304c\u3059\u3079\u3066\u63c3\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/03-1.png\" alt=\"\" width=\"1110\" height=\"774\" class=\"aligncenter size-full wp-image-29597\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/03-1.png 1110w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/03-1-360x251.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/03-1-768x536.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/03-1-1024x714.png 1024w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/03-1-430x300.png 430w\" sizes=\"auto, (max-width: 1110px) 100vw, 1110px\" \/><\/p>\n<h2>Pipfile\u3068Pipfile.lock<\/h2>\n<p>\u3053\u308c\u3089\u306b\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f9d\u5b58\u6027\u3092\u542b\u307f\u307e\u3059\u3002<a href=\"https:\/\/docs.pipenv.org\/en\/latest\/\">Pipenv<\/a>\u306f\u4f9d\u5b58\u6027\u306e\u7ba1\u7406\u306b\u4f7f\u308f\u308c\u308b\u30c4\u30fc\u30eb\u3067\u3059\u3002<\/p>\n<p><strong>app.py<\/strong> \u30d5\u30a1\u30a4\u30eb\u306f\u3001\u4eca\u56de\u306e\u4f8b\u3067\u4f7f\u7528\u3059\u308bFlask\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u305d\u306e\u3082\u306e\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u7279\u8a18\u4e8b\u9805\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u3001\u5909\u66f4\u3092\u884c\u3046<\/h2>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u305f\u3081\u3001WSL\u30bf\u30fc\u30df\u30ca\u30eb\u3092\u958b\u304d\u307e\u3059\uff08VS Code\u306e\u7d71\u5408\u30bf\u30fc\u30df\u30ca\u30eb\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u5b9f\u73fe\u3057\u3066\u3044\u307e\u3059\uff09\u3002\u305d\u3057\u3066docker-compose up\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u3053\u308c\u3067\u3059\u3079\u3066\u306e\u30b3\u30f3\u30c6\u30ca\u304c\u8d77\u52d5\u3057\u307e\u3059\uff08\u4eca\u56de\u306e\u4f8b\u3067\u306f\u3001Redis\u30b3\u30f3\u30c6\u30ca\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u30b3\u30f3\u30c6\u30ca\u3067\u3059\uff09\u3002\u305d\u306e\u5f8c\u3001\u30d6\u30e9\u30a6\u30b6\u3067<a href=\"http:\/\/localhost:5000\/\">http:\/\/localhost:5000<\/a>\u3092\u958b\u3051\u3070\u2026\u2026\u307b\u3089\u3001\u3042\u306a\u305f\u306e\u65b0\u3057\u3044\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u5230\u9054\u3057\u307e\u3057\u305f\u3002\u3057\u304b\u3057\u3053\u308c\u3067\u306f\u958b\u767a\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u305d\u3053\u3067\u5909\u66f4\u3092\u52a0\u3048\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u52d5\u304f\u306e\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002VS Code\u3067app.py\u3092\u958b\u304d\u3001\u6b21\u306e\u884c\u3092\u5909\u66f4\u3057\u3066\u304f\u3060\u3055\u3044:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/04.png\" alt=\"\" width=\"1110\" height=\"557\" class=\"aligncenter size-full wp-image-29598\" srcset=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/04.png 1110w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/04-360x181.png 360w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/04-768x385.png 768w, https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/04-1024x514.png 1024w\" sizes=\"auto, (max-width: 1110px) 100vw, 1110px\" \/><\/p>\n<p>\u30d6\u30e9\u30a6\u30b6\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3001\u6b21\u306e\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059:<\/p>\n<ol>\n<li>\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5373\u5ea7\u306b\u5909\u66f4\u3055\u308c\u305f<\/li>\n<li>\u8a2a\u554f\u30ab\u30a6\u30f3\u30bf\u30fc\u304c\u6700\u5f8c\u306e\u5024\u304b\u3089\u5897\u3048\u305f<\/li>\n<\/ol>\n<h2>\u6c34\u9762\u4e0b\u3067\u306f\u2026\u2026<\/h2>\n<p>\u5b9f\u969b\u306b\u4f55\u304c\u884c\u308f\u308c\u305f\u306e\u304b\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002<\/p>\n<ul>\n<li><strong>Windows\u4e0a\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b<\/strong> VS Code\u5185\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u5909\u66f4\u3057\u307e\u3057\u305f\u3002<\/li>\n<li>VS Code\u306f\u30af\u30e9\u30a4\u30a2\u30f3\u30c8-\u30b5\u30fc\u30d0\u30e2\u30fc\u30c9\u3067\u5b9f\u884c\u3057\u3066\u304a\u308a\u3001\u30b5\u30fc\u30d0\u306fWSL 2\u3067\u5b9f\u884c\u3057\u3066\u3044\u308b\u305f\u3081\u3001\u5b9f\u969b\u306e\u5909\u66f4\u306fWSL\u5185\u306b\u5b58\u5728\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306b\u5bfe\u3057\u3066\u884c\u308f\u308c\u307e\u3057\u305f\u3002<\/li>\n<li>Docker Desktop for WSL 2\u306e\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u306e\u3067\u3001docker-compose.override.yml\u306fLinux\u306e\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u4f7f\u7528\u3057\u3066WSL 2\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304b\u3089\u5b9f\u884c\u4e2d\u306e\u30b3\u30f3\u30c6\u30ca\u306b\u30b3\u30fc\u30c9\u3092\u30de\u30a6\u30f3\u30c8\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u7d50\u679c\u3001 <strong>\u5909\u66f4\u306f\u30b3\u30f3\u30c6\u30ca\u5185\u3078\u3068\u4f1d\u642c\u3057\u307e\u3057\u305f\u3002<\/strong>\n<ul>\n<li>\u3053\u308c\u306fDocker Desktop for Windows\u306e\u5b89\u5b9a\u7248\u3067\u3082\u53ef\u80fd\u3067\u3059\u304c\u3001\u3053\u308c\u307b\u3069\u7c21\u5358\u306b\u306f\u3044\u304d\u307e\u305b\u3093\u3002Linux\u306e\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u6c17\u306b\u3059\u308b\u5fc5\u8981\u304c\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u308c\u306f\u30ed\u30fc\u30ab\u30eb\u306eLinux\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30de\u30a6\u30f3\u30c8\u306a\u306e\u3067\u3001\u3068\u3066\u3082\u9ad8\u901f\u3067\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<li>Flask\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u81ea\u52d5\u30ea\u30ed\u30fc\u30c9\u30b5\u30fc\u30d0\u3092\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306finotify\u3092\u4f7f\u7528\u3057\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u5909\u66f4\u3054\u3068\u306b\u30b5\u30fc\u30d0\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u3044\u307e\u3059\u3002\u3064\u307e\u308a\u30d5\u30a1\u30a4\u30eb\u306e\u4fdd\u5b58\u304b\u30891000\u5206\u306e1\u79d2\u3067\u30b5\u30fc\u30d0\u3092\u30ea\u30ed\u30fc\u30c9\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u3002<\/li>\n<li>\u30c7\u30fc\u30bf\u306fDocker \u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u4f7f\u7528\u3057\u3066Redis\u306b\u4fdd\u5b58\u3055\u308c\u307e\u3057\u305f\u3002\u305d\u306e\u305f\u3081\u3001\u30b5\u30fc\u30d0\u306e\u518d\u8d77\u52d5\u306f\u8a2a\u554f\u30ab\u30a6\u30f3\u30bf\u30fc\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u3002<\/li>\n<\/ul>\n<h2>Docker Desktop for WSL 2\u306e\u5f79\u7acb\u3064\u4ed6\u306eTips<\/h2>\n<p>Docker Desktop for WSL 2\u306e\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30f3\u30c6\u30ca\u5185\u3067\u958b\u767a\u3059\u308b\u969b\u306eTips\u3068\u3057\u3066\u3044\u304f\u3064\u304b\u8ffd\u52a0\u3067\u3054\u7d39\u4ecb\u3057\u307e\u3059:<\/p>\n<ul>\n<li>\u30d5\u30a1\u30a4\u30eb\u30b7\u30b9\u30c6\u30e0\u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u3092\u6700\u5927\u5316\u3059\u308b\u305f\u3081\u3001\u30b3\u30fc\u30c9\u7528\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30c7\u30fc\u30bf\u3068Linux\u30ef\u30fc\u30af\u30b9\u30da\u30fc\u30b9\u306b\u306fDocker\u30dc\u30ea\u30e5\u30fc\u30e0\u3092\u4f7f\u7528\u3057\u307e\u3057\u3087\u3046\u3002<\/li>\n<li>\u4e0d\u8981\u306aVM\u306e\u5b9f\u884c\u3092\u9632\u3050\u305f\u3081\u3001Docker Desktop for Windows\u5b89\u5b9a\u7248\u306e\u74b0\u5883\u3092\u3001Windows\u30b3\u30f3\u30c6\u30ca\u306b\u5207\u308a\u66ff\u3048\u307e\u3057\u3087\u3046\u3002<\/li>\n<li>Docker\u3067\u52d5\u304f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092Windows\u3068Linux\u306e\u4e21\u65b9\u3067\u7c21\u5358\u306b\u69cb\u7bc9\u3059\u308b\u305f\u3081\u306b\u3001docker contextdefault|wsl\u306b\u3088\u3063\u3066\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3092\u5207\u308a\u66ff\u3048\u307e\u3057\u3087\u3046\u3002<\/li>\n<\/ul>\n<h2>\u6700\u5f8c\u306b<\/h2>\n<p>\u79c1\u304cWindows\u3068WSL 2\u306b\u3088\u308b\u958b\u767a\u306b\u5207\u308a\u66ff\u3048\u30662\u304b\u6708\u304c\u7d4c\u3061\u307e\u3059\u304c\u3001\u73fe\u5728\u306e\u958b\u767a\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u79c1\u304c\u3069\u308c\u307b\u3069\u6e80\u8db3\u3057\u3066\u3044\u308b\u304b\u306f\u3001\u8a00\u8449\u3067\u8a00\u3044\u8868\u305b\u306a\u3044\u307b\u3069\u3067\u3059\u3002Docker Desktop for WSL 2\u3092\u6570\u65e5\u4f7f\u7528\u3057\u3066\u307f\u3066\u8a00\u3048\u308b\u3053\u3068\u306f\u3001\u3053\u308c\u304c\u3068\u3066\u3082\u5c06\u6765\u6709\u671b\u3067\u3001WSL 2\u3067Docker\u3092\u4f7f\u7528\u3059\u308b\u969b\u306e\u8ab2\u984c\u306f\u89e3\u6c7a\u3055\u308c\u305f\u3068\u601d\u3044\u307e\u3059\u3002\u6b21\u306b\u4f55\u304c\u6765\u308b\u306e\u304b\u3001\u4eca\u304b\u3089\u5f85\u3061\u9060\u3057\u3044\u3067\u3059\uff01<\/p>\n<p>\u552f\u4e00\u3001\u6b20\u3051\u3066\u3044\u308b\u3068\u79c1\u304c\u601d\u3046\u3082\u306e\u306f\u3001\uff08\u3053\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u3067\u4f7f\u7528\u3057\u305fRemote WSL\u3067\u306f\u306a\u304f\uff09VS Code Remote Containers\u3068\u306e\u9023\u643a\u3067\u3059\u3002\u3053\u308c\u304c\u53f6\u3048\u3070Docker\u30b3\u30f3\u30c6\u30ca\u5185\u3067\u3059\u3079\u3066\u306e\u30c4\u30fc\u30eb\u304c\u5b9f\u884c\u53ef\u80fd\u306b\u306a\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>VS Code Remote Containers\u306e\u30b5\u30dd\u30fc\u30c8\u304c\u63d0\u4f9b\u3055\u308c\u308b\u307e\u3067\u306e\u9593\u306f\u3001pipenv install --dev\u3092\u5b9f\u884c\u3057\u3001WSL2\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u4f9d\u5b58\u6027\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u306b\u5f79\u7acb\u3064\u3082\u306e\u3082\u542b\u3081\u3001\u6709\u7528\u306a\u30c4\u30fc\u30eb\u306e\u81ea\u52d5\u88dc\u5b8c\u3092VS Code\u304c\u63d0\u4f9b\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u624b\u306b\u5165\u308c\u3066\u3001\u3082\u3063\u3068\u3088\u304f\u77e5\u308b\u306b\u306f<\/h2>\n<p>\u59cb\u3081\u305f\u3044\u65b9\u306f\u3001\u624b\u9806\u66f8\u306b\u5f93\u3063\u3066<a href=\"https:\/\/docs.docker.com\/docker-for-windows\/wsl-tech-preview\/\">Docker docs<\/a>\u304b\u3089\u30c6\u30af\u30cb\u30ab\u30eb\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>WSL 2\u306b\u3064\u3044\u3066\u3082\u3063\u3068\u8a73\u3057\u304f\u77e5\u308a\u305f\u3044\u65b9\u306f\u3001\u6b21\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u304c\u304a\u52e7\u3081\u3067\u3059:<\/p>\n<ul>\n<li><a href=\"\/lab\/29369\">Docker Desktop for WSL 2\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u8a66\u30595\u3064\u306e\u7406\u7531<\/a><\/li>\n<li><a href=\"\/lab\/29090\">Linux\u30b3\u30f3\u30c6\u30ca\u3092\u30cd\u30a4\u30c6\u30a3\u30d6\u306b\u5b9f\u884c\u3067\u304d\u308b\u3001Docker Desktop for WSL 2\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u30d7\u30ec\u30d3\u30e5\u30fc\u306e\u3054\u6848\u5185<\/a><\/li>\n<\/ul>\n<hr \/>\n<p>\u539f\u6587: <a href=\"https:\/\/blog.docker.com\/2019\/08\/developing-docker-windows-app-wsl2\/\">Developing Docker-Powered Apps on Windows with WSL 2<\/a><\/p>\n\n\t\t<!--HubSpot Call-to-Action Code -->\n\t\t<span class=\"hs-cta-wrapper\" id=\"hs-cta-wrapper-bb0b7611-d1a4-4a87-836f-e48f9e476f1d\">\n\t\t<span class=\"hs-cta-node hs-cta-bb0b7611-d1a4-4a87-836f-e48f9e476f1d\" id=\"bb0b7611-d1a4-4a87-836f-e48f9e476f1d\">\n\t\t<!--[if lte IE 8]>\n\t\t<div id=\"hs-cta-ie-element\"><\/div>\n\t\t<![endif]-->\n\t\t<a href=\"https:\/\/cta-redirect.hubspot.com\/cta\/redirect\/6168413\/bb0b7611-d1a4-4a87-836f-e48f9e476f1d\" >\n\t\t<img decoding=\"async\" class=\"hs-cta-img\" id=\"hs-cta-img-bb0b7611-d1a4-4a87-836f-e48f9e476f1d\" style=\"border-width:0px;\" src=\"https:\/\/no-cache.hubspot.com\/cta\/default\/6168413\/bb0b7611-d1a4-4a87-836f-e48f9e476f1d.png\"  alt=\"New call-to-action\"\/>\n\t\t<\/a>\n\t\t<\/span>\n\t\t<script charset=\"utf-8\" src=\"\/\/js.hubspot.com\/cta\/current.js\"><\/script>\n\t\t<script>\n\t\thbspt.cta.load(6168413, 'bb0b7611-d1a4-4a87-836f-e48f9e476f1d', {});\n\t\t<\/script>\n\t\t<\/span>\n\t\t<!-- end HubSpot Call-to-Action Code -->\n\t\t\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30ae\u30ea\u30b7\u30e3\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d5\u30fc\u30c9\u30c7\u30ea\u30d0\u30ea\u30b5\u30fc\u30d3\u30b9\u306e\u5148\u7aef\u3092\u884c\u304fefood.gr\u306e\u30b7\u30cb\u30a2\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308a\u3001Docker\u30ad\u30e3\u30d7\u30c6\u30f3\u3067\u3082\u3042\u308bAntonis Kalipetis\u6c0f\u304b\u3089\u306e\u30b2\u30b9\u30c8\u6295\u7a3f\u3067\u3059\u3002Python [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":29595,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[43],"tags":[],"class_list":["post-29594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-docker"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3<\/title>\n<meta name=\"description\" content=\"Docker |\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30ae\u30ea\u30b7\u30e3\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d5\u30fc\u30c9\u30c7\u30ea\u30d0\u30ea\u30b5\u30fc\u30d3\u30b9\u306e\u5148\u7aef\u3092\u884c\u304fefood.gr\u306e\u30b7\u30cb\u30a2\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308a\u3001Docker\u30ad\u30e3\u30d7\u30c6\u30f3\u3067\u3082\u3042\u308bAnton\" \/>\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.creationline.com\/tech-blog\/cloudnative\/docker\/29594\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"og:description\" content=\"Docker |\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30ae\u30ea\u30b7\u30e3\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d5\u30fc\u30c9\u30c7\u30ea\u30d0\u30ea\u30b5\u30fc\u30d3\u30b9\u306e\u5148\u7aef\u3092\u884c\u304fefood.gr\u306e\u30b7\u30cb\u30a2\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308a\u3001Docker\u30ad\u30e3\u30d7\u30c6\u30f3\u3067\u3082\u3042\u308bAnton\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594\" \/>\n<meta property=\"og:site_name\" content=\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/creationline\" \/>\n<meta property=\"article:published_time\" content=\"2019-08-28T03:00:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-08-30T09:24:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1110\" \/>\n\t<meta property=\"og:image:height\" content=\"656\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Daisuke Higuchi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@creationline\" \/>\n<meta name=\"twitter:site\" content=\"@creationline\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Daisuke Higuchi\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594\"},\"author\":{\"name\":\"Daisuke Higuchi\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206\"},\"headline\":\"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker\",\"datePublished\":\"2019-08-28T03:00:02+00:00\",\"dateModified\":\"2019-08-30T09:24:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594\"},\"wordCount\":274,\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png\",\"articleSection\":[\"Docker\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594\",\"name\":\"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"isPartOf\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png\",\"datePublished\":\"2019-08-28T03:00:02+00:00\",\"dateModified\":\"2019-08-30T09:24:41+00:00\",\"author\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206\"},\"description\":\"Docker |\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30ae\u30ea\u30b7\u30e3\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d5\u30fc\u30c9\u30c7\u30ea\u30d0\u30ea\u30b5\u30fc\u30d3\u30b9\u306e\u5148\u7aef\u3092\u884c\u304fefood.gr\u306e\u30b7\u30cb\u30a2\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308a\u3001Docker\u30ad\u30e3\u30d7\u30c6\u30f3\u3067\u3082\u3042\u308bAnton\",\"breadcrumb\":{\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#primaryimage\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png\",\"width\":1110,\"height\":656},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"HOME\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker\",\"item\":\"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#website\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/\",\"name\":\"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3\",\"description\":\"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206\",\"name\":\"Daisuke Higuchi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"contentUrl\":\"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png\",\"caption\":\"Daisuke Higuchi\"},\"description\":\"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002\",\"url\":\"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"Docker |\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30ae\u30ea\u30b7\u30e3\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d5\u30fc\u30c9\u30c7\u30ea\u30d0\u30ea\u30b5\u30fc\u30d3\u30b9\u306e\u5148\u7aef\u3092\u884c\u304fefood.gr\u306e\u30b7\u30cb\u30a2\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308a\u3001Docker\u30ad\u30e3\u30d7\u30c6\u30f3\u3067\u3082\u3042\u308bAnton","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.creationline.com\/tech-blog\/cloudnative\/docker\/29594","og_locale":"ja_JP","og_type":"article","og_title":"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","og_description":"Docker |\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30ae\u30ea\u30b7\u30e3\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d5\u30fc\u30c9\u30c7\u30ea\u30d0\u30ea\u30b5\u30fc\u30d3\u30b9\u306e\u5148\u7aef\u3092\u884c\u304fefood.gr\u306e\u30b7\u30cb\u30a2\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308a\u3001Docker\u30ad\u30e3\u30d7\u30c6\u30f3\u3067\u3082\u3042\u308bAnton","og_url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594","og_site_name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","article_publisher":"https:\/\/www.facebook.com\/creationline","article_published_time":"2019-08-28T03:00:02+00:00","article_modified_time":"2019-08-30T09:24:41+00:00","og_image":[{"width":1110,"height":656,"url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png","type":"image\/png"}],"author":"Daisuke Higuchi","twitter_card":"summary_large_image","twitter_creator":"@creationline","twitter_site":"@creationline","twitter_misc":{"\u57f7\u7b46\u8005":"Daisuke Higuchi","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#article","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594"},"author":{"name":"Daisuke Higuchi","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"headline":"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker","datePublished":"2019-08-28T03:00:02+00:00","dateModified":"2019-08-30T09:24:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594"},"wordCount":274,"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png","articleSection":["Docker"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594","url":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594","name":"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker - Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","isPartOf":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#primaryimage"},"image":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#primaryimage"},"thumbnailUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png","datePublished":"2019-08-28T03:00:02+00:00","dateModified":"2019-08-30T09:24:41+00:00","author":{"@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206"},"description":"Docker |\u3053\u306e\u8a18\u4e8b\u306f\u3001\u30ae\u30ea\u30b7\u30e3\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u30d5\u30fc\u30c9\u30c7\u30ea\u30d0\u30ea\u30b5\u30fc\u30d3\u30b9\u306e\u5148\u7aef\u3092\u884c\u304fefood.gr\u306e\u30b7\u30cb\u30a2\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30a8\u30f3\u30b8\u30cb\u30a2\u3067\u3042\u308a\u3001Docker\u30ad\u30e3\u30d7\u30c6\u30f3\u3067\u3082\u3042\u308bAnton","breadcrumb":{"@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#primaryimage","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2019\/08\/01-2.png","width":1110,"height":656},{"@type":"BreadcrumbList","@id":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker\/29594#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"HOME","item":"https:\/\/www.creationline.com\/tech-blog"},{"@type":"ListItem","position":2,"name":"\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative"},{"@type":"ListItem","position":3,"name":"Docker","item":"https:\/\/www.creationline.com\/tech-blog\/cloudnative\/docker"},{"@type":"ListItem","position":4,"name":"WSL 2\u3067Docker\u3067\u52d5\u304fWindows\u7528\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3057\u3088\u3046 #docker"}]},{"@type":"WebSite","@id":"https:\/\/www.creationline.com\/tech-blog\/#website","url":"https:\/\/www.creationline.com\/tech-blog\/","name":"Tech Blog\uff5c\u30af\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30e9\u30a4\u30f3","description":"\u30a2\u30b8\u30e3\u30a4\u30eb\uff06DevOps\u3001\u30af\u30e9\u30a6\u30c9\u30cd\u30a4\u30c6\u30a3\u30d6\u3001AI\uff06LLM\u306e\u5148\u7aef\u6280\u8853","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.creationline.com\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.creationline.com\/tech-blog\/#\/schema\/person\/16f1373831fb6fd17387f16ae1195206","name":"Daisuke Higuchi","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","url":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","contentUrl":"https:\/\/www.creationline.com\/tech-blog\/cms_x3GWkuX\/wp-content\/uploads\/2023\/08\/d-higuchi-wp-icon-230x230.png","caption":"Daisuke Higuchi"},"description":"Chef\u30fbDocker\u30fbMirantis\u88fd\u54c1\u306a\u3069\u306e\u6280\u8853\u8981\u7d20\u306b\u52a0\u3048\u3066\u3001\u4f1a\u8b70\u306e\u9032\u3081\u65b9\u30fb\u6587\u7ae0\u306e\u66f8\u304d\u65b9\u306a\u3069\u306e\u696d\u52d9\u6539\u5584\u306b\u3082\u53d6\u308a\u7d44\u3093\u3067\u3044\u307e\u3059\u3002\u300cChef\u6d3b\u7528\u30ac\u30a4\u30c9\u300d\u5171\u8457\u306e\u307b\u304b\u3001Debian Official Developer\u3082\u3084\u3063\u3066\u3044\u307e\u3059\u3002","url":"https:\/\/www.creationline.com\/tech-blog\/author\/higuchi"}]}},"_links":{"self":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/29594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/comments?post=29594"}],"version-history":[{"count":7,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/29594\/revisions"}],"predecessor-version":[{"id":29635,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/posts\/29594\/revisions\/29635"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media\/29595"}],"wp:attachment":[{"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/media?parent=29594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/categories?post=29594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.creationline.com\/tech-blog\/wp-json\/wp\/v2\/tags?post=29594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}