Public | Automated Build

Last pushed: 18 days ago
Short Description
Nginx 1.8.0 Image.
Full Description

The Recipe of Nginx 1.8.0 Docker Image

This directory contains Dockerfile of Nginx 1.8.0 for Docker's automated build published to the public Docker Hub Registry.

Base Docker Image

repositoryjp/centos:6.7

Installation

[1] Install Docker.

[2] Download automated build from public Docker Hub Registry: docker pull repositoryjp/nginx-1.8.0:centos-6.7

Usage

docker run -d -p (host's port for http):80 -p (host's port for https):443 -v (host's path for nginx configuration):/etc/nginx/conf.d/ -v (host's path for document root):/usr/share/nginx/ -v (host's path for logfile):/var/log/nginx repositoryjp/nginx

[options]

  • Port number for http (required) : -p (host's port for http):80
  • Port number for https (optional) : -p (host's port for https):443
  • Nginx configuration path (optional) : -v (host's path for nginx configuration):/etc/nginx/conf.d/
  • Document root path (optional) : -v (host's path for document root):/usr/share/nginx/
  • Logfile path (optional) : -v (host's path for logfile):/var/log/nginx repositoryjp/nginx

License

See the file LICENSE.

Author

Shinya Kinoshita ( REPOSITORY )

Docker Pull Command
Owner
repositoryjp
Source Repository