Sign inSign up

n42inc/apache

By n42inc

Updated about 10 years ago

apache docker image

Image
0

1.1K

n42inc/apache repository overview

apache

##what is Apache? The Apache HTTP Server, colloquially called Apache, is a Web server application notable for playing a key role in the initial growth of the World Wide Web. Originally based on the NCSA HTTPd server, development of Apache began in early 1995 after work on the NCSA code stalled. Apache quickly overtook NCSA HTTPd as the dominant HTTP server, and has remained the most popular HTTP server in use since April 1996.

#How to use this image This image only contains Apache httpd with the defaults from upstream.There is PHP installed If you want to run a simple HTML server, add a simple Dockerfile to your project where /var/www/html is the directory containing all your HTML.I already Added some applications of database access , memcached and performance analysis application.

 http://server_ip/db/db.php
   http://server_ip/php/dbraw.php?queries=100
   http://server_ip/memcached/cache_test.php
 http://server_ip/memcached/database_test.php

###Without a Dockerfile If you don't want to include a Dockerfile in your project, it is sufficient to do the following:

docker run --name n42_apache23  -e MYSQL_IP=<mysql-ip>  -e MYSQL_DB=<dbname> -e MYSQL_USER=<dbuser>  -e MYSQL_PASSWORD=<dbpassword>  -e MEMCACHED_IP=<memcached-ip> -d --label display_service="Apache Server" --label service="apache" -p 8888:80 n42inc/apache:latest

Tag summary

Content type

Image

Digest

Size

115.3 MB

Last updated

about 10 years ago

docker pull n42inc/apache