careful-processor-58786
10/11/2022, 7:13 AMpyflyte register
and able to see it in the UI, however I am importing some packages like boto3 etc and it throws and error while running the workflow.careful-processor-58786
10/11/2022, 7:14 AMcareful-processor-58786
10/11/2022, 8:20 AMMissing argument 'PACKAGE_OR_MODULE...', at least one PACKAGE_OR_MODULE is required but multiple can be passed
error when I run
pyflyte register -p my_workflows -i flyte_select_wf:latest
where flyte_select_wf is my imagecareful-processor-58786
10/11/2022, 11:25 AMcurrentAttempt done. Last Error: USER::containers with unready status: [a4vlxhxkkr8mkxh92lw9-n0-0]|Back-off pulling image "flyte_select_wf:latest"
tall-lock-23197
flytectl demo exec -- docker build . --tag "flyte_select_wf:v1"
?careful-processor-58786
10/11/2022, 2:11 PMflytectl demo exec
it throws the following errortall-lock-23197
careful-processor-58786
10/11/2022, 2:17 PMtall-lock-23197
tall-lock-23197
careful-processor-58786
10/11/2022, 2:18 PMtall-lock-23197
glamorous-carpet-83516
10/11/2022, 3:55 PMdocker tag flyte_select_wf:v1 <docker_account>/flyte_select_wf:v1
docker push <docker_account>/flyte_select_wf:v1
careful-processor-58786
10/11/2022, 5:53 PMcareful-processor-58786
10/11/2022, 5:54 PMfreezing-airport-6809
freezing-airport-6809
thankful-minister-83577
flytectl demo
environment runs a docker in docker image - there’s a separate docker daemon in the container (the container that’s running k3s). To get around this you can do a couple things - 1 suggested above, push to an external docker registry like dockerhub or ghcr, or 2, run the demo environment with flytectl demo start --source .
This will mount in the current folder into the docker in docker container, and you can build your image inside, where it will be visible to the k3s cluster. There’s a longer term fix coming out in the next couple weeks where the demo environment will just spin up a local docker registry that is pushable right from your desktop environment but pullable from within k3s. this means we can move away from the --source
flag since you won’t need to mount your code into the d-in-d container.