#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
=============================================
Смотрите видео NGINX On Docker Container | Dockerfile NGINX | NGINX Docker Tutorial | Thetips4you онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Thetips4you 06 Июль 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,528 раз и оно понравилось 128 людям.