-
docker pull centos
-
Check with "docker images" command
-
create Dockerfile & paste the contents given in the Dockerfile in this repo
-
docker build -t image_name .
-
Please run this Dockerfile in a VM having atleast 1GB RAM
-
docker run -itd --name mywebserver -p 8888:80 image_name:tag
Syntax | Description |
---|---|
Header | Title |
Paragraph | Text |
Text | Doc |