Build locally Normal docker build docker build . -t php-sample-app Run locally docker run -p 8080:80 php-sample-app and then visit in your browser http://localhost:8080/