Closed Mudryi closed 1 year ago
Have you tried to build this Docker image locally on your machine first? Does it work?
If it does, I'd try to manually build it on a Spotty instance. To do that:
spotty start
-H
flag: spotty sh -H
As i understand this problem potentially happened because of a bad Docker version. Any suggestion on how can i easily change it?
If it's indeed the Docker version, there is a chance that Spotty doesn't pick up the latest Deep Learning AMI anymore. You can find the right AMI ID and force Spotty to use it using the instances[].parameters.amiId
parameter (see Instance Parameters).
And here is the Spotty code that searches for an AMI.
Hi, @apls777 thanks a lot for your advice with building images manually, I cant fix the issue with this image but I change it to python:3.9.17-bullseye and everything works fine.
I have a problem while running
spotty start
in logs there is a problem with the pip installRuntimeError: can't start a new thread
I tried to remove the pip install from the Docker file, the container was built successfully, but after that, i got the same problem if connected via Spotty sh and ran any pip command
As i understand this problem potentially happened because of a bad Docker version. Any suggestion on how can i easily change it?
Here is my Docker file
And here is my spotty file