failed to solve with frontend dockerfile.v0
问题描述
didi@didis-MacBook-Pro ipmi_exporter % docker build -t ipmi_exporter:0.1 .
[+] Building 0.1s (1/2)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 2B 0.0s
failed to solve with frontend dockerfile.v0: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount2807851941/Dockerfile: no such file or directory
解决办法
把Docker Desktop的设置Docker Engine中的 buildkit 设置为false