Why does Docker for Windows allow me to select Windows or Linux containers?

When using Docker for Windows, you must choose to use either Windows or Linux containers, but you cannot use both at the same time. What is the technical reason for this? This is a bit counter-intuitive, since each container has its own isolated operating system.

+4
source share
2 answers

The docker ecosystem on your Windows machine contains several components. One of them is the Docker command line: the command dockeryou use to manage everything. The second is the Docker demon A self-sufficient runtime for containers, the core.

Docker Linux Windows , . , . , .

, ex. MobyLinuxVM Windows. , , Docker Windows , Linux MobyLinuxVM.

+2

Linux Docker Windows , Hyper-V Linux - MobyLinuxVM. , Linux Windows.

, Windows 1709 Docker , linux - .: https://blog.docker.com/2017/09/docker-windows-server-1709/

@v.karbovnichy, Docker Windows, "" linux windows - docker-machine Linux, linux. linux windows .

docker linux windows docker-server "" - docker login - ​​ .

, , linux windows .

+1

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


All Articles