/apache-php-start-docker

Simple Hello World PHP-Apache Docker

Primary LanguageDockerfile

A simple PHP application deployed using Docker

taken from:

To run use the following commands from within the apache-php-start file:

  • sudo docker build -t docker-php-helloworld .
  • sudo docker run -d -p 80:80 --name php-helloworld-test docker-php-helloworld
  • in browser type in localhost:80 for HTTP port

Don't forget to shut down apache2 server?