CircleCI is proud to offer the most diverse set of compute offerings in the industry for cloud-hosted CI to enable customers to conveniently build, test, and deploy their applications on whatever compute they need. We’re excited to extend the diversity of our platform by announcing support for a new operating system for our Windows executors: Windows Server 2022!
This new Windows Server 2022 image will give customers who use our Windows executors access to the latest and greatest operating system, IDE (Visual Studio 2022), and software (.NET 6 among other tools) from Microsoft.
At this time, the Windows Server 2022 image will co-exist with our Windows Server 2019 images so customers have the option to upgrade but will not lose support to their existing image. A reminder that we’ve also bulked up the amount of storage on our Windows executors to have a default disk size of 200 GB.
You can use the image with an orb just like our other Windows images, see this post for details.
You can also access this image by using our [“Edge” tags] with the machine executor (Hello World On Windows - CircleCI) in your config:
image: 'windows-server-2022-gui:edge'
Feel free to comment in this post if you have any questions or suggestions on what to include in the image. A reminder that the “Edge” tag is a “beta”.
See post below for all of the software that is included in this image.
Hi @uhlenbrock this was not intentional. I will fix it. The fix should be available early next week. I will ping you again once it is fixed. Thanks for bringing this to my attention.
@laupow Hi, the new ‘edge’ image has nvm 1.1.9 included. Please let me know how it goes. If all goes well I will make it the latest ‘current/stable’ image. Thank you!
@uhlenbrock Hi, the new ‘edge’ image has docker engine 20.10.14 included. Please let me know how it goes. If all goes well I will make it the latest ‘current/stable’ image. Thank you!
@mrothstein74 Thanks for the update. Docker commands do not run with the edge image:
ERROR: error during connect: In the default daemon configuration on Windows, the docker client must be run with elevated privileges to connect.: Get "http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/info": open //./pipe/docker_engine: The system cannot find the file specified.
Even if I open an Administrator powershell, the same error is displayed. At least I think I was able to elevate the session to Administrator.
It looks like docker is installed via Chocolatey. However, I don’t believe that is the correct way to install docker for Windows Server. Is it possible to use this method instead?
# Add the Docker provider to the PowerShell package manager
Install-Module DockerMsftProvider -Force
# Install Docker EE
Install-Package Docker -ProviderName DockerMsftProvider -Force
# Restart the computer to enable the containers feature
Restart-Computer
@mrothstein74 The instructions at the top of this thread seem to say that this new configuration is available for the image or executor setup. I need DLC, so I switched to the image setup, but no matter the resource class I select, I get the following error: failed to create host: Image windows-server-2022-vs2022:edge is not compatible with resource class l1.xlarge — Is using DLC possible with windows?
Hi there! The nvm command still isn’t recognized and I do not see nvm installed under C:\ProgramData. This is on Build-agent version 1.0.119451-8e8449a9 with windows-server-2022-vs2022:edge image. Is nvm installed somewhere else?