niceine/testapache
Test web page, based on Apache HTTP Server Project
22
Requirements:
docker pull httpd
Dockerfile: FROM httpd
MAINTAINER your_name
RUN apt-get update && apt-get -y dist-upgrade && apt-get -y autoremove && apt-get clean
COPY index.html /usr/local/apache2/htdocs
EXPOSE 80 CMD apachectl -D FOREGROUND
index.html: It is a brave new world HELLO!
rebuild: (script) docker stop testapache docker rm testapache docker rmi testapache docker build -t testapache . docker run -d -p80:80 --name testapache testapache
docker pull niceine/testapache