filmov
tv
NGINX On Docker Container | Dockerfile NGINX | NGINX Docker Tutorial | Thetips4you
Показать описание
#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:
------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
Docker Swarm High availability and Loadbalancing:
-----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
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
---------------------------------------------------------------------------------------------------
=================================================
Follow me @:
=============================================
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:
------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
Docker Swarm High availability and Loadbalancing:
-----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------
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
---------------------------------------------------------------------------------------------------
=================================================
Follow me @:
=============================================
Комментарии