I\'m running a ruby on rails application in docker container. I want to create and then restore the database dump in postgres container. But I\'m
Below is what I\'ve do
I got it working by adding a container_name for db container. My db container have different name (app_name_db_1) and I was connecting to a container named db.
container_name
db
app_name_db_1
After giving the hard-coded container_name (db), it gets working.