-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: OllamaContainer start fails on non-nvidia desktop after Docker Desktop updated from 4.33.1 to 4.34.2 #9287
Labels
Comments
Cross reported in docker/for-win#14331 |
Hi @justincranford, thanks for the report. can you please execute the command |
I am currently downgraded to Docker Desktop 4.33.1. Here is the output. docker info --format='{{json .Runtimes}}'
|
I reapplied the 4.34.2 update. The output of that command is different. docker info --format='{{json .Runtimes}}'
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Module
Ollama
Testcontainers version
1.20.1
Using the latest Testcontainers version?
Yes
Host OS
Windows 11
Host Arch
x86
Docker version
Docker Desktop 4.33.1
Docker Desktop 4.34.2
What happened?
While doing a few test runs with OllamaContainer start, Docker Desktop for Windows offered to update itself. I did it, and immediately after the update I got this new error during OllamaContainer startup.
Relevant log output
Additional Information
I tried downgrading from 4.34.2 to 4.33.1, and the new OllamaContainer startup error went away.
Out of curiosity, I updated to 4.34.2 again and debugged
OllamaContainer.java
. I think I found a probable cause.docker info
CLI against Docker Desktop 4.33.1 =>Runtimes: io.containerd.runc.v2 runc
docker info
CLI against Docker Desktop 4.34.2 =>Runtimes: io.containerd.runc.v2 nvidia runc
=> Newnvidia
runtime addednvidia
runtime is listed indocker info
output.To confirm my theory, I ran these docker CLI commands against Docker Desktop 4.34.2. I was able to reproduce the error logged by OllamaContainer startup.
Start
ollama/ollama:0.3.12
with default runtime => SuccessStart
ollama/ollama:0.3.12
withnvidia
runtime => Failure with same error logged by OllamaContainerI think the
nvidia
runtime check in OllamaContainer.java worked OK up to Docker Desktop 4.33.x, but the change in 4.34 broke that check.If you know of a workaround, I would be happy to try it. However, I did a quick search and I don't think Docker Desktop offers an option to remove, hide, or disable the
nvidia
runtime. For now, I am unblocked by downgrading to 4.33.1.BTW, I am guessing other Win platforms are affected, but I only have the AMD 7600 iGPU to try an reproduce:
The text was updated successfully, but these errors were encountered: