https://flyte.org logo
#ask-the-community
Title
# ask-the-community
l

Laura Lin

10/17/2022, 8:55 PM
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

Yee

10/17/2022, 8:57 PM
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

Laura Lin

10/17/2022, 9:17 PM
so would the recommendation there be to run
pyflyte run
inside a locally mounted docker container
y

Yee

10/17/2022, 11:35 PM
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