{"id":33154,"date":"2019-10-31T21:51:01","date_gmt":"2019-10-31T18:51:01","guid":{"rendered":"https:\/\/prohoster.info\/blog\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux\/"},"modified":"2019-10-31T21:51:01","modified_gmt":"2019-10-31T18:51:01","slug":"microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux","status":"publish","type":"post","link":"https:\/\/prohoster.info\/pl\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux","title":{"rendered":"Microsoft og\u0142osi\u0142 subsyst\u00e9m WSL2 z natywnym j\u0105drem Linux","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Firma Microsoft <noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/commandline\/announcing-wsl-2\/\">zaprezentowa\u0142a<\/a><\/noindex> na odbywaj\u0105cej si\u0119 konferencji Microsoft Build 2019 zaktualizowan\u0105 podsystem WSL2 (Windows Subsystem for Linux), przeznaczon\u0105 do uruchamiania plik\u00f3w wykonywalnych Linux w Windows. Kluczow\u0105 <noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/commandline\/shipping-a-linux-kernel-with-windows\/\">cech\u0105<\/a><\/noindex> drugiej edycji jest dostarczenie pe\u0142noprawnego j\u0105dra Linux, zamiast warstwy t\u0142umacz\u0105cej wywo\u0142ania systemowe Linux na wywo\u0142ania systemowe Windows. <\/p>\n<p>Testowe wydanie WSL2 zostanie przedstawione pod koniec czerwca w wersjach eksperymentalnych <noindex><a rel=\"nofollow\" href=\"https:\/\/insider.windows.com\/en-us\/\">Windows Insider<\/a><\/noindex>. WSL1 w oparciu o emulator b\u0119dzie nadal wspierany, a u\u017cytkownicy b\u0119d\u0105 mogli korzysta\u0107 z niego obok WSL2. Do uruchomienia j\u0105dra Linux w \u015brodowisku Windows wykorzystana b\u0119dzie lekka maszyna wirtualna, ju\u017c stosowana w Azure. <\/p>\n<p>W ramach WSL2 dla Windows 10 b\u0119dzie dost\u0119pny komponent z j\u0105drem Linux 4.19. W miar\u0119 wydawania poprawek dla ga\u0142\u0119zi LTS 4.19, j\u0105dro dla WSL2 b\u0119dzie na bie\u017c\u0105co aktualizowane za pomoc\u0105 mechanizmu Windows Update i testowane w infrastrukturze ci\u0105g\u0142ej integracji Microsoftu. W WSL2 b\u0119dzie u\u017cywane to samo j\u0105dro, kt\u00f3re stosowane jest w infrastrukturze Azure, co u\u0142atwi utrzymanie. <\/p>\n<p>Wszystkie przygotowane zmiany do integracji j\u0105dra z WSL b\u0119d\u0105 opublikowane na otwartej licencji GPLv2 i przekazane do projektu upstream. Przygotowane poprawki obejmuj\u0105 optymalizacje skracaj\u0105ce czas uruchamiania j\u0105dra, redukuj\u0105ce zu\u017cycie pami\u0119ci oraz pozostawiaj\u0105ce w j\u0105drze minimalny zestaw niezb\u0119dnych sterownik\u00f3w i podsystem\u00f3w. Proponowane j\u0105dro b\u0119dzie mog\u0142o dzia\u0142a\u0107 jako przezroczysta alternatywa dla warstwy emulacyjnej oferowanej w WSL1. Posiadanie kodu \u017ar\u00f3d\u0142owego umo\u017cliwi entuzjastom tworzenie w\u0142asnych wersji j\u0105dra Linux dla WSL2, do czego zostan\u0105 przygotowane niezb\u0119dne instrukcje.<\/p>\n<p>U\u017cycie standardowego j\u0105dra z optymalizacjami od projektu Azure pozwoli uzyska\u0107 pe\u0142n\u0105 zgodno\u015b\u0107 z Linuxem na poziomie wywo\u0142a\u0144 systemowych oraz zapewni mo\u017cliwo\u015b\u0107 bezproblemowego uruchamiania kontener\u00f3w Docker w Windows, a tak\u017ce zrealizuje wsparcie dla system\u00f3w plik\u00f3w opartych na mechanizmie FUSE. Dodatkowo w WSL2 znacznie zwi\u0119kszono wydajno\u015b\u0107 operacji wej\u015bcia\/wyj\u015bcia i operacji na systemie plik\u00f3w, kt\u00f3re wcze\u015bniej by\u0142y w\u0105skim gard\u0142em WSL1. Na przyk\u0142ad, podczas rozpakowywania skompresowanego archiwum WSL2 jest 20 razy szybszy ni\u017c WSL1, a przy wykonywaniu operacji<br \/>\n &#171;git clone&#187;, &#171;npm install&#187;, &#171;apt update&#187; \u0438 &#171;apt upgrade&#187; \u0432 2-5 \u0440\u0430\u0437.<\/p>\n<p>Pomimo dostarczenia j\u0105dra Linux, WSL2 nadal nie oferuje gotowego zestawu komponent\u00f3w dla przestrzeni u\u017cytkownika. Komponenty te instalowane s\u0105 osobno i opieraj\u0105 si\u0119 na wersjach r\u00f3\u017cnych dystrybucji. Na przyk\u0142ad, aby zainstalowa\u0107 w WSL z katalogu Microsoft Store <noindex><a rel=\"nofollow\" href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/wsl\/install-win10\">oferowane s\u0105<\/a><\/noindex> wersje <noindex><a rel=\"nofollow\" href=\"https:\/\/www.microsoft.com\/en-us\/store\/p\/ubuntu\/9nblggh4msv6\">Ubuntu<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=48215\">Debian GNU\/Linux, Kali Linux<\/a><\/noindex>, <noindex><a rel=\"nofollow\" href=\"https:\/\/www.microsoft.com\/en-us\/store\/p\/suse-linux-enterprise-server-12\/9p32mwbh6cns\">SUSE<\/a><\/noindex> \u0438 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.microsoft.com\/en-us\/store\/p\/opensuse-leap-42\/9njvjts82tjx?activetab=pivot%3aoverviewtab\">openSUSE<\/a><\/noindex>. Aby w interakcji z oferowanym w Windows j\u0105drem Linux, wymagana b\u0119dzie podmianka niewielkiego skryptu inicjalizacyjnego w dystrybucji, zmieniaj\u0105cego proces \u0142adowania. Firma Canonical ju\u017c <noindex><a rel=\"nofollow\" href=\"https:\/\/blog.ubuntu.com\/2019\/05\/06\/canonical-announces-support-for-ubuntu-on-windows-subsystem-for-linux-2\">zadeklarowa\u0142a<\/a><\/noindex> zamierzenie zapewnienia pe\u0142nej obs\u0142ugi dzia\u0142ania Ubuntu na WSL2.<\/p>\n<p>Dodatkowo mo\u017cna zauwa\u017cy\u0107 <noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/commandline\/introducing-windows-terminal\/\">publikacj\u0119<\/a><\/noindex> emulatora terminala przez firm\u0119 Microsoft <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/microsoft\/Terminal\">Windows Terminal<\/a><\/noindex>, kt\u00f3rego kod jest dost\u0119pny na licencji MIT. Wraz z terminalem udost\u0119pniony jest r\u00f3wnie\u017c kod oryginalnego interfejsu wiersza polece\u0144 conhost.exe, stosowanego w systemie Windows i realizuj\u0105cego Windows Console API. Terminal oferuje interfejs oparty na zak\u0142adkach i dzielonych oknach, w pe\u0142ni obs\u0142uguje Unicode oraz sekwencje ucieczki dla kolorowego wyj\u015bcia, umo\u017cliwia zmian\u0119 motyw\u00f3w oraz instalacj\u0119 rozszerze\u0144, wspiera wirtualne konsoli (PTY) i wykorzystuje DirectWrite\/DirectX do przyspieszania renderowania tekstu. W terminalu mo\u017cna korzysta\u0107 z pow\u0142ok Command Prompt (cmd), PowerShell oraz WSL. Latem nowy terminal b\u0119dzie dost\u0119pny dla u\u017cytkownik\u00f3w Windows w katalogu Microsoft Store.<\/p>\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/devblogs.microsoft.com\/commandline\/wp-content\/uploads\/sites\/33\/2019\/05\/tab-menu.png\"><img decoding=\"async\" alt=\"Microsoft og\u0142osi\u0142 subsyst\u00e9m WSL2 z natywnym j\u0105drem Linux\" src=\"\/wp-content\/uploads\/2019\/05\/6670e8dc0772a8d948a6ee4bd6308249.png\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>\u0179r\u00f3d\u0142o: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=50637\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 WSL2 (Windows Subsystem for Linux), \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u0443\u044e \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 Linux \u0432 Windows. \u041a\u043b\u044e\u0447\u0435\u0432\u043e\u0439 \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0442\u043e\u0440\u043e\u0439 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0433\u043e \u044f\u0434\u0440\u0430 Linux, \u0432\u043c\u0435\u0441\u0442\u043e \u043f\u0440\u043e\u0441\u043b\u043e\u0439\u043a\u0438 \u043d\u0430 \u043b\u0435\u0442\u0443 \u0442\u0440\u0430\u043d\u0441\u043b\u0438\u0440\u0443\u044e\u0449\u0435\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b Linux \u0432 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0432\u044b\u0437\u043e\u0432\u044b Windows. \u0422\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u0432\u044b\u043f\u0443\u0441\u043a WSL2 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d \u0432 \u043a\u043e\u043d\u0446\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":24897,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-33154","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/pl\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Microsoft \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 WSL2 \u0441\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c \u044f\u0434\u0440\u043e\u043c Linux | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/pl\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:51:01+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:51:01+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Microsoft og\u0142osi\u0142 system WSL2 z wbudowanym j\u0105drem Linux | ProHoster","description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e.","canonical_url":"https:\/\/prohoster.info\/pl\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"pl_PL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Microsoft \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b \u043f\u043e\u0434\u0441\u0438\u0441\u0442\u0435\u043c\u0443 WSL2 \u0441\u043e \u0448\u0442\u0430\u0442\u043d\u044b\u043c \u044f\u0434\u0440\u043e\u043c Linux | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Microsoft \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043b\u0430 \u043d\u0430 \u043f\u0440\u043e\u0445\u043e\u0434\u044f\u0449\u0435\u0439 \u0432 \u044d\u0442\u0438 \u0434\u043d\u0438 \u043a\u043e\u043d\u0444\u0435\u0440\u0435\u043d\u0446\u0438\u0438 Microsoft Build 2019 \u043e\u0431\u043d\u043e\u0432\u043b\u0451\u043d\u043d\u0443\u044e.","og:url":"https:\/\/prohoster.info\/pl\/blog\/news\/microsoft-anonsiroval-podsistemu-wsl2-so-shtatnym-yadrom-linux","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:51:01+00:00","article:modified_time":"2019-10-31T18:51:01+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"33154","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 14:09:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 02:46:22","updated":"2026-01-21 14:09:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts\/33154","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/comments?post=33154"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/posts\/33154\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/media\/24897"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/media?parent=33154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/categories?post=33154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/pl\/wp-json\/wp\/v2\/tags?post=33154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}