Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions lesson_3/ex1_solution.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

- Image Size:
- Container Name:
- Container ID:
- Exposed port:
- Postgres version:
- Data Volume (aka PGDATA):
- default entrypoint:
- default command:
- baseline consumption : CPU ___% MEM ___MB
- Image Size: 377MB
- Container Name: some-postgres
- Container ID: 021d486917aa
- Exposed port: 5432/tcp
- Postgres version: 15.0-1.pgdg110+1
- Data Volume (aka PGDATA): /var/lib/postgresql/data
- default entrypoint: docker-entrypoint.sh
- default command: postgres
- baseline consumption : CPU 0.00% MEM 31.37MiB
- OS: Distro Version Codename (Ubuntu 22.04 jammy)
6 changes: 5 additions & 1 deletion lesson_3/ex1_solution.sh
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
docker pull
docker run --name some-postgres -e POSTGRES_PASSWORD=mysecretpassword -d postgres
docker ps -h
docker inspect postgress
docker images postgres
docker stats some-postgress
7 changes: 5 additions & 2 deletions lesson_3/ex2_solution.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx
REPOSITORY TAG IMAGE ID CREATED SIZE
nginx 1.22.1-perl df1998569adb 10 days ago 188MB
nginx 1.22.1 0ccb2559380c 10 days ago 142MB
nginx 1.22.1-alpine-perl 98f7c1f8a3fa 2 weeks ago 58.6MB
nginx 1.22.1-alpine ec84f916d1ec 2 weeks ago 23.6MB
5 changes: 4 additions & 1 deletion lesson_3/ex2_solution.sh
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
docker pull
docker pull nginx:1.22.1-perl
docker pull nginx:1.22.1-alpine-perl
docker pull nginx:1.22.1-alpine
docker pull nginx:1.22.1