Skip to content

Cannot open configuration file/directory /usr/local/etc/haproxy/haproxy.cfg : No such file or directory #86

@JamesLoyd

Description

@JamesLoyd

I am trying to run the HaProxy image. I have the following dockerfile:

FROM haproxy:1.7
COPY haproxy.cfg /user/local/etc/haproxy/haproxy.cfg

But I consistently get this when I run it:
image

I have also tried using just from haproxy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions