Hi all,
I have reproduce a problem that one of my team mates had some time ago. He received an error when building an image from one of my Dockerfiles… We can’t see anything wrong, but he can’t create that image, he always receive a file not found on aufs filesystem when copying one of the files required for that image… It was an X-Files error… but today (after a couple of months) I have the same error when building “dockercoins” example (preparing a class)…
dockercoins/worker$ docker build -t worker .
Sending build context to Docker daemon 4.608 kB
Step 1 : FROM python:alpine
—> 2ed4f02ea8d4
Step 2 : RUN pip install redis
—> Using cache
—> 782aee514fd5
Step 3 : RUN pip install requests
—> Using cache
—> c8682b3afce9
Step 4 : COPY worker.py /
open /var/lib/docker/aufs/layers/3f4d3ecffd4770e9b4ec8df1732483a32993368893e33f19efd5c816bca87570: no such file or directory
Of course I can build image in any other system … Server has disk space and I can’t find any error in any log …
Dockerfile is quite simple…
FROM python:alpine
RUN pip install redis
RUN pip install requests
COPY worker.py /
CMD [“python”, “worker.py”]
Even if I change “COPY worker.py /” to a specific file in root … “COPY worker.py /worker.py”, I get same error…
But if I change destination dir, it works… I have checked container’s root file-system permissions but they are right… and it builds in any other system I have tried… and of course… same docker version in all tries…
Debugging info …
DEBU[0010] Calling POST /v1.24/build?buildargs=%7B%7D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&labels=%7B%7D&memory=0&memswap=0&rm=1&shmsize=0&t=worker&ulimits=null
DEBU[0010] [BUILDER] Use cached version: [/bin/sh -c pip install redis]
DEBU[0010] [BUILDER] Use cached version: [/bin/sh -c pip install requests]
DEBU[0010] [BUILDER] Cache miss: [/bin/sh -c #(nop) COPY file:3c29379b0d985e7631a478453e0f831599595e5827f96a558599cb6609eaa9c7 in / ]
Many Thanks In Advance and Regards,
Javier R.