Redes En Contenedores Flashcards

1
Q

Cómo se envia al host (forward) un puerto de un contenedor

A

sudo podman run -d –name apache1 -p 8080:80 rhscl/httpd-24-rhel7:2.4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Qué ocurre si no se asigna un puerto del host

A

Podman asigna un puerto aleatorio

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Cual es el parámetro para asignar puertos en podman

A

-p HOSTIP:Port:ContainerPort

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Cómo se muestra el mapeo de puertos de un contenedor

A

sudo podman port apache3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly