IPGRAY : Docker - How to install webserver nginx in Docker Container in windows

Опубликовано: 04 Октябрь 2024
на канале: IPGraySpace - CodingJoys
4,192
14

IPGRAY : Docker - How to install webserver nginx in Docker Container in windows

This video shows How to install webserver nginx in Docker Container in windows

1. You should have docker installed first install it before you create any container

2. if you don't Docker follow IPGRAY video on ...
IPGRAY : Docker - How to download and install Docker Container in windows

also follow IPGRAY video on ...
IPGRAY : Docker - How to install ubuntu linux in Docker Container in windows

3. Open cmd prompt or windows power shell as Administrator
try the following command before you download linux

4. Check docker version with the following command
docker --version
docker-compose --version
docker-machine --version

5. Try the following commands
docker ps ( I installed ubuntu linux... it is showing in the container now...)
docker info

6. Run hello world
docker run hello-world

7. Download webserver nginx

8. Open nginx in browser http://localhost

to stop webserver nginx
docker stop webserver
to start webserver nginx
docker start webserver

9. To remove webserver nginx from the container
docker rm -f webserver

10 . To remove the entire image of nginx
docker rmi nginx

11. Follow instruction in the video

Follow more IPGRAY videos on Docker in youtube

more Docker vides on creating container with linux, glassfish, java and more

-----------------

Follow more IPGRAY videos in youtube

thank you for watching IPGRAY video
please share, subscribe and comment

visit
www.ipgray.com
for more IT articles, documents and videos