Steps to try out the sample
-
cd 'docker-starter-with-php' directory
-
Build a docker image tagged as hello-world in the same directory.
docker build -t hello-world .
-
Run the image in a container(Forward port 80 of the host server to port 80 of the container)
docker run -p 80:80 hello-world
-
Browse localhost