{"id":71917,"date":"2019-07-28T10:44:27","date_gmt":"2019-07-28T01:44:27","guid":{"rendered":"https:\/\/www.softantenna.com\/wp\/?p=71917"},"modified":"2019-07-28T10:44:27","modified_gmt":"2019-07-28T01:44:27","slug":"windows-10-wsl-2-localhost-custom-kernel","status":"publish","type":"post","link":"https:\/\/softantenna.com\/blog\/windows-10-wsl-2-localhost-custom-kernel\/","title":{"rendered":"Windows 10\u306e\u300cWSL 2\u300d\u3067localhost\u306e\u30a2\u30af\u30bb\u30b9\u3084\u30ab\u30b9\u30bf\u30e0Linux\u30ab\u30fc\u30cd\u30eb\u306e\u6307\u5b9a\u304c\u53ef\u80fd\u306b"},"content":{"rendered":"<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/07\/WSL2Localhost2.jpg\" alt=\"WSL2Localhost2\" title=\"WSL2Localhost2.jpg\" border=\"0\" width=\"1280\" height=\"427\" \/><\/p>\n<p>Microsoft\u306f\u5148\u65e5\u3001Windows 10\u306e\u6700\u65b0\u30d7\u30ec\u30d3\u30e5\u30fc\u30d3\u30eb\u30c9\u300cWindows 10 Insider Preview Build 18945 (20H1)\u300d\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u30d3\u30eb\u30c9\u3067\u306fWindows Subsystem for Linux 2(WSL 2)\u306b\u95a2\u3059\u308b\u6539\u826f\u304c\u542b\u307e\u308c\u3066\u3044\u3066\u3001\u8a73\u7d30\u304c<a href=\"https:\/\/devblogs.microsoft.com\/commandline\/whats-new-for-wsl-in-insiders-preview-build-18945\/\">Command Line Blog<\/a>\u3067\u89e3\u8aac\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u540c\u30d6\u30ed\u30b0\u306b\u3088\u308b\u3068\u307e\u305a\u6700\u521d\u306e\u6539\u826f\u70b9\u3068\u3057\u3066\u3001Linux\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a2\u30d7\u30ea\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u969b\u3001IP\u30a2\u30c9\u30ec\u30b9\u306e\u307b\u304b\u306b<strong>localhost<\/strong>\u3092\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u4e8b\u304c\u3042\u3052\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u3063\u3066\u4f8b\u3048\u3070WSL 2\u3067node\u3092\u5b9f\u884c\u3057\u3001Windows\u306e\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u300chttp:\/\/localhost:3000\u300d\u3092\u958b\u304f\u3068node\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u306a\u304a\u5c06\u6765\u7684\u306b\u306fLinux\u304b\u3089Windows\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306blocalhost\u3092\u5229\u7528\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u8a08\u753b\u3082\u5b58\u5728\u3059\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>\u3082\u3046\u4e00\u3064\u306e\u6539\u826f\u306f\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u306aWSL\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u5c0e\u5165\u3067\u3059\u3002\u3053\u308c\u306f\u30c7\u30a3\u30b9\u30c8\u30ea\u30d3\u30e5\u30fc\u30b7\u30e7\u30f3\u6bce\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30ebwsl.conf\u3068\u306f\u7570\u306a\u308a\u3001WSL\u5168\u4f53\u306e\u8a2d\u5b9a\u3092\u884c\u3046\u3082\u306e\u3067\u3001\u300cC:\\Users\\\u30e6\u30fc\u30b6\u30fc\u540d\\\u300d\u306b<strong>.wslconfig<\/strong>\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002.wslconfig\u306fINI\u30d5\u30a1\u30a4\u30eb\u98a8\u306e\u66f8\u5f0f\u3067\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" style=\"display:block; margin-left:auto; margin-right:auto;\" src=\"https:\/\/softantenna.com\/blog\/wp-content\/uploads\/2019\/07\/s_20190728_103803.jpg\" alt=\"S 20190728 103803\" title=\"s_20190728_103803.jpg\" border=\"0\" width=\"810\" height=\"262\" \/><\/p>\n<p>\u7279\u5b9a\u306e\u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u306a\u3069\u3001\u300ckernel\u300d\u306b\u30ab\u30b9\u30bf\u30e0\u30ab\u30fc\u30cd\u30eb\u306e\u7d76\u5bfe\u30d1\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u72ec\u81ea\u306e\u30ab\u30fc\u30cd\u30eb\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u6307\u5b9a\u304c\u306a\u3044\u5834\u5408\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30ab\u30fc\u30cd\u30eb\u304c\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002<\/p>\n<p>WSL 2\u306fWSL\u306e\u5f37\u5316\u7248\u3067\u3001\u6765\u5e74\u306e\u6625\u516c\u958b\u4e88\u5b9a\u306eWindows 10 20H1\u306e\u30d7\u30ec\u30d3\u30e5\u30fc\u7248\u3067\u5229\u7528\u53ef\u80fd\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft\u306f\u5148\u65e5\u3001Windows 10\u306e\u6700\u65b0\u30d7\u30ec\u30d3\u30e5\u30fc\u30d3\u30eb\u30c9\u300cWindows 10 Insider Preview Build 18945 (20H1)\u300d\u3092\u30ea\u30ea\u30fc\u30b9\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u30d3\u30eb\u30c9\u3067\u306fWindows Subs [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":71918,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[3],"tags":[3298,2701],"class_list":["post-71917","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-windows","tag-windows10"],"_links":{"self":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/71917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/comments?post=71917"}],"version-history":[{"count":0,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/posts\/71917\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media\/71918"}],"wp:attachment":[{"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/media?parent=71917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/categories?post=71917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/softantenna.com\/blog\/wp-json\/wp\/v2\/tags?post=71917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}