$ docker run --name mynginx1 -p 80:80 -d nginx
FROM nginx:latest
RUN rm /etc/nginx/conf.d/default.conf
COPY docker/nginx/example.conf /etc/nginx/conf.d/
version: '3'
services:
web:
image: nginx:latest
ports:
- "80:80"
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.2.0/deploy/static/provider/cloud/deploy.yaml