https://prefect.io logo
Title
n

Newskooler

10/07/2020, 1:08 PM
Hi 👋 If anyone has experience starting
prefect server start
via a running docker image, can you please help me fix an error I keep getting : / I summarized it here: https://github.com/PrefectHQ/prefect/discussions/3449
c

Charles Leung

10/07/2020, 1:39 PM
Hey Stelian, I am able to do so but you will need to install docker, docker-compose, as well as prefect from your docker image, and not just the prefect image. then, you need to mount the /var/run/docker.sock back to the host.
n

Newskooler

10/07/2020, 1:44 PM
So I have done all of this besides the .sock.
Question: @josh mentioned that this is not recommended; do you feel the same way ? I am simply trying to run my Flows in a controlled environment. So I though that to do that I need to run the server and the agent on the same docker image first.