yuzutech / kroki

Creates diagrams from textual descriptions!
https://kroki.io
MIT License
2.87k stars 211 forks source link

[question] trying to use Docker container on macOS ARM but nothing happens #1297

Closed huyz closed 2 years ago

huyz commented 2 years ago

I'm running

nerdctl run -p8000:8000 -d yuzutech/kroki

but there's no response at port 8000.

Is there a way to diagnose? Are there logs I can access?

ggrossetie commented 2 years ago

In theory, you should see logs sent to stdout (using docker logs or something equivalent). If you remove the -d option, you should see the logs (in JSON format) in your terminal.

In the future, please ask usage question in: https://kroki.zulipchat.com/, thanks!

huyz commented 2 years ago

Ok yeah all I see is:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
{"timestamp":"1657949007763","level":"WARN","thread":"vertx-blocked-thread-checker","logger":"io.vertx.core.impl.BlockedThreadChecker","message":"Thread Thread[vert.x-eventloop-thread-1,5,main] has been blocked for 2064 ms, time limit is 2000 ms","context":"default"}
{"timestamp":"1657949008745","level":"WARN","thread":"vertx-blocked-thread-checker","logger":"io.vertx.core.impl.BlockedThreadChecker","message":"Thread Thread[vert.x-eventloop-thread-1,5,main] has been blocked for 3073 ms, time limit is 2000 ms","context":"default"}
{"timestamp":"1657949008860","level":"INFO","thread":"vert.x-eventloop-thread-0","logger":"io.vertx.core.impl.launcher.commands.VertxIsolatedDeployer","message":"Succeeded in deploying verticle","context":"default"}

I guess the problem is that kroki doesn't have an ARM image?

Anyway, closing this particular question.