can you use docker images when you run `pyflyte ru...
# ask-the-community
l
can you use docker images when you run
pyflyte run
without the remote option. e.g. if I define a
@task(container_image="XXXX"
, can I use this image locally when I run?
y
images are not used at all when you don’t use remote
they are run in your local python venv
truly local execution will not spin up the container.
l
so would the recommendation there be to run
pyflyte run
inside a locally mounted docker container
y
if you cannot replicate the environment locally yes. this is a limitation maybe? of the how local execution works.
if you have a workflow comprised of tasks that run different images… there’s no way for flytekit currently to spin those up
155 Views