docs list wrong HTTP port for container
Opened this issue · 0 comments
oskapt commented
Bug Overview
The docs list port 80 as the listening port for the container, and this is incorrect. It's 8080.
This is what is in the documentation:
docker run --env-file ./settings --publish 80:80 --name nginx-s3-gateway \
ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway:latest
It should read:
docker run --env-file ./settings --publish 80:8080 --name nginx-s3-gateway \
ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway:latestThis can be verified by checking the listening port inside of the container:
nginx@asset-gateway-7d56774797-dnfxc:/etc/nginx/conf.d$ awk '$4=="0A" {print $2}' /proc/net/tcp | sed 's/.*://' | sort -u | while read port; do
printf "tcp\t0.0.0.0:%d\n" "0x$port"
done
tcp 0.0.0.0:8080Also, considering that port 80 is privileged and your command does not include the use of sudo, you may want to change it to:
docker run --env-file ./settings --publish 8080:8080 --name nginx-s3-gateway \
ghcr.io/nginxinc/nginx-s3-gateway/nginx-oss-s3-gateway:latestExpected Behavior
x
Steps to Reproduce the Bug
x
Environment Details
- Version of the S3 container used: DockerHub
- Tag: unprivileged-oss-20250718
Additional Context
No response