HUB
Sign inSign up

diverdane/nginxkubev6

By diverdane

•Updated over 9 years ago

An NGINX server that listens on IPv6 addresses (see diverdane/nginxdualstack for dual-stack version)

Image
0

409

diverdane/nginxkubev6 repository overview

The standard nginx image that is available on Dockerhub is limited in that it is configured to listen only on IPv4 addresses.

This 'nginxkubev6' image is a slightly modified version of the standard nginx image that is configured to listen on IPv6 addresses rather than IPv4 addresses. It has also been modified to print the container's $HOSTNAME in the default NGINX welcome message. (For Kubernetes, the container's $HOSTNAME is the same as the name of the pod.)

The Dockerfile for creating this image is a slightly modified version of the dual-stack Dockerfile available here: https://github.com/leblancd/kube-v6/blob/master/nginx_v6/Dockerfile⁠ For the IPv6-only version of the NGINX server, the 'sed' command in the Dockerfile needs to be changed to: RUN sed -i 's/listen 80;/listen [::]:80;/' /etc/nginx/conf.d/default.conf

Tag summary

Content type

Image

Digest

Size

42 MB

Last updated

over 9 years ago

docker pull diverdane/nginxkubev6:2.5.0