Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.18 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.18 KB

docker-apache-php-oracle

Docker Image built on Debian, with Apache2, PHP5.6, OCI8 extension and the Oracle Instant Client.

Build the Docker image from github

git clone https://github.com/thomasbisignani/docker-apache-php-oracle.git
cd docker-apache-php-oracle
docker build -t thomasbisignani/docker-apache-php-oracle .

Or pull the Docker image from Docker Hub

docker pull thomasbisignani/docker-apache-php-oracle

Default Usage

Start a new container with the Apache2 Debian Default Page

docker run -p 8080:80 -d thomasbisignani/docker-apache-php-oracle

Run the local sample page

Start a new container with the sample page containing a phpinfo(), and bind the port 80 of the container to port 8080 of your localhost.

docker run -p 8080:80 -d -v $(pwd)/sample:/var/www/html thomasbisignani/docker-apache-php-oracle

Run your custom project

Start a new container with your application and bind the port 80 of the container to port 8080 of your localhost.

docker run -p 8080:80 -d -v </local/path/www>:/var/www/html thomasbisignani/docker-apache-php-oracle

Test your deployment :