This will set up buildkitd natively on Windows Server 2019 (ltsc2019) or Windows Server 2022 (ltsc2022).
This will reboot your server if the feature is not already installed.
Install-WindowsFeature -Name containers -Restart| $ErrorActionPreference="Stop" | |
| $containerdDir = join-path $env:ProgramFiles containerd | |
| if (!(Test-Path $containerdDir)){ | |
| mkdir $containerdDir | |
| } | |
| $downloadPath = Join-Path $env:Tmp "containerd.tar.gz" | |
| $downloadLink = "https://github.com/containerd/containerd/releases/download/v1.7.5/containerd-1.7.5-windows-amd64.tar.gz" |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\