Public Repository

Last pushed: 3 years ago
Short Description
Docker - apache-php
Full Description

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

Docker Pull Command