-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker_commands
32 lines (28 loc) · 1.76 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
## Docker commands used to build the application
# TODO: insert the docker build command
docker build -t tech -f ./Dockerfile .
## Docker commands used to run the application
# TODO: insert the docker run command
docker run -d -p 7111:3111 tech
## Docker commands used to get the application logs
# TODO: insert the docker logs command
docker logs tech
## Logs from the container running the TechTrends application
# TODO: paste logs from the Docker container
2023-07-10 21:16:55 * Serving Flask app 'app' (lazy loading)
2023-07-10 21:16:55 * Environment: production
2023-07-10 21:16:55 WARNING: This is a development server. Do not use it in a production deployment.
2023-07-10 21:16:55 Use a production WSGI server instead.
2023-07-10 21:16:55 * Debug mode: off
2023-07-10 21:16:55 * Running on all addresses.
2023-07-10 21:16:55 WARNING: This is a development server. Do not use it in a production deployment.
2023-07-10 21:16:55 * Running on http://172.17.0.2:3111/ (Press CTRL+C to quit)
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "GET / HTTP/1.1" 200 -
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "GET /static/css/main.css HTTP/1.1" 200 -
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "GET /favicon.ico HTTP/1.1" 404 -
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "POST /create HTTP/1.1" 302 -
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "POST /create HTTP/1.1" 302 -
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "GET / HTTP/1.1" 200 -
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "GET /about HTTP/1.1" 200 -
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "GET /healthz HTTP/1.1" 200 -
2023-07-10 21:19:24 172.17.0.1 - - [11/Jul/2023 01:19:24] "GET /metrics HTTP/1.1" 200 -