• Stars
    star
    476
  • Rank 92,280 (Top 2 %)
  • Language
  • License
    MIT License
  • Created almost 11 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Nginx Dockerfile for trusted automated Docker builds.

Nginx Dockerfile

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

Base Docker Image

Installation

  1. Install Docker.

  2. Download automated build from public Docker Hub Registry: docker pull dockerfile/nginx

    (alternatively, you can build an image from Dockerfile: docker build -t="dockerfile/nginx" github.com/dockerfile/nginx)

Usage

docker run -d -p 80:80 dockerfile/nginx

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 dockerfile/nginx

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

More Repositories

1

java

Java Dockerfile for trusted automated Docker builds.
Shell
739
star
2

elasticsearch

ElasticSearch Dockerfile for trusted automated Docker builds.
483
star
3

ubuntu

Ubuntu Dockerfile for trusted automated Docker builds.
Shell
454
star
4

mongodb

MongoDB Dockerfile for trusted automated Docker builds.
Shell
325
star
5

redis

Redis Dockerfile for trusted automated Docker builds.
Shell
280
star
6

ubuntu-desktop

Ubuntu Desktop (LXDE) Dockerfile for trusted automated Docker builds.
Shell
215
star
7

nodejs

Node.js Dockerfile for trusted automated Docker builds.
184
star
8

rabbitmq

RabbitMQ Dockerfile for trusted automated Docker builds.
Shell
161
star
9

haproxy

Haproxy Dockerfile for trusted automated Docker builds.
Shell
126
star
10

ghost

Ghost Dockerfile for trusted automated Docker builds.
Shell
119
star
11

rethinkdb

RethinkDB Dockerfile for trusted automated Docker builds.
87
star
12

mysql

MySQL Dockerfile for trusted automated Docker builds.
Shell
79
star
13

chrome

Chrome Dockerfile for trusted automated Docker builds.
Shell
78
star
14

python

Python Dockerfile for trusted automated Docker builds.
Shell
71
star
15

mariadb

MariaDB Dockerfile for trusted automated Docker builds.
Shell
57
star
16

supervisor

Supervisor Dockerfile for trusted automated Docker builds.
Shell
47
star
17

ansible

Ansible Dockerfile for trusted automated Docker builds.
Shell
43
star
18

go

Go Dockerfile for trusted automated Docker builds.
40
star
19

nodejs-bower-gulp

Node.js w/ Bower & Gulp Dockerfile for trusted automated Docker builds.
Shell
27
star
20

nodejs-bower-grunt

Node.js w/ Bower & Grunt Dockerfile for trusted automated Docker builds.
Shell
26
star
21

ruby

Ruby Dockerfile for trusted automated Docker builds.
Shell
23
star
22

percona

Percona Server Dockerfile for trusted automated Docker builds.
Shell
18
star
23

dockerfile.github.io

Dockerfile Project
HTML
18
star
24

nodejs-runtime

Node.js runtime Dockerfile for trusted automated Docker builds.
Shell
10
star
25

go-runtime

Go runtime Dockerfile for trusted automated Docker builds.
Shell
9
star
26

julia

Julia Dockerfile for trusted automated Docker builds.
Shell
8
star
27

nodejs-bower-gulp-runtime

Node.js w/ Bower & Gulp runtime Dockerfile for trusted automated Docker builds.
Shell
8
star
28

nsq

NSQ Dockerfile for trusted automated Docker builds.
Shell
7
star
29

celery

Celery Dockerfile for trusted automated Docker builds.
Shell
7
star
30

python-runtime

Python runtime Dockerfile for trusted automated Docker builds.
Shell
6
star
31

fpm

FPM Dockerfile for trusted automated Docker builds.
Shell
6
star
32

nodejs-bower-grunt-runtime

Node.js w/ Bower & Grunt runtime Dockerfile for trusted automated Docker builds.
Shell
5
star
33

ruby-runtime

Ruby runtime Dockerfile for trusted automated Docker builds.
Shell
4
star
34

dart-runtime

Dart runtime Dockerfile for trusted automated Docker builds.
Shell
3
star
35

dart

Dart Dockerfile for trusted automated Docker builds.
Shell
3
star