yeti-platform / yeti

Your Everyday Threat Intelligence
https://yeti-platform.io/
Apache License 2.0
1.71k stars 283 forks source link

Service frontend has neither an image nor a build context specified. At least one must be provided. #1025

Closed aceraulo closed 6 months ago

aceraulo commented 6 months ago

Hello,

I've followed the guide to set up Yeti https://yeti-platform.io/docs/getting-started/, but every time i try to do docker-compose up it returns me the following error "Service frontend has neither an image nor a build context specified. At least one must be provided."

I've tried to do docker compose up but it returns me the error "docker: 'compose' is not a docker command."

Environment

Question Answer
Yeti release 3.3
Yeti-frontend release
OS version Ubuntu 22.04
Browser Chrome 119.0.6045.123
tomchop commented 6 months ago

If you managed to solve this, could you share how? I've never run into this error before, but it might be useful for other people running into it :)

fl0wc0ntr0l commented 4 months ago

@tomchop This is due to a mismatched version of docker-compose; try installing Docker from their official repos as opposed to the unofficial versions from whichever distribution you are using.

tomchop commented 4 months ago

If you follow the official docker instructions (here: https://docs.docker.com/engine/install/debian/), you'll end up with the latest version of the docker compose plugin, which is invoked via docker compose and not docker-compose (that's a legacy version, the one you were using).

(same goes for ubuntu)