I am new to docker, trying to run docker image locally according to instruction here
I pull the image by docker pull puckel/docker-airflow
, then prepare the .yml
file and run docker-compose up -d
but keep showing the error:
Error response from daemon: readlink /var/lib/docker/overlay2/: invalid argument
Not sure which part is missing here.
3
Answers
Maybe there are some corrupted images, try to remove all cache and containers and pull them again.
Check your .env file. There will be some invalid syntax.
My problem the
.env
file.I found that in my .env file I had written some variable names, but did not assign any values. Example of my .env file
VAR3 would then be the problem, it should have been at least
Remark the
=
sign atVAR3
.