質問編集履歴

1

ご回答いただいたコマンドを実行した結果を追記しました。文字数が10000文字を超えてしまったのでlogの一部だけを残して表示をしております。

2020/08/10 16:49

投稿

_chii
_chii

スコア50

test CHANGED
File without changes
test CHANGED
@@ -88,6 +88,8 @@
88
88
 
89
89
 
90
90
 
91
+
92
+
91
93
  ### 試したこと
92
94
 
93
95
  試したことはコンテナが停止状態の可能性があるためコンテナの一覧を表示させました
@@ -127,3 +129,125 @@
127
129
 
128
130
 
129
131
  もしこの状況を理解できる方がいらっしゃいましたらぜひ教えてください!
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+
141
+ # 以下追記になります
142
+
143
+ ご指摘にありましたように下記のコマンドを実行しました
144
+
145
+ ```
146
+
147
+ docker logs [コンテナ名]
148
+
149
+
150
+
151
+ ```
152
+
153
+
154
+
155
+ 個人的に原因を見つけることができないか探しましたが何もわかりませんでした...
156
+
157
+
158
+
159
+ ```
160
+
161
+ * Min threads: 5, max threads: 5
162
+
163
+ * Environment: development
164
+
165
+ * Listening on tcp://0.0.0.0:3000
166
+
167
+ Use Ctrl-C to stop
168
+
169
+ Started GET "/" for 172.22.0.1 at 2020-08-08 13:02:13 +0000
170
+
171
+ Cannot render console from 172.22.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
172
+
173
+ Processing by Rails::WelcomeController#index as HTML
174
+
175
+ Rendering /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/templates/rails/welcome/index.html.erb
176
+
177
+ Rendered /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/templates/rails/welcome/index.html.erb (3.8ms)
178
+
179
+ Completed 200 OK in 22ms (Views: 10.5ms | ActiveRecord: 0.0ms)
180
+
181
+
182
+
183
+
184
+
185
+ - Gracefully stopping, waiting for requests to finish
186
+
187
+ === puma shutdown: 2020-08-08 13:02:32 +0000 ===
188
+
189
+ - Goodbye!
190
+
191
+ Exiting
192
+
193
+ => Booting Puma
194
+
195
+ => Rails 5.2.4.2 application starting in development
196
+
197
+ => Run `rails server -h` for more startup options
198
+
199
+ Puma starting in single mode...
200
+
201
+ * Version 3.12.4 (ruby 2.5.8-p224), codename: Llamas in Pajamas
202
+
203
+ * Min threads: 5, max threads: 5
204
+
205
+ * Environment: development
206
+
207
+ * Listening on tcp://0.0.0.0:3000
208
+
209
+ Use Ctrl-C to stop
210
+
211
+ Started GET "/" for 172.22.0.1 at 2020-08-08 13:03:43 +0000
212
+
213
+ Cannot render console from 172.22.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
214
+
215
+ Processing by Rails::WelcomeController#index as HTML
216
+
217
+ Rendering /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/templates/rails/welcome/index.html.erb
218
+
219
+ Rendered /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
220
+
221
+ Completed 200 OK in 12ms (Views: 6.2ms | ActiveRecord: 0.0ms)
222
+
223
+
224
+
225
+
226
+
227
+ Started GET "/" for 172.22.0.1 at 2020-08-08 13:14:31 +0000
228
+
229
+ Cannot render console from 172.22.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
230
+
231
+
232
+
233
+ ActiveRecord::PendingMigrationError (
234
+
235
+
236
+
237
+ Migrations are pending. To resolve this issue, run:
238
+
239
+
240
+
241
+ bin/rails db:migrate RAILS_ENV=development
242
+
243
+
244
+
245
+ ):
246
+
247
+
248
+
249
+ [省略]
250
+
251
+
252
+
253
+ ```