Skip to content

Docker image nginxdemos/nginx-hello exposes not used port 80 #149

@RangersMS

Description

@RangersMS

The Docker image nginxdemos/nginx-hello (folder nginx-hello-nonroot) exposes port 80 and 8080 despite this image only providing this service only via port 8080.

This image uses nginx:mainline-alpine as base image. nginx:mainline-alpine exposes port 80. The demo nginx config exposes its service on port 8080 and the Dockerfile exposes 8080. The resulting image exposes both ports 80 and 8080 where no service is listening on port 80.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions