Skip to content

nginx container unable to pick the container's /etc/hosts file #284

@princejha95

Description

@princejha95

I am running the nginx container and i want that the container should perform the DNS mapping by using the container's /etc/hosts file. But instead of that, the container is using the host's machine /etc/hosts file for DNS mapping.

Can anyone provide a solution for this ? I am using nginx v1.15.5

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