-r ‘.[].NetworkSettings.IPAddress’ 172.17.0.2 ىಈͨ͠PostgreSQLίϯςφͷIPΞυϨεΛऔಘ $ docker run --rm -e RAILS_ENV=production -e DATABASE_URL=postgresql://user:
[email protected] \ rails-sample-guestbook rake db:create db:migrate Created database 'rails_sample_production' == 20170109141637 CreateGuestbooks: migrating ================================= -- create_table(:guestbooks) -> 0.0337s == 20170109141637 CreateGuestbooks: migrated (0.0338s) ======================== ίϯςφ͔ΒrakeίϚϯυΛ࣮ߦͯ͠DBΛηοτΞοϓ