thumbor: Update to post v6.0
[dockerfile.git] / nginx / README.md
1 Run this [Nginx][] image with:
2
3     $ docker run -d --name nginx-0 -v /var/www/nginx-0/htdocs:/var/www/localhost/htdocs -p 80:80 wking/nginx
4
5 [volume-mounting][volume-mount] your content under the container's
6 `/var/www/localhost/htdocs`.  You can also mount volumes from other
7 containers and serve their data, although you may need to tweak the
8 config to serve from an alternative location.  Adjusting this image to
9 serve from a configurable `$HTTP_ROOT` wouldn't be too difficult
10 either.
11
12 [Nginx]: http://nginx.org/
13 [volume-mount]: http://docs.docker.io/en/latest/use/working_with_volumes/