Adwitiya
10/11/2022, 7:14 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 imagecurrentAttempt done. Last Error: USER::containers with unready status: [a4vlxhxkkr8mkxh92lw9-n0-0]|Back-off pulling image "flyte_select_wf:latest"
Samhita Alla
flytectl demo exec -- docker build . --tag "flyte_select_wf:v1"
?Adwitiya
10/11/2022, 2:17 PMSamhita Alla
Adwitiya
10/11/2022, 2:18 PMSamhita Alla
Kevin Su
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
Adwitiya
10/11/2022, 5:53 PMKetan (kumare3)
Yee
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.