, which again I got to work. I was just wondering though, does the use of the
DockerRun
class do anything when I am using
DockerStorage
? At first glance, it would seem not as the use of
DockerStorage
would imply the run would run on docker anyway. Am I missing something?
a
Anna Geller
10/12/2021, 8:36 AM
Hi @Thomas Furmston! Storage is telling Prefect where to find your flow (this could be a Git repo, cloud storage, or baked into a Docker image), while run configuration such as DockerRun provides metadata for the execution environment - this could be: cpu/memory resources, environment variables, etc.
But I see why it may be confusing for you, since Docker storage allows to specify things like python dependencies which relate to the execution environment.
t
Thomas Furmston
10/12/2021, 8:37 AM
I see.
Thomas Furmston
10/12/2021, 8:38 AM
Yeah, it is a bit confusing because, for example,
DockerRun
allows you to specify the docker image. However, if you specify
DockerStorage
then this setting from
DockerRun
is ignored.
Thomas Furmston
10/12/2021, 8:38 AM
Are there any settings from
DockerRun
that do carry over and are used when you also specify
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.