1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-16 03:48:44 +00:00
This commit is contained in:
kev 2015-08-27 09:16:44 +08:00
parent 8e795d4b4b
commit 5db8348348

@ -11,7 +11,7 @@ compared to older generation of web servers.
``` ```
$ mkdir html $ mkdir html
$ echo 'hello world' > html/index.html $ echo 'hello world' > html/index.html
$ docker run -d -p 8080:80 -v html:/var/www/html vimagick/h2o $ docker run -d -p 8080:80 -v `pwd`/html:/var/www/html vimagick/h2o
$ curl localhost:8080 $ curl localhost:8080
``` ```