Skip to content

Stop the container if running docker-entrypoint-initdb.d scripts error out #432

@rvernica

Description

@rvernica

At start-up the container "executes" the files found in docker-entrypoint-initdb.d. If errors are encountered the container continues to operate normally. It might be better for the container to fail to start in this case. I'm using it as part of a Docker Compose setup and containers which depend on it think it initialized successfully.

The initializing files I add in docker-entrypoint-initdb.d are SQL scripts.

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