I have written a Dockerfile which looks like this
FROM ubuntu:12.04 RUN apt-get update RUN apt-get install -y wget
Now I\'m having a file
I got the following error using Docker 19.03.8 on CentOS 7:
COPY failed: stat /var/lib/docker/tmp/docker-builderXXXXXXX/abc.txt: no such file or directory
The solution for me was to build from Docker file with docker build . instead of docker build - < Dockerfile.
docker build .
docker build - < Dockerfile