質問編集履歴
1
ご回答いただいたコマンドを実行した結果を追記しました。文字数が10000文字を超えてしまったのでlogの一部だけを残して表示をしております。
title
CHANGED
File without changes
|
body
CHANGED
@@ -43,6 +43,7 @@
|
|
43
43
|
|
44
44
|
|
45
45
|
|
46
|
+
|
46
47
|
### 試したこと
|
47
48
|
試したことはコンテナが停止状態の可能性があるためコンテナの一覧を表示させました
|
48
49
|
```
|
@@ -62,4 +63,65 @@
|
|
62
63
|
なぜ一度閉じただけでなくなってしまったのでしょうか...
|
63
64
|
そしてなぜコンテナの一覧の中にあるのにstartをしても起動しないのでしょうか...全く理由がわかりません...
|
64
65
|
|
65
|
-
もしこの状況を理解できる方がいらっしゃいましたらぜひ教えてください!
|
66
|
+
もしこの状況を理解できる方がいらっしゃいましたらぜひ教えてください!
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
# 以下追記になります
|
72
|
+
ご指摘にありましたように下記のコマンドを実行しました
|
73
|
+
```
|
74
|
+
docker logs [コンテナ名]
|
75
|
+
|
76
|
+
```
|
77
|
+
|
78
|
+
個人的に原因を見つけることができないか探しましたが何もわかりませんでした...
|
79
|
+
|
80
|
+
```
|
81
|
+
* Min threads: 5, max threads: 5
|
82
|
+
* Environment: development
|
83
|
+
* Listening on tcp://0.0.0.0:3000
|
84
|
+
Use Ctrl-C to stop
|
85
|
+
Started GET "/" for 172.22.0.1 at 2020-08-08 13:02:13 +0000
|
86
|
+
Cannot render console from 172.22.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
|
87
|
+
Processing by Rails::WelcomeController#index as HTML
|
88
|
+
Rendering /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/templates/rails/welcome/index.html.erb
|
89
|
+
Rendered /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/templates/rails/welcome/index.html.erb (3.8ms)
|
90
|
+
Completed 200 OK in 22ms (Views: 10.5ms | ActiveRecord: 0.0ms)
|
91
|
+
|
92
|
+
|
93
|
+
- Gracefully stopping, waiting for requests to finish
|
94
|
+
=== puma shutdown: 2020-08-08 13:02:32 +0000 ===
|
95
|
+
- Goodbye!
|
96
|
+
Exiting
|
97
|
+
=> Booting Puma
|
98
|
+
=> Rails 5.2.4.2 application starting in development
|
99
|
+
=> Run `rails server -h` for more startup options
|
100
|
+
Puma starting in single mode...
|
101
|
+
* Version 3.12.4 (ruby 2.5.8-p224), codename: Llamas in Pajamas
|
102
|
+
* Min threads: 5, max threads: 5
|
103
|
+
* Environment: development
|
104
|
+
* Listening on tcp://0.0.0.0:3000
|
105
|
+
Use Ctrl-C to stop
|
106
|
+
Started GET "/" for 172.22.0.1 at 2020-08-08 13:03:43 +0000
|
107
|
+
Cannot render console from 172.22.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
|
108
|
+
Processing by Rails::WelcomeController#index as HTML
|
109
|
+
Rendering /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/templates/rails/welcome/index.html.erb
|
110
|
+
Rendered /usr/local/bundle/gems/railties-5.2.4.2/lib/rails/templates/rails/welcome/index.html.erb (2.2ms)
|
111
|
+
Completed 200 OK in 12ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
112
|
+
|
113
|
+
|
114
|
+
Started GET "/" for 172.22.0.1 at 2020-08-08 13:14:31 +0000
|
115
|
+
Cannot render console from 172.22.0.1! Allowed networks: 127.0.0.1, ::1, 127.0.0.0/127.255.255.255
|
116
|
+
|
117
|
+
ActiveRecord::PendingMigrationError (
|
118
|
+
|
119
|
+
Migrations are pending. To resolve this issue, run:
|
120
|
+
|
121
|
+
bin/rails db:migrate RAILS_ENV=development
|
122
|
+
|
123
|
+
):
|
124
|
+
|
125
|
+
[省略]
|
126
|
+
|
127
|
+
```
|