Ebrass/apache missing

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.

Gary719

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.

Gary719

An amendment. The book gives the following URL :
http://hub.docker.com/r/eborass/apache/
The /r/ directory no longer exists.

Gary719
P.S. Next time I will use the Edit feature. New to the Forum.

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

Next problem: Chrome and Firefox consider port 10080 to be an unsafe port for a web browser, so block it. You may have more luck using -p 8080:80 and pointing your browser to http://localhost:8080.

It still exists, but only works if the requested repository exists.

Thanks for the help. Really appreciated.

Gary719