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

posted @ 2023-04-10 11:34  ishmaelwanglin  阅读(275)  评论(0编辑  收藏  举报