Running .Net Core in Docker on Windows for Linux

Practically, I want to play with .NET Core in Docker.

So, as I understand from this post , to ensure maximum flexibility for myself, I would install "Docker For Windows". I can end up deploying my .Core application in a container that is either a Windows or Linux container. However, the Linux container is still a Linux container running Hyper-V.

1) Is there a way to use the Windows Subsystem for Linux (WSL) for this in the Windows 10 Creators Update? It seems that there is less overhead than Windows / Docker to manage a separate Linux VM for me?

+4
source share
1 answer

No, launching Docker containers in WSL is not supported (mine link):

The docker engine is not supported in the short term. I would suggest clicking on our User Voice and “upvoting Docker” pages if you want to launch the docker engine.

The docker client must be running in build 14342. I was able to start the docker client and connect to the docker engine running in a virtual machine.

As for why it is not supported :

WSL - . Docker " ". . ( .)

+1

Source: https://habr.com/ru/post/1675606/


All Articles