An Apache HTTPd 2.4 image forked from offical repository.
With configuration:
Work also with
You can run this container with docker client:
docker run -d \
--volumes /etc/localtime:/etc/localtime:ro \
--volumes /docker/volumes/www:/var/www \
--volumes /docker/volumes/httpd24/conf/vhost.d:/usr/local/apache2/conf/vhost.d:ro \
--volumes /docker/volumes/httpd24/conf/ssl://usr/local/apache2/conf/ssl:ro \
-p 80:80 \
-p 443:443 \
llaumgui/httpd24
You can use this container in a docker-compose.yml file:
httpd:
container_name: httpd
image: llaumgui/httpd24
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /docker/volumes/www:/var/www/
- /docker/volumes/httpd24/conf/vhost.d:/usr/local/apache2/conf/vhost.d:ro
- /docker/volumes/httpd24/conf/ssl:/usr/local/apache2/conf/ssl:ro
ports:
- "80:80"
- "443:443"
Content type
Image
Digest
Size
31.8 MB
Last updated
over 6 years ago
docker pull ekova/httpd