Skip to content

Not able to start mermaid container after docker compose #5325

@bstordrup

Description

@bstordrup

Description

I forked the repository and cloned it locally to my Windows machine. Then I ran the

docker compose up --build -d mermaid

command to get a mermaid host to run in a docker container.

But this resulted in an error from the docker image:

2024-02-26 13:30:06 exec /mermaid/docker-entrypoint.sh: no such file or directory

Steps to reproduce

  1. Run `docker compose up --build -d mermaid'.
  2. Notice in Docker Desktop that the image has exited.
  3. Click the container name mermaid-1 in Docker Desktop.
  4. Notice the error message in Logs window

Screenshots

image

Code Sample

No response

Setup

  • Mermaid version: Latest develop version (10.2.4 according to package.json)
  • Browser and Version: Chrome x64 122.0.6261.57

Suggested Solutions

If I start the mermaid image using the option --entrypoint=docker-entrypoint.sh, the container starts without error. So my suggestion is to change the Entrypoint reference in the docker-compose.yml file.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions