While trying to update our discourse forum I bumped on this problem:
When running these command lines:
mlapeyre@poppy-project discourse]$ cd /var/discourse
[mlapeyre@poppy-project discourse]$ git pull
error: cannot open .git/FETCH_HEAD: Permission denied
[mlapeyre@poppy-project discourse]$ sudo git pull
Already up-to-date.
[mlapeyre@poppy-project discourse]$ sudo ./launcher rebuild app
which: no docker.io in (/usr/bin:/bin:/usr/sbin:/sbin)
WARNING: We are about to start downloading the Discourse base image
This process may take anywhere between a few minutes to an hour, depending on your network speed
Please be patient
Unable to find image 'discourse/discourse:1.0.15' locally
Pulling repository discourse/discourse
Get https://index.docker.io/v1/repositories/discourse/discourse/images: x509: failed to load system roots and no roots provided
Your Docker installation is not working correctly
See: https://meta.discourse.org/t/docker-error-on-bootstrap/13657/18?u=sam
[mlapeyre@poppy-project discourse]$
Any idea what could solve the problem ?