Troubleshoot docker installation issues

I just ran:

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

And am getting:

Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam

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 https://forums.docker.com/ that may either have had this issue or can help you out.

Maybe you are out of disk space?

Try

./launcher cleanup

Very often the problem is solved by restarting the docker service

sudo systemctl restart docker.service
9 Likes