Error: Postgres database import in docker container

后端 未结 4 680
情书的邮戳
情书的邮戳 2021-02-08 02:07

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

4条回答
  •  感情败类
    2021-02-08 02:22

    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.

    After giving the hard-coded container_name (db), it gets working.

提交回复
热议问题