From c5e7d59e54a4b489ec7f4d03f9956c5e3525d132 Mon Sep 17 00:00:00 2001 From: Rogerio Prado de Jesus Date: Wed, 2 Dec 2015 10:53:55 -0200 Subject: [PATCH] Fix instruction for without dockerfile example Thanks to @wsilva! Without explicit port forwarding, the command did not work. --- php/content.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/content.md b/php/content.md index e819ae37d..86d99b40d 100644 --- a/php/content.md +++ b/php/content.md @@ -91,5 +91,5 @@ Remember, you must install dependencies for your extensions manually. If an exte If you don't want to include a `Dockerfile` in your project, it is sufficient to do the following: ```console -$ docker run -it --rm --name my-apache-php-app -v "$PWD":/var/www/html php:5.6-apache +$ docker run -p 80:80 -it --rm --name my-apache-php-app -v "$PWD":/var/www/html php:5.6-apache ```