container
container copied to clipboard
Error thrown when trying to pull any image
(base) jakemalis@MacBookPro ~ % container image pull python
Error: unknown: "cannot create hard links to directory target: /Files/Windows/WinSxS/wow64_microsoft.dtc.powershell.scripts_31bf3856ad364e35_10.0.26100.1_none_089a9574827c120b/MSFT_DtcLogTask_v1.0.cdxml"
Some system info:
(base) jakemalis@MacBookPro ~ % /Volumes/Macintosh\ HD/usr/sbin/system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 15.5 (24F74)
Kernel Version: Darwin 24.5.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: Jake’s MacBook Pro
User Name: Jake Malis (jakemalis)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 2 days, 7 hours, 41 minutes
(base) jakemalis@MacBookPro ~ % /Volumes/Macintosh\ HD/usr/sbin/system_profiler SPHardwareDataType
Hardware:
Hardware Overview:
Model Name: MacBook Pro
Model Identifier: MacBookPro18,1
Model Number: MK183LL/A
Chip: Apple M1 Pro
Total Number of Cores: 10 (8 performance and 2 efficiency)
Memory: 16 GB
System Firmware Version: 11881.121.1
OS Loader Version: 11881.121.1
Looks like we are hitting this issue when dealing with image variants that are build to run on non Linux environments. In such cases we should just skip processing these variants as they are unsupported.
The default behavior for container images pull is to pull listed variants (platforms) for a given container image - which is causing the error you are seeing.
As a workaround you could also do
container images pull --platform linux/arm64 python
We will work on a fix for this. Thanks!
Thanks for the info, this worked like a charm!