-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdocker_commands
39 lines (36 loc) · 2.36 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
## Docker commands used to build the application
docker build -t techtrends -f ./Dockerfile .
## Docker commands used to run the application
docker run -d -p 7111:3111 techtrends
## Docker commands used to get the application logs
docker logs 1191c5ad20d5
## 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
INFO:werkzeug: * Running on http://0.0.0.0:3111/ (Press CTRL+C to quit)
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:10:06] "GET / HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:10:06] "GET /static/css/main.css HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:10:07] "GET /favicon.ico HTTP/1.1" 404 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:14:50] "GET / HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:14:50] "GET /static/css/main.css HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:14:50] "GET /favicon.ico HTTP/1.1" 404 -
INFO:app:02/09/2021, 10:16:04 | Article "KubeCon + CloudNativeCon 2021" retrieved!
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:04] "GET /2 HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:07] "GET / HTTP/1.1" 200 -
INFO:app:02/09/2021, 10:16:09 | Article "CNCF Cloud Native Interactive Landscape" retrieved!
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:09] "GET /4 HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:11] "GET / HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:16] "GET /create HTTP/1.1" 200 -
INFO:app:02/09/2021, 10:16:50 | Article "Sample New Post" created!
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:50] "POST /create HTTP/1.1" 302 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:50] "GET / HTTP/1.1" 200 -
INFO:app:02/09/2021, 10:16:56 | Article "Sample New Post" retrieved!
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:56] "GET /7 HTTP/1.1" 200 -
INFO:app:02/09/2021, 10:16:58 | About page rendered!
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:16:58] "GET /about HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:17:01] "GET / HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:19:20] "GET /metrics HTTP/1.1" 200 -
INFO:werkzeug:172.17.0.1 - - [09/Feb/2021 10:19:35] "GET /healthz HTTP/1.1" 200 -