Open
Description
openedon Nov 11, 2022
Describe the bug
I am trying to enable IPv6 on the container, but when the container starts up it give me the following message even though I am using the default /etc/nginx/conf.d/default.conf
file.
10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version
To reproduce
Steps to reproduce the behavior:
- Deploy NGINX Unprivileged Docker image nginxinc/nginx-unprivileged:1.22.1
- View output/logs/configuration on '10-listen-on-ipv6-by-default.sh: info: /etc/nginx/conf.d/default.conf differs from the packaged version'
- See error
Expected behavior
IPv6 should be enabled by changing port to listen [::]:8080
Your environment
- Version of Docker: Using AWS Bottlerocket AMI on AWS EKS kubernetes v1.23 on IPv6
- Version of the NGINX Unprivileged Docker image nginxinc/nginx-unprivileged:1.22.1
- Target deployment kubernetes
Additional context
I would am using the container with kuberhealthy test run. Which dose not allow to change the entrypoint of the container. It would be helpful if we can turn on IPv6 by Environment variable NGINX_PORT
Metadata
Assignees
Labels
No labels
Activity