Docker Image built on Debian, with Apache2, PHP5.6, OCI8 extension and the Oracle Instant Client.
git clone https://github.com/thomasbisignani/docker-apache-php-oracle.git
cd docker-apache-php-oracle
docker build -t thomasbisignani/docker-apache-php-oracle .
docker pull thomasbisignani/docker-apache-php-oracle
Start a new container with the Apache2 Debian Default Page
docker run -p 8080:80 -d thomasbisignani/docker-apache-php-oracle
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
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
- Open http://127.0.0.1:8080 in your browser