Skip to content

A simple Docker Image with Apache2, PHP 5.6 and Oracle built on Debian Jessie

Notifications You must be signed in to change notification settings

thomasbisignani/docker-apache-php-oracle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 :

About

A simple Docker Image with Apache2, PHP 5.6 and Oracle built on Debian Jessie

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages