Sign inSign up

thomasbisignani/docker-apache-php-oracle

By thomasbisignani

•Updated over 10 years ago

Docker Image built on Debian, with Apache2, PHP 5.6, OCI8 extension and Oracle Instant Client.

Image
9

10K+

thomasbisignani/docker-apache-php-oracle repository overview

⁠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 :

Tag summary

Content type

Image

Digest

Size

273.1 MB

Last updated

over 10 years ago

docker pull thomasbisignani/docker-apache-php-oracle