I was trying to install Forest Admin and it required
Since I didn’t have it, I installed it:
sudo apt install docker-compose
But when I tried to run it, I got an error:
docker-compose up ERROR: Couldn't connect to Docker daemon at http+docker://localhost - is it running? If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
I tried several things and one recommended restarting docker:
sudo systemctl restart docker Failed to restart docker.service: Unit docker.service is masked.
So I unmasked it and rebuilt, but then I couldn’t access the app
sudo systemctl unmask docker Removed /etc/systemd/system/docker.service. sudo systemctl restart docker # no error
I’ve been able to rebuild the image and it finishes without errors:
sudo /var/discourse/launcher rebuild app
But when I go to the URL, it’s not accessible.
Out of desperation, I also tried updating docker and rebuilding the image several times, but no luck:
wget -qO- https://get.docker.com/ | sh sudo /var/discourse/launcher rebuild app
I’m out of ideas. Is there anything else I should try?