Merge pull request #669 from infosiftr/SIGWINCH

Adjust "httpd" examples to use "-d" ("caught SIGWINCH, shutting down gracefully" on terminal resize)
This commit is contained in:
yosifkit 2016-08-22 15:37:07 -07:00 committed by GitHub
commit 6fa100b605
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ Then, run the commands to build and run the Docker image:
```console
$ docker build -t my-apache2 .
$ docker run -it --rm --name my-running-app my-apache2
$ docker run -dit --name my-running-app my-apache2
```
### Without a `Dockerfile`
@ -29,7 +29,7 @@ $ docker run -it --rm --name my-running-app my-apache2
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-app -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4
$ docker run -dit --name my-apache-app -v "$PWD":/usr/local/apache2/htdocs/ httpd:2.4
```
### Configuration