-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker_commands
34 lines (31 loc) · 2.3 KB
/
docker_commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
## Docker commands used to build the application
# docker build -t techtrends:techtrends ./techtrends
## Docker commands used to run the application
# docker run -d -p 7111:3111 techtrends
## Docker commands used to get the application logs
# docker logs bb5ba16f1269
## Logs from the container running the TechTrends application
* Serving Flask app 'app' (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
2022-07-31 12:08:32,753 WARNING * Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
2022-07-31 12:08:32,754 INFO * Running on http://172.17.0.2:3111/ (Press CTRL+C to quit)
2022-07-31 12:08:44,790 INFO 172.17.0.1 - - [31/Jul/2022 12:08:44] "GET / HTTP/1.1" 200 -
2022-07-31 12:08:44,988 INFO 172.17.0.1 - - [31/Jul/2022 12:08:44] "GET /static/css/main.css HTTP/1.1" 200 -
2022-07-31 12:08:45,186 INFO 172.17.0.1 - - [31/Jul/2022 12:08:45] "GET /favicon.ico HTTP/1.1" 404 -
2022-07-31 12:10:01,530 INFO 172.17.0.1 - - [31/Jul/2022 12:10:01] "GET /create HTTP/1.1" 200 -
2022-07-31 12:10:01,602 INFO 172.17.0.1 - - [31/Jul/2022 12:10:01] "GET /static/css/main.css HTTP/1.1" 304 -
2022-07-31 12:10:12,871 INFO A new article : New Post is created
2022-07-31 12:10:12,872 INFO 172.17.0.1 - - [31/Jul/2022 12:10:12] "POST /create HTTP/1.1" 302 -
2022-07-31 12:10:12,917 INFO 172.17.0.1 - - [31/Jul/2022 12:10:12] "GET / HTTP/1.1" 200 -
2022-07-31 12:10:13,020 INFO 172.17.0.1 - - [31/Jul/2022 12:10:13] "GET /static/css/main.css HTTP/1.1" 304 -
2022-07-31 12:13:24,184 INFO An article retrieved is : 2020 CNCF Annual Report
2022-07-31 12:13:24,192 INFO 172.17.0.1 - - [31/Jul/2022 12:13:24] "GET /1 HTTP/1.1" 200 -
2022-07-31 12:13:24,350 INFO 172.17.0.1 - - [31/Jul/2022 12:13:24] "GET /static/css/main.css HTTP/1.1" 304 -
2022-07-31 12:13:27,659 INFO An article retrieved is : New Post
2022-07-31 12:13:27,660 INFO 172.17.0.1 - - [31/Jul/2022 12:13:27] "GET /7 HTTP/1.1" 200 -
2022-07-31 12:13:27,726 INFO 172.17.0.1 - - [31/Jul/2022 12:13:27] "GET /static/css/main.css HTTP/1.1" 304 -
2022-07-31 12:13:34,583 INFO 172.17.0.1 - - [31/Jul/2022 12:13:34] "GET /metrics HTTP/1.1" 200 -