This container provides an Apache HTTP Server on Ubuntu 24.04 with common tools, logging, and SSH access, aligned with conventions used in this repository.
mod_rewrite enabled and .htaccess allowed/var/www/html/index.htmlhttp://127.0.0.1:80/# SSH access
ssh root@<container_ip>
# Password: pass
# Or use GNS3 console
# Start logging service
rsyslogd
# Start SSH service
/usr/sbin/sshd -D
# Start Apache in foreground
apache2ctl -D FOREGROUND
docker run --rm -it \
-p 8080:80 -p 2222:22 \
-v $(pwd)/site:/var/www/html:ro \
--name ae3gis-apache \
ae3gis-apache
/var/log/syslog/var/log/apache2/access.log, /var/log/apache2/error.log/var/log/auth.logServerName localhost configured via a2enconf servernamemod_rewrite enabled via a2enmod rewrite.htaccess allowed by setting AllowOverride All in apache2.confps aux | grep apache2tail -f /var/log/apache2/error.logcurl -v http://127.0.0.1:80/ps aux | grep sshdContent type
Image
Digest
sha256:99dcd4b4d…
Size
90.7 MB
Last updated
21 days ago
docker pull tollan/apache-server