-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker_commands
71 lines (68 loc) · 5.82 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
## Docker commands used to build the application
docker build -t nashblade/techtrends .
## Docker commands used to run the application
docker run -d -p 7111:3111 nashblade/techtrends
## Docker commands used to get the application logs
docker logs e709
## 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
2021-08-01 23:04:05,795 -- _log -- * Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
2021-08-01 23:04:05,795 -- _log -- * Running on all addresses.
WARNING: This is a development server. Do not use it in a production deployment.
2021-08-01 23:04:05,796 -- _log -- * Running on http://172.17.0.2:3111/ (Press CTRL+C to quit)
2021-08-01 23:04:05,796 -- _log -- * Running on http://172.17.0.2:3111/ (Press CTRL+C to quit)
2021-08-01 23:04:20,405 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:04:20,405 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:04:20,439 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:04:20] "GET / HTTP/1.1" 200 -
2021-08-01 23:04:20,439 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:04:20] "GET / HTTP/1.1" 200 -
2021-08-01 23:04:20,502 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:04:20] "GET /static/css/main.css HTTP/1.1" 200 -
2021-08-01 23:04:20,502 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:04:20] "GET /static/css/main.css HTTP/1.1" 200 -
2021-08-01 23:07:16,484 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:07:16,484 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:07:16,485 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:07:16] "GET / HTTP/1.1" 200 -
2021-08-01 23:07:16,485 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:07:16] "GET / HTTP/1.1" 200 -
2021-08-01 23:07:16,561 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:07:16] "GET /static/css/main.css HTTP/1.1" 200 -
2021-08-01 23:07:16,561 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:07:16] "GET /static/css/main.css HTTP/1.1" 200 -
2021-08-01 23:07:16,709 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:07:16] "GET /favicon.ico HTTP/1.1" 404 -
2021-08-01 23:07:16,709 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:07:16] "GET /favicon.ico HTTP/1.1" 404 -
2021-08-01 23:23:22,526 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:23:22] "GET /create HTTP/1.1" 200 -
2021-08-01 23:23:22,526 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:23:22] "GET /create HTTP/1.1" 200 -
2021-08-01 23:23:22,597 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:23:22] "GET /static/css/main.css HTTP/1.1" 304 -
2021-08-01 23:23:22,597 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:23:22] "GET /static/css/main.css HTTP/1.1" 304 -
2021-08-01 23:25:35,651 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:25:35,651 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:25:35,658 -- create -- New page created, with Title "Kubernetes 1.21 Released"
2021-08-01 23:25:35,658 -- create -- New page created, with Title "Kubernetes 1.21 Released"
2021-08-01 23:25:35,659 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:25:35] "POST /create HTTP/1.1" 302 -
2021-08-01 23:25:35,659 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:25:35] "POST /create HTTP/1.1" 302 -
2021-08-01 23:25:35,680 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:25:35,680 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:25:35,682 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:25:35] "GET / HTTP/1.1" 200 -
2021-08-01 23:25:35,682 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:25:35] "GET / HTTP/1.1" 200 -
2021-08-01 23:25:35,735 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:25:35] "GET /static/css/main.css HTTP/1.1" 304 -
2021-08-01 23:25:35,735 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:25:35] "GET /static/css/main.css HTTP/1.1" 304 -
2021-08-01 23:28:04,144 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:28:04,144 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:28:04,145 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:04] "GET /metrics HTTP/1.1" 200 -
2021-08-01 23:28:04,145 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:04] "GET /metrics HTTP/1.1" 200 -
2021-08-01 23:28:33,974 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:28:33,974 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:28:33,975 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:33] "GET /healthz HTTP/1.1" 200 -
2021-08-01 23:28:33,975 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:33] "GET /healthz HTTP/1.1" 200 -
2021-08-01 23:28:47,405 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:28:47,405 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:28:47,408 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:47] "GET / HTTP/1.1" 200 -
2021-08-01 23:28:47,408 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:47] "GET / HTTP/1.1" 200 -
2021-08-01 23:28:51,274 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:28:51,274 -- get_db_connection -- Connecting to database file ./database.db
2021-08-01 23:28:51,275 -- post -- Article "Kubernetes 1.21 Released" page retrieved.
2021-08-01 23:28:51,275 -- post -- Article "Kubernetes 1.21 Released" page retrieved.
2021-08-01 23:28:51,280 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:51] "GET /7 HTTP/1.1" 200 -
2021-08-01 23:28:51,280 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:51] "GET /7 HTTP/1.1" 200 -
2021-08-01 23:28:51,337 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:51] "GET /static/css/main.css HTTP/1.1" 304 -
2021-08-01 23:28:51,337 -- _log -- 172.17.0.1 - - [01/Aug/2021 23:28:51] "GET /static/css/main.css HTTP/1.1" 304 -