I'm trying to build an environment with docker and rails, but it doesn't work.

Asked 2 years ago, Updated 2 years ago, 400 views

 PG:: ConnectionBad: could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket

I get an error.
Here is the site I used as a reference.

Create Ruby on Rails Development Environment with Docker - Qiita

As shown in this image, you can't go to the yay!youre on rails screen.
What should I do?

Uninstalling docker and re-inserting it did not work.

ruby-on-rails docker docker-compose

2022-09-30 21:53

1 Answers

Too polite Docker-compose rails5 + MySQL on Docker environment (Docker for Mac) - Qiita

It was done by referring to the above article.
It seems that the PostgreSQL used here and MySQL that I was going to use were probably bumped into each other.


2022-09-30 21:53

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.