skip to Main Content

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.

enter image description here

3

Answers


  1. 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
    
    Login or Signup to reply.
  2. Check your .env file. There will be some invalid syntax.

    Login or Signup to reply.
  3. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search