fix: enable IPv6 dual-stack for OSS, Plus, and unprivileged images #483
+4
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What This PR Does
Commit 1: OSS/Plus Images (Port 80)
File:
common/etc/nginx/templates/default.conf.templateChange: Adds listen directives to template
Result: OSS/Plus images listen on IPv4 and IPv6 port 80
Commit 2: Unprivileged Image (Port 8080)
File:
Dockerfile.unprivilegedChange: REPLACES port 80 with 8080 (both IPv4 and IPv6)
Result: Unprivileged image listens on IPv4 and IPv6 port 8080 ONLY
Final Configuration
OSS/Plus Containers:
Unprivileged Containers:
Why This Works
✅ Template has port 80 + IPv6 for OSS/Plus
✅ Unprivileged Dockerfile REPLACES port 80 → 8080 (no permission issues)
✅ No duplicate listen directives
✅ No privilege escalation required
✅ Fixes both #339 and #453
✅I have read the contributing guidelines.
✅I have signed the F5 Contributor License Agreement (CLA).
✅ The PR title follows the Conventional Commits specification.
✅If applicable, I have added tests that prove my fix is effective or that my feature works.
✅ If applicable, I have checked that any relevant tests pass after adding my changes.
✅I have updated any relevant documentation (e.g. README.md).
Issues Resolved