{"id":52293,"date":"2019-11-05T00:00:00","date_gmt":"2019-11-04T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/razrabotka-s-docker-na-windows-subsystem-for-linux-wsl"},"modified":"2020-02-18T13:59:59","modified_gmt":"2020-02-18T10:59:59","slug":"razrabotka-s-docker-na-windows-subsystem-for-linux-wsl","status":"publish","type":"post","link":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/razrabotka-s-docker-na-windows-subsystem-for-linux-wsl","title":{"rendered":"Windows Subsystem for Linux (WSL) \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 Docker \u043a\u04e9\u043c\u0435\u0433\u0456\u043c\u0435\u043d \u04d9\u0437\u0456\u0440\u043b\u0435\u0443","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Windows Subsystem for Linux (WSL) \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 Docker \u043a\u04e9\u043c\u0435\u0433\u0456\u043c\u0435\u043d \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\" src=\"\/wp-content\/uploads\/2019\/11\/8b57f485d965eda4f8179ce6a72da724.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>WSL \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 Docker \u0436\u043e\u0431\u0430\u0441\u044b\u043c\u0435\u043d \u0442\u043e\u043b\u044b\u049b\u049b\u0430\u043d\u0434\u044b \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0443 \u04af\u0448\u0456\u043d WSL 2 \u043e\u0440\u043d\u0430\u0442\u0443 \u049b\u0430\u0436\u0435\u0442. \u0411\u04b1\u043b \u043c\u0430\u049b\u0430\u043b\u0430 \u0436\u0430\u0437\u044b\u043b\u0493\u0430\u043d \u043a\u0435\u0437\u0434\u0435 WSL 2 \u043d\u04b1\u0441\u049b\u0430\u0441\u044b \u0442\u0435\u043a Windows Insider \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d\u0430 \u049b\u0430\u0442\u044b\u0441\u0443\u0448\u044b\u043b\u0430\u0440\u0493\u0430 \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456 \u0431\u043e\u043b\u0434\u044b (18932 \u0436\u04d9\u043d\u0435 \u043e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d\u0433\u0456 \u0436\u0438\u043d\u0430\u049b\u0442\u0430\u0440\u0434\u0430). \u0421\u043e\u043d\u0434\u0430\u0439-\u0430\u049b Docker Desktop \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d \u043e\u0440\u043d\u0430\u0442\u0443 \u0436\u04d9\u043d\u0435 \u0431\u0430\u043f\u0442\u0430\u0443 \u04af\u0448\u0456\u043d Windows 10 Pro \u043d\u04b1\u0441\u049b\u0430\u0441\u044b \u049b\u0430\u0436\u0435\u0442 \u0435\u043a\u0435\u043d\u0456\u043d \u0435\u0441\u043a\u0435\u0440\u0433\u0435\u043d \u0436\u04e9\u043d.<\/p>\n<p>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>\u0410\u043b\u0493\u0430\u0448\u049b\u044b \u049b\u0430\u0434\u0430\u043c\u0434\u0430\u0440<\/h3>\n<p><\/p>\n<p>Windows Insider \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d\u0430 \u049b\u043e\u0441\u044b\u043b\u044b\u043f, \u0436\u0430\u04a3\u0430\u0440\u0442\u0443\u043b\u0430\u0440\u0434\u044b \u043e\u0440\u043d\u0430\u0442\u049b\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d Linux \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456\u043d (\u0431\u04b1\u043b \u043c\u044b\u0441\u0430\u043b\u0434\u0430 Ubuntu 18.04 \u049b\u043e\u043b\u0434\u0430\u043d\u044b\u043b\u0430\u0434\u044b) \u0436\u04d9\u043d\u0435 WSL 2 Tech Preview \u043c\u04af\u043c\u043a\u0456\u043d\u0434\u0456\u0433\u0456 \u0431\u0430\u0440 Docker Desktop \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d \u043e\u0440\u043d\u0430\u0442\u0443 \u049b\u0430\u0436\u0435\u0442:<\/p>\n<p><\/p>\n<ol>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/docker-for-windows\/wsl-tech-preview\/\">Docker Desktop WSL 2 Tech Preview<\/a><\/noindex> <\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/www.microsoft.com\/store\/productId\/9N9TNGVNDL3Q\">Windows Store \u0434\u04af\u043a\u0435\u043d\u0456\u043d\u0434\u0435\u0433\u0456 Ubuntu 18.04<\/a><\/noindex><\/li>\n<\/ol>\n<p><\/p>\n<p>\u0415\u043a\u0456 \u0436\u0430\u0493\u0434\u0430\u0439\u0434\u0430 \u0434\u0430 \u043e\u0440\u043d\u0430\u0442\u0443 \u0436\u04d9\u043d\u0435 \u0431\u0430\u043f\u0442\u0430\u0443 \u043d\u04b1\u0441\u049b\u0430\u0443\u043b\u0430\u0440\u044b\u043d \u0442\u043e\u043b\u044b\u049b \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437.<\/p>\n<p><\/p>\n<h3>Ubuntu 18.04 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456\u043d \u043e\u0440\u043d\u0430\u0442\u0443<\/h3>\n<p><\/p>\n<p>Ubuntu 18.04 \u0436\u04af\u0439\u0435\u0441\u0456\u043d \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u043f\u0430\u0441 \u0431\u04b1\u0440\u044b\u043d, PowerShell \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d\u0434\u0430 \u043c\u044b\u043d\u0430 \u0435\u043a\u0456 \u043f\u04d9\u0440\u043c\u0435\u043d\u0434\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u043f, Windows WSL \u0436\u04d9\u043d\u0435 Windows Virtual Machine Platform \u043c\u04af\u043c\u043a\u0456\u043d\u0434\u0456\u043a\u0442\u0435\u0440\u0456\u043d \u049b\u043e\u0441\u0443 \u049b\u0430\u0436\u0435\u0442:<\/p>\n<p><\/p>\n<ol>\n<li><code>Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux<\/code> (\u041a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0434\u0456 \u049b\u0430\u0439\u0442\u0430 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u049b\u0430\u0436\u0435\u0442)<\/li>\n<li><code>Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform<\/code><\/li>\n<\/ol>\n<p><\/p>\n<p>\u041e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d WSL v2 \u043d\u04b1\u0441\u049b\u0430\u0441\u044b\u043d \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u044b\u043f \u043e\u0442\u044b\u0440\u0493\u0430\u043d\u044b\u043c\u044b\u0437\u0493\u0430 \u043a\u04e9\u0437 \u0436\u0435\u0442\u043a\u0456\u0437\u0443 \u043a\u0435\u0440\u0435\u043a. \u041e\u043b \u04af\u0448\u0456\u043d WSL \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u044b\u043d\u0434\u0430 \u043d\u0435\u043c\u0435\u0441\u0435 PowerShell \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d\u0434\u0430 \u043c\u044b\u043d\u0430 \u043f\u04d9\u0440\u043c\u0435\u043d\u0434\u0435\u0440\u0434\u0456 \u0440\u0435\u0442\u0456\u043c\u0435\u043d \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437:<\/p>\n<p><\/p>\n<ul>\n<li><code>wsl -l -v<\/code> \u2014 \u049a\u0430\u0437\u0456\u0440 \u049b\u0430\u0439 \u043d\u04b1\u0441\u049b\u0430 \u043e\u0440\u043d\u0430\u0442\u044b\u043b\u0493\u0430\u043d\u044b\u043d \u0442\u0435\u043a\u0441\u0435\u0440\u0435\u043c\u0456\u0437. \u0415\u0433\u0435\u0440 1-\u043d\u04b1\u0441\u049b\u0430 \u0431\u043e\u043b\u0441\u0430, \u0442\u0456\u0437\u0456\u043c\u0434\u0435\u0433\u0456 \u043a\u0435\u043b\u0435\u0441\u0456 \u049b\u0430\u0434\u0430\u043c\u0493\u0430 \u043a\u04e9\u0448\u0435\u043c\u0456\u0437<\/li>\n<li><code>wsl --set-version ubuntu 18.04 2<\/code> \u2014 2-\u043d\u04b1\u0441\u049b\u0430\u0493\u0430 \u0436\u0430\u04a3\u0430\u0440\u0442\u0443 \u04af\u0448\u0456\u043d<\/li>\n<li><code>wsl -s ubuntu 18.04<\/code> \u2014 Ubuntu 18.04 \u0436\u04af\u0439\u0435\u0441\u0456\u043d \u04d9\u0434\u0435\u043f\u043a\u0456 \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432 \u0440\u0435\u0442\u0456\u043d\u0434\u0435 \u043e\u0440\u043d\u0430\u0442\u0430\u043c\u044b\u0437<\/li>\n<\/ul>\n<p><\/p>\n<p>\u0415\u043d\u0434\u0456 Ubuntu 18.04 \u0436\u04af\u0439\u0435\u0441\u0456\u043d \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043f, \u0431\u0430\u043f\u0442\u0430\u0443\u0493\u0430 (\u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b \u0430\u0442\u044b \u043c\u0435\u043d \u049b\u04b1\u043f\u0438\u044f\u0441\u04e9\u0437\u0434\u0456 \u043a\u04e9\u0440\u0441\u0435\u0442\u0443\u0433\u0435) \u0431\u043e\u043b\u0430\u0434\u044b.<\/p>\n<p><\/p>\n<h3>Docker Desktop \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d \u043e\u0440\u043d\u0430\u0442\u0443<\/h3>\n<p><\/p>\n<p>\u041e\u0440\u043d\u0430\u0442\u0443 \u043a\u0435\u0437\u0456\u043d\u0434\u0435 \u043d\u04b1\u0441\u049b\u0430\u0443\u043b\u0430\u0440\u0434\u044b \u043e\u0440\u044b\u043d\u0434\u0430\u04a3\u044b\u0437. \u041e\u0440\u043d\u0430\u0442\u0443\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u0436\u04d9\u043d\u0435 Hyper-V \u043c\u04af\u043c\u043a\u0456\u043d\u0434\u0456\u0433\u0456\u043d \u049b\u043e\u0441\u0443 \u04af\u0448\u0456\u043d \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b \u0430\u043b\u0493\u0430\u0448 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u049b\u0430\u043d\u0434\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0434\u0456 \u049b\u0430\u0439\u0442\u0430 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u049b\u0430\u0436\u0435\u0442 \u0431\u043e\u043b\u0430\u0434\u044b (Hyper-V \u049b\u043e\u043b\u0434\u0430\u0443\u044b \u0431\u043e\u043b\u0493\u0430\u043d\u0434\u044b\u049b\u0442\u0430\u043d Windows 10 Pro \u043d\u04b1\u0441\u049b\u0430\u0441\u044b \u0442\u0430\u043b\u0430\u043f \u0435\u0442\u0456\u043b\u0435\u0434\u0456).<\/p>\n<p><\/p>\n<p><b>\u041c\u0430\u04a3\u044b\u0437\u0434\u044b!<\/b> \u0415\u0433\u0435\u0440 Docker Desktop \u0431\u0440\u0430\u043d\u0434\u043c\u0430\u0443\u044d\u0440 \u0431\u04b1\u0493\u0430\u0442\u0442\u0430\u0493\u0430\u043d\u044b \u0442\u0443\u0440\u0430\u043b\u044b \u0445\u0430\u0431\u0430\u0440\u043b\u0430\u0441\u0430, \u0430\u043d\u0442\u0438\u0432\u0438\u0440\u0443\u0441 \u0431\u0430\u043f\u0442\u0430\u0443\u043b\u0430\u0440\u044b\u043d\u0430 \u04e9\u0442\u0456\u043f, \u0436\u0435\u043b\u0456\u043b\u0456\u043a \u044d\u043a\u0440\u0430\u043d \u0435\u0440\u0435\u0436\u0435\u043b\u0435\u0440\u0456\u043d\u0435 \u0442\u04e9\u043c\u0435\u043d\u0434\u0435\u0433\u0456\u0434\u0435\u0439 \u04e9\u0437\u0433\u0435\u0440\u0456\u0441\u0442\u0435\u0440 \u0435\u043d\u0433\u0456\u0437\u0456\u04a3\u0456\u0437 (\u0431\u04b1\u043b \u043c\u044b\u0441\u0430\u043b\u0434\u0430 Kaspersky Total Security \u0430\u043d\u0442\u0438\u0432\u0438\u0440\u0443\u0441\u044b \u049b\u043e\u043b\u0434\u0430\u043d\u044b\u043b\u0493\u0430\u043d):<\/p>\n<p><\/p>\n<ul>\n<li>\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440 -&gt; \u049a\u043e\u0440\u0493\u0430\u043d\u044b\u0441 -&gt; \u0416\u0435\u043b\u0456\u043b\u0456\u043a \u044d\u043a\u0440\u0430\u043d -&gt; \u049a\u043e\u043b\u0434\u0430\u043d\u0431\u0430 \u0435\u0440\u0435\u0436\u0435\u043b\u0435\u0440\u0456\u043d \u0431\u0430\u043f\u0442\u0430\u0443 -&gt; Local Service (TCP) -&gt; \u04e8\u0437\u0433\u0435\u0440\u0442\u0443 \u0442\u0430\u0440\u043c\u0430\u0493\u044b\u043d\u0430 \u04e9\u0442\u0456\u04a3\u0456\u0437<\/li>\n<li>\u0416\u0435\u0440\u0433\u0456\u043b\u0456\u043a\u0442\u0456 \u043f\u043e\u0440\u0442\u0442\u0430\u0440 \u0442\u0456\u0437\u0456\u043c\u0456\u043d\u0435\u043d 445 \u043f\u043e\u0440\u0442\u044b\u043d \u0436\u043e\u0439\u044b\u04a3\u044b\u0437<\/li>\n<li>\u0421\u0430\u049b\u0442\u0430\u0443<\/li>\n<\/ul>\n<p><\/p>\n<p>Docker Desktop \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u0493\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u043e\u043d\u044b\u04a3 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0456\u043a \u043c\u04d9\u0437\u0456\u0440\u0456\u043d\u0435\u043d WSL 2 Tech Preview \u0442\u0430\u0440\u043c\u0430\u0493\u044b\u043d \u0442\u0430\u04a3\u0434\u0430\u04a3\u044b\u0437.<\/p>\n<p>\n<img decoding=\"async\" alt=\"Windows Subsystem for Linux (WSL) \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 Docker \u043a\u04e9\u043c\u0435\u0433\u0456\u043c\u0435\u043d \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\" src=\"\/wp-content\/uploads\/2019\/11\/ecd4557904a45f98f2b9147a4e28e23a.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<p>\u0410\u0448\u044b\u043b\u0493\u0430\u043d \u0442\u0435\u0440\u0435\u0437\u0435\u0434\u0435 Start \u0442\u04af\u0439\u043c\u0435\u0441\u0456\u043d \u0431\u0430\u0441\u044b\u04a3\u044b\u0437.<\/p>\n<p>\n<img decoding=\"async\" alt=\"Windows Subsystem for Linux (WSL) \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 Docker \u043a\u04e9\u043c\u0435\u0433\u0456\u043c\u0435\u043d \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\" src=\"\/wp-content\/uploads\/2019\/11\/5a0fa02cd1fd5358294a1de8ded32e9f.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<p>\u0415\u043d\u0434\u0456 docker \u0436\u04d9\u043d\u0435 docker-compose WSL \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456\u043d\u0434\u0435 \u049b\u043e\u043b\u0436\u0435\u0442\u0456\u043c\u0434\u0456.<\/p>\n<p><\/p>\n<p><b>\u041c\u0430\u04a3\u044b\u0437\u0434\u044b!<\/b> \u0416\u0430\u04a3\u0430\u0440\u0442\u044b\u043b\u0493\u0430\u043d Docker Desktop \u043d\u04b1\u0441\u049b\u0430\u0441\u044b\u043d\u0434\u0430 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043b\u0435\u0440 \u0442\u0435\u0440\u0435\u0437\u0435\u0441\u0456\u043d\u0434\u0435 WSL \u049b\u043e\u0439\u044b\u043d\u0434\u044b\u0441\u044b \u0431\u0430\u0440. WSL \u049b\u043e\u043b\u0434\u0430\u0443\u044b\u043d \u0441\u043e\u043b \u0436\u0435\u0440\u0434\u0435\u043d \u049b\u043e\u0441\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b.<\/p>\n<p>\n<img decoding=\"async\" alt=\"Windows Subsystem for Linux (WSL) \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 Docker \u043a\u04e9\u043c\u0435\u0433\u0456\u043c\u0435\u043d \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\" src=\"\/wp-content\/uploads\/2019\/11\/31c015662c95156ddb2aa7a1a4de5f57.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<p><b>\u041c\u0430\u04a3\u044b\u0437\u0434\u044b!<\/b> WSL \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u049b\u04b1\u0441\u0431\u0435\u043b\u0433\u0456\u0441\u0456\u043d\u0435\u043d \u0431\u04e9\u043b\u0435\u043a, Resources-&gt;WSL Integration \u049b\u043e\u0439\u044b\u043d\u0434\u044b\u0441\u044b\u043d\u0434\u0430 WSL \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456\u043d \u0434\u0435 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u049b\u0430\u0436\u0435\u0442.<\/p>\n<p>\n<img decoding=\"async\" alt=\"Windows Subsystem for Linux (WSL) \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 Docker \u043a\u04e9\u043c\u0435\u0433\u0456\u043c\u0435\u043d \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\" src=\"\/wp-content\/uploads\/2019\/11\/89a95a3bbf12201de13f6d80797e566c.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h3>\u0406\u0441\u043a\u0435 \u049b\u043e\u0441\u0443<\/h3>\n<p><\/p>\n<p>Windows \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u0441\u044b\u043d\u044b\u04a3 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u044b\u043d\u0434\u0430 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u049b\u0430\u043d \u0436\u043e\u0431\u0430\u043b\u0430\u0440\u0434\u044b\u04a3 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0456\u043d \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u043a\u0435\u0437\u0456\u043d\u0434\u0435 \u043a\u04e9\u043f\u0442\u0435\u0433\u0435\u043d \u043c\u04d9\u0441\u0435\u043b\u0435 \u0442\u0443\u044b\u043d\u0434\u0430\u0493\u0430\u043d\u044b \u043a\u04af\u0442\u043f\u0435\u0433\u0435\u043d \u0436\u0430\u0493\u0434\u0430\u0439 \u0431\u043e\u043b\u0434\u044b.<\/p>\n<p><\/p>\n<p>\u041a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0434\u0456 \u049b\u04b1\u0440\u0430\u0441\u0442\u044b\u0440\u0443 \u043a\u0435\u0437\u0456\u043d\u0434\u0435 \u049b\u0430\u0436\u0435\u0442\u0442\u0456 \u043a\u0456\u0442\u0430\u043f\u0445\u0430\u043d\u0430\u043b\u0430\u0440 \u043c\u0435\u043d \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0442\u0435\u0440\u0434\u0456 \u043e\u0440\u043d\u0430\u0442\u0443 \u04af\u0448\u0456\u043d \u04d9\u0434\u0435\u0442\u0442\u0435 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u0430\u0442\u044b\u043d bash \u0441\u043a\u0440\u0438\u043f\u0442\u0442\u0435\u0440\u0456\u043d\u0435 \u0436\u04d9\u043d\u0435 Linux \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u04d9\u0437\u0456\u0440\u043b\u0435\u0443\u0433\u0435 \u0442\u04d9\u043d \u0431\u0430\u0441\u049b\u0430 \u0434\u0430 \u04d9\u0440\u0435\u043a\u0435\u0442\u0442\u0435\u0440\u0433\u0435 \u0431\u0430\u0439\u043b\u0430\u043d\u044b\u0441\u0442\u044b \u0442\u04af\u0440\u043b\u0456 \u049b\u0430\u0442\u0435\u043b\u0435\u0440 \u0436\u043e\u0431\u0430\u043b\u0430\u0440\u0434\u044b Ubuntu 18.04 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b\u0441\u044b\u043d\u044b\u04a3 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u044b\u043d\u0430 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u0442\u044b\u0440\u0443\u0434\u044b \u043e\u0439\u043b\u0430\u043d\u0443\u0493\u0430 \u043c\u04d9\u0436\u0431\u04af\u0440 \u0435\u0442\u0442\u0456.<\/p>\n<p>.<\/p>\n<p>\u0410\u043b\u0434\u044b\u04a3\u0493\u044b \u043c\u04d9\u0441\u0435\u043b\u0435\u043d\u0456\u04a3 \u0448\u0435\u0448\u0456\u043c\u0456 \u043a\u0435\u043b\u0435\u0441\u0456 \u0441\u04b1\u0440\u0430\u049b\u0442\u044b \u0442\u0443\u044b\u043d\u0434\u0430\u0442\u0430\u0434\u044b: Windows \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043e\u0440\u043d\u0430\u0442\u044b\u043b\u0493\u0430\u043d IDE \u0430\u0440\u049b\u044b\u043b\u044b \u0436\u043e\u0431\u0430 \u0444\u0430\u0439\u043b\u0434\u0430\u0440\u044b\u043c\u0435\u043d \u049b\u0430\u043b\u0430\u0439 \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0443\u0433\u0435 \u0431\u043e\u043b\u0430\u0434\u044b? \u04e8\u0437\u0456\u043c \u04af\u0448\u0456\u043d \u0435\u04a3 \u0442\u0438\u0456\u043c\u0434\u0456 \u0448\u0435\u0448\u0456\u043c \u0440\u0435\u0442\u0456\u043d\u0434\u0435 VSCode \u0430\u0440\u049b\u044b\u043b\u044b \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0443\u0434\u0456 \u0493\u0430\u043d\u0430 \u0442\u0430\u043f\u0442\u044b\u043c, \u0431\u0456\u0440\u0430\u049b PhpStorm-\u043d\u044b\u04a3 \u0436\u0430\u043d\u043a\u04af\u0439\u0435\u0440\u0456\u043c\u0456\u043d.<\/p>\n<p><\/p>\n<p>VSCode \u0436\u04af\u043a\u0442\u0435\u043f \u0430\u043b\u044b\u043f, \u043e\u0440\u043d\u0430\u0442\u049b\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u043c\u0456\u043d\u0434\u0435\u0442\u0442\u0456 \u0442\u04af\u0440\u0434\u0435 \u043c\u044b\u043d\u0430 \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0434\u0456 \u043e\u0440\u043d\u0430\u0442\u044b\u04a3\u044b\u0437: <noindex><a rel=\"nofollow\" href=\"https:\/\/aka.ms\/vscode-remote\/download\/extension\">Remote Development extension pack<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>\u0416\u043e\u0493\u0430\u0440\u044b\u0434\u0430 \u0430\u0442\u0430\u043b\u0493\u0430\u043d \u043a\u0435\u04a3\u0435\u0439\u0442\u0456\u043c\u0434\u0456 \u043e\u0440\u043d\u0430\u0442\u049b\u0430\u043d \u0441\u043e\u04a3, \u043c\u044b\u043d\u0430 \u043f\u04d9\u0440\u043c\u0435\u043d\u0434\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u0443 \u0436\u0435\u0442\u043a\u0456\u043b\u0456\u043a\u0442\u0456: <code>code .<\/code> VSCode \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443\u043b\u044b \u043a\u0435\u0437\u0434\u0435 \u0436\u043e\u0431\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u044b\u043d\u0434\u0430.<\/p>\n<p><\/p>\n<p>\u0411\u04b1\u043b \u043c\u044b\u0441\u0430\u043b\u0434\u0430 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043b\u0435\u0440\u0433\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440 \u0430\u0440\u049b\u044b\u043b\u044b \u049b\u0430\u0442\u044b\u043d\u0430\u0443 \u04af\u0448\u0456\u043d nginx \u049b\u0430\u0436\u0435\u0442. \u041e\u043d\u044b \u043c\u044b\u043d\u0430 \u043f\u04d9\u0440\u043c\u0435\u043d \u0430\u0440\u049b\u044b\u043b\u044b \u043e\u0440\u043d\u0430\u0442\u0443 <code>sudo apt-get install nginx<\/code> \u043e\u04a3\u0430\u0439 \u0431\u043e\u043b\u0493\u0430\u043d \u0436\u043e\u049b. \u0410\u043b\u0434\u044b\u043c\u0435\u043d \u043c\u044b\u043d\u0430 \u043f\u04d9\u0440\u043c\u0435\u043d\u0434\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u043f, WSL \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456\u043d \u0436\u0430\u04a3\u0430\u0440\u0442\u0443 \u049b\u0430\u0436\u0435\u0442 \u0431\u043e\u043b\u0434\u044b: <code>sudo apt update &amp;&amp; sudo apt dist-upgrade<\/code>\u0441\u043e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u0493\u0430\u043d\u0430 nginx \u043e\u0440\u043d\u0430\u0442\u0443\u0434\u044b \u0431\u0430\u0441\u0442\u0430\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b.<\/p>\n<p><\/p>\n<p><b>\u041c\u0430\u04a3\u044b\u0437\u0434\u044b!<\/b> \u0411\u0430\u0440\u043b\u044b\u049b \u0436\u0435\u0440\u0433\u0456\u043b\u0456\u043a\u0442\u0456 \u0434\u043e\u043c\u0435\u043d\u0434\u0435\u0440 Linux \u0434\u0438\u0441\u0442\u0440\u0438\u0431\u0443\u0442\u0438\u0432\u0456\u043d\u0456\u04a3 \/etc\/hosts \u0444\u0430\u0439\u043b\u044b\u043d\u0434\u0430 \u0435\u043c\u0435\u0441 (\u043e\u043d\u0434\u0430\u0439 \u0444\u0430\u0439\u043b \u043e\u043b \u0436\u0435\u0440\u0434\u0435 \u043c\u04af\u043b\u0434\u0435 \u0436\u043e\u049b), Windows 10 \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435\u0433\u0456 hosts \u0444\u0430\u0439\u043b\u044b\u043d\u0434\u0430 (\u04d9\u0434\u0435\u0442\u0442\u0435 C:WindowsSystem32driversetchosts \u0436\u043e\u043b\u044b\u043d\u0434\u0430 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u049b\u0430\u043d) \u043a\u04e9\u0440\u0441\u0435\u0442\u0456\u043b\u0435\u0434\u0456.<\/p>\n<p><\/p>\n<h4>\u0414\u0435\u0440\u0435\u043a\u043a\u04e9\u0437\u0434\u0435\u0440<\/h4>\n<p><\/p>\n<p>\u04d8\u0440 \u049b\u0430\u0434\u0430\u043c\u043d\u044b\u04a3 \u0442\u043e\u043b\u044b\u049b \u0441\u0438\u043f\u0430\u0442\u0442\u0430\u043c\u0430\u0441\u044b\u043d \u043c\u044b\u043d\u0430 \u0436\u0435\u0440\u0434\u0435\u043d \u0442\u0430\u0431\u0430 \u0430\u043b\u0430\u0441\u044b\u0437:<\/p>\n<p><\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/code.visualstudio.com\/docs\/remote\/wsl\">https:\/\/code.visualstudio.com\/docs\/remote\/wsl<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/docker-for-windows\/wsl-tech-preview\/\">https:\/\/docs.docker.com\/docker-for-windows\/wsl-tech-preview\/<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/docs.docker.com\/docker-for-windows\/\">https:\/\/docs.docker.com\/docker-for-windows\/<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/docs.microsoft.com\/ru-ru\/windows\/wsl\/wsl2-install\">https:\/\/docs.microsoft.com\/ru-ru\/windows\/wsl\/wsl2-install<\/a><\/noindex><\/li>\n<\/ul>\n<p>\u0414\u0435\u0440\u0435\u043a\u043a\u04e9\u0437: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/474346\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u043c \u043d\u0430 docker&#8217;\u0435 \u0432 WSL \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 WSL 2. \u041d\u0430 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0437\u0430\u043c\u0435\u0442\u043a\u0438 \u0435\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0443\u0447\u0430\u0441\u0442\u0438\u044f \u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0435 \u043f\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u0446\u0435\u043d\u043a\u0438 Windows (WSL 2 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0432 \u0441\u0431\u043e\u0440\u043a\u0430\u0445 18932 \u0438 \u0432\u044b\u0448\u0435). \u0422\u0430\u043a \u0436\u0435 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c, \u0447\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0430 \u0432\u0435\u0440\u0441\u0438\u044f Windows 10 Pro \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 Docker Desktop. \u041f\u0435\u0440\u0432\u044b\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-52293","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.6.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441.\" \/>\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\/kk\/blog\/administrirovanie\/razrabotka-s-docker-na-windows-subsystem-for-linux-wsl\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.6.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\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\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441 Docker \u043d\u0430 Windows Subsystem for Linux (WSL) | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/razrabotka-s-docker-na-windows-subsystem-for-linux-wsl\" \/>\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-11-04T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T10:59:59+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\udd47Windows Subsystem for Linux (WSL) \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 Docker \u0430\u0440\u049b\u044b\u043b\u044b \u04d9\u0437\u0456\u0440\u043b\u0435\u0443 | ProHoster","description":"\u0422\u043e\u043b\u044b\u049b\u049b\u0430\u043d\u0434\u044b \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0443 \u04af\u0448\u0456\u043d.","canonical_url":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/razrabotka-s-docker-na-windows-subsystem-for-linux-wsl","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","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\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441 Docker \u043d\u0430 Windows Subsystem for Linux (WSL) | ProHoster","og:description":"\u0414\u043b\u044f \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441.","og:url":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/razrabotka-s-docker-na-windows-subsystem-for-linux-wsl","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-11-04T21:00:00+00:00","article:modified_time":"2020-02-18T10:59:59+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"52293","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-24 03:10:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 11:56:47","updated":"2026-01-24 03:10:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts\/52293","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/comments?post=52293"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts\/52293\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/media?parent=52293"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/categories?post=52293"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/tags?post=52293"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}