Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VM Agent Templates] Switch Windows Server 2019 Container to Windows Server 2019 Core and customize Container Runtime install #2942

Closed
dduportal opened this issue May 16, 2022 · 2 comments

Comments

@dduportal
Copy link
Contributor

Service(s)

Other

Summary

As notified by @timja , and described by Microsoft in https://techcommunity.microsoft.com/t5/containers/updates-to-the-windows-container-runtime-support/ba-p/2788799, the Azure VM image providing the Docker Engine with Windows container out of the box won't be updated, and are scheduled for deletion in September 2023 from the catalog.

We have to update our packer template for Windows to stop using this serie of images, and to use the Windows 2019 Core Server line, which implies installing the Docker CE Engine for Windows container as part of the provisioning, to keep the actual behavior.

Reproduction steps

No response

@dduportal dduportal self-assigned this May 16, 2022
@dduportal dduportal added this to the infra-team-sync-2022-05-17 milestone May 16, 2022
@github-actions github-actions bot added the triage Incoming issues that need review label May 16, 2022
@dduportal dduportal added azure windows packer and removed triage Incoming issues that need review labels May 16, 2022
@dduportal
Copy link
Contributor Author

Hopefully, there is some work on that area in jenkins-infra/packer-images#219.

Tl;DR;

Install-PackageProvider -Name NuGet -Force
Install-Module -Name DockerMsftProvider -Repository PSGallery -Force
Install-Package -Name docker -ProviderName DockerMsftProvider
## A reboot is required to use start containers: only check the client
docker -v ## client version only

(from https://docs.microsoft.com/en-us/virtualization/windowscontainers/quick-start/set-up-environment?tabs=Windows-Server#install-docker)

Might be interested to check if chocolatey doesn't support it (since it's using nuget), that would be even easier thanks to @lemeurherve 's work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant