Your Question: Can a Linux Container Run on Windows?
Contents Docker Has Been Able to Run Linux Containers on Windows Desktop Since It Was First Released in 2016 (Before Hyper-v Isolation or Linux Containers on...
Docker has been able to run Linux containers on Windows desktop since it was first released in 2016 (before Hyper-V isolation or Linux containers on Windows were available) using a LinuxKit based virtual machine running on Hyper-V.
How do I run a Linux container in Windows 10?
Run Your First Linux Container
You can toggle this by selecting Switch to Linux Containers from the action menu when clicking on the Docker whale icon in the system tray. If you see Switch to Windows Containers , then you are already targeting the Linux daemon. The container should run, print “hello_world”, then exit.
Can a docker container run on both Windows and Linux?
With Docker for Windows started and Windows containers selected, you can now run either Windows or Linux Containers simultaneously. The new –platform=linux command line switch is used to pull or start Linux images on Windows. Now start the Linux container and a Windows Server Core container.