This morning I was getting this error when executing docker-compose up
:
docker-compose up
ERROR: readlink /var/lib/docker/overlay2: invalid argument
The problem was that one or more image where corrupted.
I had to start running my images one by one with:
docker-compose up <service 1> <service 2>...
until I found the broken one, which was the backoffice
image.
Then I rebuilt that image with:
docker-compose build --no-cache <broken service>
and finally everything started working nicely again.