Primeiro container que só tem um nginx básico rodando
775
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.
Content type
Image
Digest
sha256:e264e7d35…
Size
67.3 MB
Last updated
over 2 years ago
docker pull vmattoso/nginx