ankorstore / yokai-showroom

Showroom for demo applications based on the Yokai framework.
https://ankorstore.github.io/yokai
MIT License
12 stars 1 forks source link

Can not run docker container #7

Closed singh-jay closed 5 months ago

singh-jay commented 5 months ago

docker build is successful but when running the container I'm getting the help commands

Steps -

  1. git clone git@github.com:ankorstore/yokai-showroom.git
  2. cd http-demo
  3. docker build -t http-demo .
  4. docker run -t -p 8080:8080 -p 8081:8081 http-demo

Getting this screen - Screenshot from 2024-05-19 18-34-49

In other go project same dockerfile is working fine. Not able to debug the code issue.

ekkinox commented 5 months ago

You need to specify the sub command name, which is run: docker run -t -p 8080:8080 -p 8081:8081 http-demo run

But I suggest you to run the app via the provided docker compose stack since it'll spin up also the database and jaeger, used by the demo.

You have a Makefile to ease this, you just need to make fresh && make logs to build fresh and stream the logs.

More details in the readme.

singh-jay commented 5 months ago

Thanks, It's working.