Skip to content

Comments

Exercises lesson3 César#7

Open
cesarsantiagonunez wants to merge 7 commits intohectorcanto:mainfrom
cesarsantiagonunez:exercises_lesson3
Open

Exercises lesson3 César#7
cesarsantiagonunez wants to merge 7 commits intohectorcanto:mainfrom
cesarsantiagonunez:exercises_lesson3

Conversation

@cesarsantiagonunez
Copy link

No description provided.

execise 1 data
exercise 1 commands
nginx first image
nginx first image command
other images information
Copy link
Owner

@hectorcanto hectorcanto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ben feito, faltouche só o OS

- default command:
- baseline consumption : CPU ___% MEM ___MB
- Image Size: **377MB**
- Container Name: **naughty_faraday**
Copy link
Owner

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

- 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",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

é suficiente con postgres, pero ben

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
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moi ben o experimento co formato

"#(nop) ",
"CMD [\"postgres\"]"**
- baseline consumption : CPU **0.03**% MEM **30.9**MB
- OS: Distro Version Codename (Ubuntu 22.04 jammy)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

necesitas entrar no contedor
docker exec -it naughty_faraday /bin/bash
more /etc/issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants