Skaffold が誤ったターゲットのベースイメージを pull しようとするため、Windows マシンで Windows イメージ用の Skaffold ビルドを実行すると、エラーが発生することがあります。
この問題が発生すると、次のメッセージのようなエラー メッセージが表示されることがあります。
Checking cache...
- migrated-image-6jc3z: Error checking cache.
getting hash for artifact "migrated-image-6jc3z": getting dependencies for "migrated-image-6jc3z": parsing ONBUILD instructions: retrieving image "mcr.microsoft.com/dotnet/framework/aspnet:4.8": no child with platform linux/amd64 in index mcr.microsoft.com/dotnet/framework/aspnet:4.8
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-09-04 UTC。"],[],[],null,["# Issues with Windows IIS services migration\n==========================================\n\nThis document describes workarounds for some issues that you might\nencounter while migrating Windows IIS services.\n\nWindows IIS deployment marked not ready\n---------------------------------------\n\nThe deployment of Windows IIS workloads might be marked as not ready due\nto short timeouts. If you're deploying your workloads using Skaffold, then\nthe deployment might show as failed.\n\nAs a workaround for this issue, increase the readiness probe timeout and\nperiod using PowerShell: \n\n foreach ($file in (Get-ChildItem . -Recurse -Include \"deployment_spec.yaml\")) { (Get-Content $file).replace(\"periodSeconds: 10\", \"periodSe\n conds: 30\").replace(\"timeoutSeconds: 1\", \"timeoutSeconds: 10\") | Set-Content $file }\n\nSkaffold build for Windows images fails\n---------------------------------------\n\nSkaffold build for Windows images might fail on a Windows machine because\nSkaffold tries to pull the base image for the wrong target.\n\nIf this issue occurs, you might see an error message similar to the following\nmessage: \n\n Checking cache...\n - migrated-image-6jc3z: Error checking cache.\n getting hash for artifact \"migrated-image-6jc3z\": getting dependencies for \"migrated-image-6jc3z\": parsing ONBUILD instructions: retrieving image \"mcr.microsoft.com/dotnet/framework/aspnet:4.8\": no child with platform linux/amd64 in index mcr.microsoft.com/dotnet/framework/aspnet:4.8\n\nAs a workaround for this issue, pull the image manually using the `docker pull`\ncommand, and run the Skaffold build again."]]