Draft
Conversation
…uild The call site of image-fetcher is in pullContainerImage() in parts/linux/cloud-init/artifacts/cse_install.sh, replacing the direct ctr image pull with /opt/azure/containers/image-fetcher. Also used in install-dependencies.sh for the NVIDIA driver image pull. The image-fetcher Go binary uses containerd's Fetch() API to download image blobs into the content store without unpacking, which significantly reduces VHD disk usage (21G -> 6G). Images below 150 MiB are fully pulled and unpacked. The binary is placed at /opt/azure/containers/image-fetcher during VHD build and cleaned up afterwards. Co-authored-by: Devinwong <13621569+Devinwong@users.noreply.github.com>
…tignore Co-authored-by: Devinwong <13621569+Devinwong@users.noreply.github.com>
Copilot stopped work on behalf of
Devinwong due to an error
March 6, 2026 21:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
image-fetcher/Go module withmain.go,go.mod,go.sumpacker.mkto addbuild-image-fetchertarget and dependenciesparts/linux/cloud-init/artifacts/cse_install.shto use/opt/azure/containers/image-fetcherinpullContainerImage()vhdbuilder/packer/cleanup-vhd.shto remove image-fetcher after VHD buildvhdbuilder/packer/install-dependencies.shto use image-fetcher for NVIDIA driver imagevhdbuilder/packer/packer_source.shto copy image-fetcher binaryvhdbuilder/packer/imagecustomizer/azlosguard/azlosguard.ymle2e/benchmark_container_create.shbenchmark script.pipelines/scripts/verify_shell.shBASH_ONLY_LIST for benchmark scriptimage-fetcher/.gitignoreto exclude built binarymake generateto update snapshot test datago test ./pkg/agent/...)✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.