what is the correct way to use the existing flyte-sandbox-lite image or (other local image) to register a task to a remote cluster programmatically.
The task failed to run in the remote cluster.
[1/1] currentAttempt done. Last Error: USER::Pod failed. No message received from kubernetes.
[abdmkkdhj6rvsx6cvkww-n0-0] terminated with exit code (1). Reason [Error]. Message:
Starting Docker daemon...
Terminated
Timed out while waiting for dockerd to start
.
g
glamorous-carpet-83516
10/25/2022, 7:10 PM
I think using sandbox-lite image here isn’t correct. sandbox-lite image is used for running a flyte cluster in the docker container.
You could build a custom image for your task, and this image will only contain the code and python dependencies. Check out this example