-
Notifications
You must be signed in to change notification settings - Fork 114
Description
π Running a Docker image on Thorium/Minikube FAILS :(
I am unable to use a locally built Docker image with Thorium. Any pod I try to run with the image either fails to start or crashes immediately. I cannot run jobs or pipelines with it, nor get outputs from the pod.
Steps To reproduce
- Build the Docker image locally, e.g.
thorium/exiftool:latest. - Load the image into Minikube:
minikube image load thorium/exiftool:latest. - Attempt to run a pod using the image, for example:
minikube kubectl -- run exiftool-test \ --image=thorium/exiftool:latest \ --restart=Never \ --namespace=thorium \ --command -- python3 /app/run_exiftool.py /tmp/thorium/samples/test.jpg - Check pod status and logs.
Expected behavior
The pod should start and run the script successfully, producing output. I should be able to run jobs or pipelines using the image through Thorium UI or CLI.
Observed behavior
Pods often fail with ErrImagePull or ImagePullBackOff.
The /tmp/thorium/ path inside the pod does not exist in my Minikube setup.
Even if the pod runs, accessing files or outputs is problematic.
For example, the ClamAV pod worked from CLI, but the ExifTool pod could not.
Additional info / Logs>>>>
Traceback (most recent call last):
File "/app/run_exiftool.py", line 57, in
with open("/tmp/thorium/results", "w") as f
IsADirectoryError: [Errno 21] Is a directory: '/tmp/thorium/results'