Public Repository

Last pushed: a month ago
Short Description
nginx
Full Description

Nginx Dockerfile

This repository contains Dockerfile of Nginx derived from (https://www.docker.com/)'s automated build published to the public Docker Hub Registry.

Base Docker Image

Installation

  1. Install Docker.

  2. docker build --name=nginx-1.8-s390x .

Usage

docker run -d -p 80:80 nginx-1.8-s390x

Attach persistent/shared directories

docker run -d -p 80:80 -v <sites-enabled-dir>:/etc/nginx/conf.d -v <certs-dir>:/etc/nginx/certs -v <log-dir>:/var/log/nginx -v <html-dir>:/var/www/html nginx-1.8-s390x

After few seconds, open http://<host> to see the welcome page.

Docker Pull Command
Owner
sinenomine

Comments (0)