阅读背景:

具有初始数据的docker postgres不会持久保留

来源:互联网 

I created a rails app in a docker environment and it links to a postgres instance. I edited the postgres container to add initial data (by running rake db:setup from the rails app). Now I commited the postgres database, but it doesn't seem to remember my data when I create a new container (of the commited postgres image).I created a rails app in a docker environment a




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: