Sign inSign up

uzzal2k5/httpd

By uzzal2k5

•Updated almost 9 years ago

HTTPD server with Centos

Image
0

1.3K

uzzal2k5/httpd repository overview

This is my first test based docker image, where httpd server installed into centos 7. As Dockerfile written like bellow,

docker run -dit -p 80:80 --name webserver uzzal2k5/httpd:latest

Above command run docker container successfully .

⁠Dockerfile:

FROM centos MAINTAINER uzzal[email protected]⁠ , Mobile: +8801715519132 RUN yum -y install httpd RUN echo "Follow me on LinkedIn ( https://www.linkedin.com/in/uzzal2k5⁠ )" > /var/www/html/index.html EXPOSE 80 CMD ["-D","FOREGROUND"] ENTRYPOINT ["/usr/sbin/httpd"]


Tag summary

Content type

Image

Digest

Size

122.6 MB

Last updated

almost 9 years ago

docker pull uzzal2k5/httpd