Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to start mermaid container after docker compose #5325

Closed
bstordrup opened this issue Feb 26, 2024 · 0 comments · Fixed by #5327
Closed

Not able to start mermaid container after docker compose #5325

bstordrup opened this issue Feb 26, 2024 · 0 comments · Fixed by #5327
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@bstordrup
Copy link
Contributor

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

@bstordrup bstordrup added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant