Hi all,
I’ve been using Benjamin Young’s book “Docker for Dummies in real world”. I like the book but he uses an image from eborass/apache witch no longer exists. Does anyone know what a reasonable substitute would be? Any suggestions will be sincerely appreciated.
As not all of us (if anyone) will know the book, you may want to provide more details. Also, you may want to check the exact spelling as you’ve mistyped at least once in your question, ebrass vs eborass.
Sorry,
Eborass is the correct spelling and the command line is:
docker run -p 10080:80 -v /home/docker_demo/mysite/:/var/www/html/ -d eborass/apache
I may only need to download any apache docker file but want to make sure. The author must have had a reason for being so specific. Unfortunately, I have not found a method for contacting the author directly.
You can probably replace this by using the official Docker httpd image, which expects the website documents in /usr/local/apache2/htdocs/, so needs an adjusted -v “bind mount” for your example:
docker run -p 10080:80 -v /home/docker_demo/mysite/:/usr/local/apache2/htdocs/ -d httpd