Hello, I tried installing forem using Docker on ubuntu 18.04 on a Digital Ocean droplet.
It hasn't worked yet:
Here are the logs
rails_1 ...
For further actions, you may consider blocking this person and/or reporting abuse
In your
/etc/hosts
file please add a new line that points out your localhost (127.0.0.1) to rails.How would I go about doing that?
sudo nano /etc/hosts
It will open a file. add this line to it;
127.0.0.1 rails
Doesn't seem to fix the issue. I did exactly as you said.
Hey, as you said you are using digital ocean droplet, I can suggest you something, if you are willing to spare some time and energy.
Just purge your instance, create another one and follow this guide. I myself wrote it, and I always use this myself to host a development instance.
Hi @sidchaudhary04 , those
server misbehaving
lines in the log are something new to me, have you tried implementing this fix?For those who have this problem, it is typically related to having an issue with your DNS being unable to resolve
index.docker.io
. I had this issue today working from home where my internet connection has a default DNS server that is notoriously flakey.My dev environment is OSX and…
Hey. Is it not working or just taking a very long time? I know from other who have used Docker that is can take a very long time to get up and running the first time.
I waited 1 hour and 30 minutes, and it said said "timed out waiting for rails:3000 to become available"
Ok thanks for following up. I am asking some of the engineers on the team if they can jump in on this conversation and help out 😃
I tried again with Podman, same issue.
After you do this:
sudo nano /etc/hosts
It will open a file. add this line to it; 127.0.0.1 rails
run
Then run again the compose and wait for it. You will get the same error for a while, but it should work eventually.
Have you managed how to solve the issue?