-
Notifications
You must be signed in to change notification settings - Fork 12
Exercises lesson3 César #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
a73f853
60eaccb
b2ee532
1329bfd
32f621e
bc5ee43
2f9e2e5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,14 @@ | ||
|
|
||
| - 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: **naughty_faraday** | ||
| - Container ID: **4a5567f999e8ed59f8d38559d1e1f3a937181dcf89253645cd4292144663c561** | ||
| - Exposed port: **{"5432/tcp":{}}** | ||
| - Postgres version: **15.0-1.pgdg110+1** | ||
| - Data Volume (aka PGDATA): **PGDATA=/var/lib/postgresql/data** | ||
| - default entrypoint: **docker-entrypoint.sh** | ||
| - default command: **"/bin/sh", | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. é suficiente con |
||
| "-c", | ||
| "#(nop) ", | ||
| "CMD [\"postgres\"]"** | ||
| - baseline consumption : CPU **0.03**% MEM **30.9**MB | ||
| - OS: Distro Version Codename (Ubuntu 22.04 jammy) | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. necesitas entrar no contedor |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,7 @@ | ||
| docker pull | ||
| docker pull postgres:latest | ||
| docker run -d -e POSTGRES_PASSWORD=abc123. postgres:latest | ||
| docker image ls postgres:latest | ||
| docker ps -a | ||
| docker inspect --format="{{json .Config.ExposedPorts }}" postgres:latest | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. moi ben o experimento co formato |
||
| docker inspect --format="{{json .Config.Env }}" postgres:latest | ||
| docker stats naughty_faraday | ||
| 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.21.1-perl** **9f499607fd42** **14 months ago** **179MB** | ||
| nginx **1.21.1** **822b7ec2aaf2** **14 months ago** **133MB** | ||
| nginx **1.21.1-alpine-perl** **acb9302c18eb** **14 months ago** **57.5MB** | ||
| nginx **1.21.1-alpine** **1318bf5f63b4** **14 months ago** **22.8MB** |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,5 @@ | ||
| docker pull | ||
| docker pull nginx:1.21.1-perl | ||
| docker pull nginx:1.21.1 | ||
| docker pull nginx:1.21.1-alpine-perl | ||
| docker pull nginx:1.21.1-alpine | ||
| docker image ls nginx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
podías ter nomeado o contedor