Sign inSign up

cloudsenthil/apache-php

By cloudsenthil

•Updated over 11 years ago

Docker - apache-php

Image
0

722

cloudsenthil/apache-php repository overview

Docker – Installation Stpes Apache 2 with php.

$ docker pull cloudsenthil/apache-php

$ docker run -d -p 80:80 apache-php

$ docker ps ( Verify the running containers)

Check your web browser or curl :-

$ curl http://localhost⁠

$ http://localhost⁠

Local Directory mount to the Container Image :-

First Create the folder Local machine ex: /home/senthil/public_html

We are running the web application path folder /app

$ docker run -d -p 80:80 -v /home/senthil/public_html:/app apache-php

Local directory mounted to the apache-php container

Tag summary

Content type

Image

Digest

sha256:bce2814df…

Size

-

Last updated

over 11 years ago

docker pull cloudsenthil/apache-php