Sign inSign up

vmattoso/nginx

By vmattoso

•Updated over 2 years ago

Primeiro container que só tem um nginx básico rodando

Image
0

775

vmattoso/nginx repository overview

⁠Minha primeira imagem qus fizemos um push direto pleo terminal

Para executar:

docker run --rm -it -p 8080:80 vmattoso/nginx

The --rm tells docker to remove the container once its stopped;

The -it is used to attach interactive TTY,

The -p 8080:80 is used to map the port 80 from the container to our computer port 8080.

preview access localhost:8080 it means we are accessing the container.ip:80.

Tag summary

Content type

Image

Digest

sha256:e264e7d35…

Size

67.3 MB

Last updated

over 2 years ago

docker pull vmattoso/nginx