Skip to content

docker postgres default entrypoint #711

@Hasdik

Description

@Hasdik

If I create my entrypoint file ENTRYPOINT ["new_env.sh"], after starting docker of postgres container, if you try to restore backup db, I get an error:
pg_ctl: directory "/var/lib/postgresql/data" is not a database cluster directory

How can I call the default entrypoint-file docker postgres first?

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