How do I debug docker installation issues

I just ran:

    cd /var/discourse
    git pull
    ./launcher rebuild app

And am getting:

Your Docker installation is not working correctly

What do I do?

First things first … scroll up.

The error will usually contain multiple lines, the last line just points you here, previous lines point at the actual issue.

Second thing … can you run a trivial container… try.

docker run -it --rm hello-world

If this is not working, your docker installation is broken.

First start by googling the error you found, remember there is a very active community at that may either have had this issue or can help you out.

Maybe you are out of disk space?


./launcher cleanup

Very often the problem is solved by the team

sudo systemctl restart docker.service