Mac系统 dockerfile 报错 COPY failed: stat /var/lib/docker/tmp/docker-builderxxx
报错:Step 3/4 : COPY ~/nginx-1.12.2.tar.gz /usr/local/srcCOPY failed: stat /var/lib/docker/tmp/docker-builder709371526/~/nginx-1.12.2.tar.gz: no such file or directory解决办法:把 nginx-1.12.2.tar.gz 拷贝到 Dockerfile 目录下,然后命令修改一下原命令:COPY ~/nginx-1.12.2.tar.gz
原创
2021-01-03 13:23:20 ·
3270 阅读 ·
0 评论