Reputation: 289
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.
Upvotes: 6
Views: 9787
Reputation: 295
For me it has been same as @Jakob suggested. I have defined the env variable but hasn't provided any value.
Before:
S3_BUCKET
After:
S3_BUCKET=''
After above change, it worked for me.
Upvotes: 0
Reputation: 972
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
# The wrong .env file content
VAR1=A
VAR2=B
VAR3
VAR3 would then be the problem, it should have been at least
# The correct .env file
VAR1=A
VAR2=B
VAR3=
Remark the =
sign at VAR3
.
Upvotes: 6
Reputation: 4408
Maybe there are some corrupted images, try to remove all cache and containers and pull them again.
docker system prune --all
docker volume prune
docker-compose -f docker-compose-LocalExecutor.yml up -d
Upvotes: 3