Hi, I would like some help understanding the utili...
# prefect-server
c
Hi, I would like some help understanding the utility of the Docker image (https://hub.docker.com/r/prefecthq/prefect) I thought I could use this and run it to get a prefect environment running locally.. but trying to start the prefect server I get
No such file or directory: 'docker-compose': 'docker-compose'
Should docker-compose not be installed inside the image and this be a read-to go dev environment?
1
n
Hi @charmatski - Prefect Server has many interlocking parts which would be tedious to spin up separately - the image you linked to is normally spun up using
docker-compose
in the host environment. If you have docker compose installed in your host environment, you can run
prefect server start
and Prefect will take care of running the
docker-compose.yml
and injecting the appropriate env variables.
c
Ah, so it's intended I write my own docker-compose
n
Not at all! Prefect comes with a
docker-compose
file already configured. I'd encourage you to install docker compose and run
prefect server start
to let Prefect take care of that.
c
so on the host i'd have to install • prefect using pip3 • docker • docker-compose ?
n
Yup, that should do it
c
Alright, thanks for your help
😄 1
s
did it work after the steps?