{"id":9764,"date":"2019-02-28T13:25:38","date_gmt":"2019-02-28T04:25:38","guid":{"rendered":"http:\/\/www.moonmile.net\/blog\/?p=9764"},"modified":"2019-02-28T13:25:38","modified_gmt":"2019-02-28T04:25:38","slug":"docker-toolbox-%e3%81%a7-azure-functions%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/9764","title":{"rendered":"Docker Toolbox \u3067 Azure Functions\u3092\u52d5\u304b\u3059"},"content":{"rendered":"<p>Hyper-V \u304c\u52d5\u304b\u306a\u3044\u74b0\u5883\u306e\u5834\u5408\u3001Docker Toolbox \u3092\u4f7f\u3048\u3070\u3088\u3044\u306e\u3067\u3001\u4f7f\u3063\u3066\u307f\u308b\u3002\u5185\u90e8\u3067 VirtualBox \u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4eee\u60f3OS\u3092 VMWare \u3067\u4f5c\u3063\u3066\u3044\u308b\u3068\u5909\u308f\u3089\u306a\u3044\u306e\u3060\u304c\u3001UI \u3067\u64cd\u4f5c\u3067\u304d\u308b\u300cKitematic\u300d\u304c\u610f\u5916\u3068\u4fbf\u5229\u306a\u306e\u3067\u3002<\/p>\n<p>Docker Toolbox\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\uff1aWindows\u7de8 &#8211; Qiita <a href=\"https:\/\/qiita.com\/maemori\/items\/52b1639fba4b1e68fccd\">https:\/\/qiita.com\/maemori\/items\/52b1639fba4b1e68fccd<\/a><\/p>\n<p>\u30c4\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3068\u30013\u3064\u306e\u30a2\u30a4\u30b3\u30f3\u304c\u4f5c\u3089\u308c\u308b\u3002Docker Quickstart Terminal \u306f\u901a\u5e38\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3001Kitematic (Alpha) \u304c GUI \u30c4\u30fc\u30eb\u3067\u3042\u308b\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image-17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"229\" height=\"220\" title=\"image\" style=\"margin: 0px; border: 0px currentcolor; border-image: none; display: inline; background-image: none;\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image_thumb-17.png\" border=\"0\"><\/a><\/p>\n<p>Kitematic \u3092\u8d77\u52d5\u3057\u3066 Docker Hub \u306e\u30e6\u30fc\u30b6\u30fc\u540d\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3059\u308b\u3002\u3053\u3053\u304b\u3089 Docker \u30a4\u30e1\u30fc\u30b8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image-18.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"403\" title=\"image\" style=\"margin: 0px; border: 0px currentcolor; border-image: none; display: inline; background-image: none;\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image_thumb-18.png\" border=\"0\"><\/a><\/p>\n<p>\u3042\u3089\u304b\u3058\u3081\u3001Azure Functions \u3067\u4f5c\u3063\u305f Dockerfile \u304c\u3042\u308b\u306e\u3067\u300cmoomile\u300d\u3067\u691c\u7d22\u3059\u308b\u3002\u516c\u958b\u6e08\u307f\u306e moonmile\/sample-azure-docker \u3092 Create \u3059\u308b<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image-19.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"403\" title=\"image\" style=\"border: 0px currentcolor; border-image: none; display: inline; background-image: none;\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image_thumb-19.png\" border=\"0\"><\/a><\/p>\n<p>\u3046\u307e\u304f\u8d77\u52d5\u304c\u3067\u304d\u308b\u3068\u300180 \u756a\u30dd\u30fc\u30c8\u3067\u5f85\u3063\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u308b\u3002\u3053\u306e\u307e\u307e\u3067\u306f\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u306e\u3067\u3001<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image-20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"403\" title=\"image\" style=\"border: 0px currentcolor; border-image: none; display: inline; background-image: none;\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image_thumb-20.png\" border=\"0\"><\/a><\/p>\n<p>Docker \u306e 80 \u756a\u30dd\u30fc\u30c8\u3092\u30018000\u756a\u306b\u30d5\u30a9\u30ef\u30fc\u30c9\u3059\u308b\u3002\u3044\u308f\u3086\u308b \u2013p 80:8000 \u3068\u3044\u3046\u3053\u3068\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001<a href=\"http:\/\/192.168.99.100:8000\">http:\/\/192.168.99.100:8000<\/a> \u3067\u30a2\u30af\u30bb\u30b9\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002Docker \u30b3\u30f3\u30c6\u30ca\u3092\u30ea\u30d6\u30fc\u30c8\u3057\u3066\u304a\u304f\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image-21.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"403\" title=\"image\" style=\"margin: 0px; border: 0px currentcolor; border-image: none; display: inline; background-image: none;\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image_thumb-21.png\" border=\"0\"><\/a><\/p>\n<p>Docker \u306e IP \u30a2\u30c9\u30ec\u30b9\uff08192.168.99.100\u56fa\u5b9a\u306a\u306e\u304b\uff1f\uff09\u3092\u78ba\u8a8d\u3057\u3066\u3001\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u3001<a title=\"http:\/\/192.168.99.100:8000\" href=\"http:\/\/192.168.99.100:8000\">http:\/\/192.168.99.100:8000<\/a> \u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002Function App \u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u304c\u958b\u304b\u308c\u3066\u3044\u308b\u3002\u5185\u90e8\u3068\u3057\u3066\u306f\u3001Azure \u306e\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u304c\u52d5\u3044\u3066\u3044\u308b\u5f62\u306b\u306a\u308b\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image-22.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"383\" title=\"image\" style=\"border: 0px currentcolor; border-image: none; display: inline; background-image: none;\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image_thumb-22.png\" border=\"0\"><\/a><\/p>\n<p>Function App \u306e HttpTrigger1 \u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u305f\u3081\u306b\u30d6\u30e9\u30a6\u30b6\u3067\u3001<a title=\"http:\/\/192.168.99.100:8000\/api\/HttpTrigger1?name=masuda\" href=\"http:\/\/192.168.99.100:8000\/api\/HttpTrigger1?name=masuda\">http:\/\/192.168.99.100:8000\/api\/HttpTrigger1?name=masuda<\/a> \u3092\u6307\u5b9a\u3059\u308b\u3068\u300cHello, masuda\u300d\u3067\u8fd4\u3055\u308c\u308b\u3002<\/p>\n<p><a href=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image-23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"199\" title=\"image\" style=\"border: 0px currentcolor; border-image: none; display: inline; background-image: none;\" alt=\"image\" src=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2019\/02\/image_thumb-23.png\" border=\"0\"><\/a><\/p>\n<p>\u3053\u308c\u3067\u3001Linux \u74b0\u5883\u304c\u306a\u304f\u3066\u3082\u3001\u81ea\u7531\u306b Azure Function + Docker \u304c\u8a66\u305b\u307e\u3059\u306d\u3002\u672c\u5bb6\u306e Azure Function \u306e Linux&amp;Docker \u306f\u7d50\u69cb\u9ad8\u3044\u306e\u3067\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u52d5\u304b\u305b\u308b\u3068\u4fbf\u5229\u3060\u308d\u3046\u3068\u3044\u3046\u3053\u3068\u3067\u3002<\/p>\n<p>\u3042\u3068\u3067\u3001\u30b5\u30d6\u30c9\u30e1\u30a4\u30f3\u3092\u4f7f\u3063\u3066\u30dd\u30fc\u30c8\u30d5\u30a9\u30ef\u30fc\u30c9\u3059\u308b\u65b9\u6cd5\u3092\u5408\u308f\u305b\u3066\u8a66\u3057\u3066\u307f\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hyper-V \u304c\u52d5\u304b\u306a\u3044\u74b0\u5883\u306e\u5834\u5408\u3001Docker Toolbox \u3092\u4f7f\u3048\u3070\u3088\u3044\u306e\u3067\u3001\u4f7f\u3063\u3066\u307f\u308b\u3002\u5185\u90e8\u3067 VirtualBox \u3092\u52d5\u304b\u3057\u3066\u3044\u308b\u306e\u3067\u3001\u4eee\u60f3OS\u3092 VMWare \u3067\u4f5c\u3063\u3066\u3044\u308b\u3068\u5909\u308f\u3089\u306a\u3044\u306e\u3060\u304c\u3001UI \u3067\u64cd\u4f5c\u3067 &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/9764\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[31,98],"tags":[],"class_list":["post-9764","post","type-post","status-publish","format-standard","hentry","category-azure","category-net-core"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/9764","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=9764"}],"version-history":[{"count":1,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/9764\/revisions"}],"predecessor-version":[{"id":9765,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/9764\/revisions\/9765"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=9764"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=9764"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=9764"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}