macOS Version - sw_vers
ProductName: macOS
ProductVersion: 12.2.1
BuildVersion: 21D62
ProductName: macOS
ProductVersion: 12.2.1
BuildVersion: 21D62
macOS detail Version - system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 12.2.1 (21D62)
Kernel Version: Darwin 21.3.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: ooo的MacBook Pro
User Name: ooo (Nobody)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 1 day 13:57
Software:
System Software Overview:
System Version: macOS 12.2.1 (21D62)
Kernel Version: Darwin 21.3.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: ooo的MacBook Pro
User Name: ooo (Nobody)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 1 day 13:57
Issue: qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
Just need to add --platform=linux/amd64
into Dockerfile
From --platform=linux/amd64 ubuntu:20.04