Skip to content

Dockerfile misconfiguration #4

@WulffenSec

Description

@WulffenSec

Hey I don't know if this is a linux issue or may happen in windows too but the docker-compose -d up --build is throwing a: "Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/code/docker/entrypoints/entrypoint.sh": permission denied: unknown"

Solution:
A simple change in "backend/docker/docker_files/Dockerfile" last line from:
ENTRYPOINT [ "/code/docker/entrypoints/entrypoint.sh"]
To:
ENTRYPOINT ["bash", "-e", "/code/docker/entrypoints/entrypoint.sh"]
Solves the issue.
Hope it helps!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions