Skip to content

[Docs] Missing env setup in remote example #6606

@soyking

Description

@soyking

Description

In Running your workflow, commands for remote running missed env input, which cause remote error like:

File "/root/hello_world.py", line 19, in <module>
        registry=os.environ['FLYTE_IMAGE_REGISTRY']

This would work at my local machine:

FLYTE_IMAGE_REGISTRY=localhost:30000 pyflyte run --env FLYTE_IMAGE_REGISTRY=localhost:30000 --remote --project my-project --domain development hello_world.py hello_world_wf

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationuntriagedThis issues has not yet been looked at by the Maintainers

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions