Dockerfile COPY cannot find the file
COPY failed: file not found in build context or excluded by .dockerignore: stat <Filename>: file does not exist
因为本例中的构建上下文位于 ‘~/test/docker/’ 内,所以 docker build 命令无法访问此路径之外的任何文件,它只知道 ~/test/docker/* 中的文件。
[Docker failed to resolve source metadata for docker.io/library](https://www.notion.so/Docker-failed-to-resolve-source-metadata-for-docker-io-library-2953459e7dca8024ba18d1ba93b4ed4f)