1- create a directory + create a Dockerfile
2- build an image
https://www.katacoda.com/courses/docker/create-nginx-static-web-server
1- create a directory + create a Dockerfile
Dockerfile:
FROM nginx:alpine
COPY . /usr/share/nginx/html
2- build an image
docker images
docker build -t mynginx:v1 .
docker images
3- create a docker
docker run -d p 80:80 webserverimage:v1
curl docker