To install Docker
apt install docker.io
Docker Apache folders/files
/usr/local/apache2/htdocs <-your site folder
/usr/local/apache2/conf/httpd.conf <-apache config file
/usr/local/apache2/logs <-apache logs
To install/run Container
1) docker run -d --name hwfcgi -p 80:80 diegofazio/hwfcgi:v2
or
2) docker run -d --name hwfcgi -p 80:80 -v /home/user/apache/htdocs:/usr/local/apache2/htdocs -it diegofazio/hwfcgi:v2
To restart Apache( if necessary )
docker restart hwfcgi
To test it
http://127.0.0.1/info.prg <- Use it only with 1)
Content type
Image
Digest
sha256:5b94c7a35…
Size
77.9 MB
Last updated
10 months ago
docker pull diegofazio/hwfcgi:v2