Forem Creators and Builders 🌱

Discussion on: Development: Installing Forem using Docker on Ubuntu

Collapse
 
udoyhasanorko profile image
MD UDOY HASAN • Edited

A very nice post.
I've follow you all instruction in this post to install forem. But I'm getting an error. Can you give me an way to fix this error? The error is when I type bin/container-setup I'm getting this error:

Starting the Forem container stack...
The vendor/bundle directory is empty or does not exist.
This will cause bundle install to run which takes a long time with docker.
Depending on your hardware specs, the initial setup can take
30 to 45 minutes. Please stand by...
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.
Enter fullscreen mode Exit fullscreen mode
Collapse
 
akhil profile image
Akhil Naidu

use these commands in order.

sudo groupadd docker
sudo usermod -aG docker $USER

logout and login if PC or if it is a VM restart your VM or VPS

newgrp docker
sudo systemctl enable docker
sudo service docker restart
run this command to verify your docker: docker run hello-world