Fix instruction for without dockerfile example

Thanks to @wsilva! Without explicit port forwarding, the command did not work.
This commit is contained in:
Rogerio Prado de Jesus 2015-12-02 10:53:55 -02:00
parent 33f5646c0a
commit c5e7d59e54
1 changed files with 1 additions and 1 deletions

View File

@ -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
```