Hello,
We are looking for a Windows 11 Docker image to execute some command line tests. I found this microsoft-windows - Official Image | Docker Hub but all OS versions are Windows 10. Does any one know if there is a Win11 image?
Thanks!
Share and learn in the Docker community.
Hello,
We are looking for a Windows 11 Docker image to execute some command line tests. I found this microsoft-windows - Official Image | Docker Hub but all OS versions are Windows 10. Does any one know if there is a Win11 image?
Thanks!
The image repo you linked is for Windows Server images, not Windows 10. I donāt think you will find Windows 10 or Windows 11 Docker images. These operating systems are not for using them as a server and Docker doesnāt support GUI in Windows containers.
The numbers you could see on the linked page are the base Windows versions for the severs. This is almost at the beginning of the page in the āAboutā section
This is a base image for Windows Server containers
If you have a Windows 11 OS installed, try this from a Powershell:
[System.Environment]::OSVersion.Version
I have Windows 11 and my output is this:
Minor Minor Build Revision
10 0 22631 0
So you will not find 11.
Hello rimelek,
Thanks for the reply.
The numbers you could see on the linked page are the base Windows versions for the severs. This is almost at the beginning of the page in the āAboutā section
I donāt know about it, and I got confused because the second sentence under āAboutā mentioned this image carries the Windows-based OS image. Thatās why I thought this is capable of running as a Windows container.
I understand this image will not give me any GUI interaction. However, all we need to do is to make sure some command line tools work in such an environment (Windows 10/11), and we donāt care about GUI. So, Iād assume this is fine?
As for the OS version, thanks for the info; I never thought it that way! I checked Windows releases Windows 10 - release information | Microsoft Learn and Windows 11 - release information | Microsoft Learn. Seems that the oldest Windows 11 release build is 22000.194, so all these 19042 and earlier builds seem to be Windows 10 then.
Much appreciated!
I donāt actually know how these builds are versioned, but Windows 11 was released in 2021 and the Docker images are the base of Windows Server 2019, so maybe you are right about that Windows 11 has newer base, but I canāt confirm it.
I donāt know about the differences either. Depending on what you need to run, it could work on Windows 11 or not, but if you always want to run it in a container, then it shouldnāt matterā¦ At least if the isolation method is āhypervā. But you could also ask about it in a Microsoft forum where you could probably find more people who runs Windows containers and know how it works in practice. We have a few Windows container users here too, but not always around.
I guess if you want to run the commands outside containers directly on the Windows host, the vrsion of PowerShell could matter. I donāt know how much Windows versions change in new releases.