Ok, Docker

Ready to use, secure and lean docker images.

Quick access

okdocker/nginx

A docker image based on debian stretch containing the nginx web server with ngx_pagespeed, a web performance module.

Build Status

Content

Usage

$ docker run -it -p 80:80 okdocker/nginx:mainline

A real world example would probably use it as base image for a custom image. Here is a minimalistic working dockerfile.

You may want to override the /etc/nginx directory with your own configuration.

FROM okdocker/nginx:mainline

ADD etc/nginx /etc/nginx
ADD var/www /var/www

You can have a look at the basic okdocker/nginx example.

Interface

Volumes

Ports

Paths

Compile-time configuration

nginx path prefix: "/etc/nginx"
nginx binary file: "/usr/sbin/nginx"
nginx modules path: "/usr/lib/nginx/modules"
nginx configuration prefix: "/etc/nginx"
nginx configuration file: "/etc/nginx/nginx.conf"
nginx pid file: "/var/run/nginx.pid"
nginx error log file: "/var/log/nginx/error.log"
nginx http access log file: "/var/log/nginx/access.log"
nginx http client request body temporary files: "/var/cache/nginx/client_temp"
nginx http proxy temporary files: "/var/cache/nginx/proxy_temp"
nginx http fastcgi temporary files: "/var/cache/nginx/fastcgi_temp"
nginx http uwsgi temporary files: "/var/cache/nginx/uwsgi_temp"
nginx http scgi temporary files: "/var/cache/nginx/scgi_temp"

Tags