#docker,#nginx,#nginxtutorial Hello Friends, Welcome back to my channel. In this tutorial we are going to see how we can setup NGINX in docker. We will go through the step by step procedure to create a Simple NGINX container and with persistent volume.
We will create a sample html page and then will see how we can create our own docker image to include the html webpage and host in NGINX. So lets get started.
------------------------------------------------------------------------------------------------
Check out the video on Prometheus:
• Prometheus On Docker | Prometheus Doc...
------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
Docker Swarm High availability and Loadbalancing:
• Docker Swarm High Availability, Load ...
-----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
docker run -d --name nginx -p 8081:80 nginx
docker run -d --name nginx -p 8081:80 -v nginx_data:/usr/share/nginx/html nginx
/usr/share/nginx/html
Dockerfile :
FROM nginx
COPY ./nginx/* /usr/share/nginx/html
EXPOSE 80
Reference: https://hub.docker.com/_/nginx
---------------------------------------------------------------------------------------------------
=================================================
Follow me @:
/ thetips4you
https://www.youtube.com/channel/UCoOq...
/ thetipsforyou
http://www.thetips4you.com
=============================================
Watch video NGINX On Docker Container | Dockerfile NGINX | NGINX Docker Tutorial | Thetips4you online, duration hours minute second in high quality that is uploaded to the channel Thetips4you 06 July 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 10,528 times and liked it 128 visitors.