解决m1mac docker-compose报错
如下报错:qemu-x86_64: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
可在docker-compose添加如下配置
platform: linux/amd64
比如下面这样:
services:
web:
platform: linux/amd64
build: web
ports:
- 80:80