[GH-ISSUE #3521] Run ollama list/pull got an error #48682

Closed
opened 2026-04-28 09:05:33 -05:00 by GiteaMirror · 9 comments
Owner

Originally created by @imagebody on GitHub (Apr 7, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/3521

What is the issue?

I run ollama in docker container,like this:

ollama pull llama2:70b

Then, I get an error:
Error: something went wrong, please see the ollama server logs for details

What did you expect to see?

No response

Steps to reproduce

No response

Are there any recent changes that introduced the issue?

No response

OS

Linux

Architecture

No response

Platform

Docker

Ollama version

No response

GPU

No response

GPU info

No response

CPU

No response

Other software

No response

Originally created by @imagebody on GitHub (Apr 7, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/3521 ### What is the issue? I run ollama in docker container,like this: ollama pull llama2:70b Then, I get an error: Error: something went wrong, please see the ollama server logs for details ### What did you expect to see? _No response_ ### Steps to reproduce _No response_ ### Are there any recent changes that introduced the issue? _No response_ ### OS Linux ### Architecture _No response_ ### Platform Docker ### Ollama version _No response_ ### GPU _No response_ ### GPU info _No response_ ### CPU _No response_ ### Other software _No response_
GiteaMirror added the bug label 2026-04-28 09:05:33 -05:00
Author
Owner

@xiehongxin commented on GitHub (Apr 7, 2024):

What docker image are you using?

<!-- gh-comment-id:2041380008 --> @xiehongxin commented on GitHub (Apr 7, 2024): What docker image are you using?
Author
Owner

@xiehongxin commented on GitHub (Apr 7, 2024):

I try to run ollama in ubuntu:18.04 image, and it success!

this is my command:

# docker run -itd --name ollama_lab ubuntu:18.04
# docker exec -it ollama_lab bash
# apt update
# apt install curl
# curl -fsSL https://ollama.com/install.sh | sh

because of use docker, so the install.sh can not create ollama service success

# ollama --version
Warning: could not connect to a running Ollama instance
Warning: client version is 0.1.30

so you should be run ollama serve manually

ollama serve &

because of memory limit, i try small model

ollama run qwen:0.5b

and it success! maybe you can try other model

<!-- gh-comment-id:2041385351 --> @xiehongxin commented on GitHub (Apr 7, 2024): I try to run ollama in ubuntu:18.04 image, and it success! this is my command: ```shell # docker run -itd --name ollama_lab ubuntu:18.04 # docker exec -it ollama_lab bash # apt update # apt install curl # curl -fsSL https://ollama.com/install.sh | sh ``` because of use docker, so the install.sh can not create ollama service success ```shell # ollama --version Warning: could not connect to a running Ollama instance Warning: client version is 0.1.30 ``` so you should be run ollama serve manually ```shell ollama serve & ``` because of memory limit, i try small model ```shell ollama run qwen:0.5b ``` and it success! maybe you can try other model
Author
Owner

@vishnu-dev commented on GitHub (Apr 10, 2024):

I have the exact same issue. I tried everything, but still doesn't work. #3526

<!-- gh-comment-id:2047377319 --> @vishnu-dev commented on GitHub (Apr 10, 2024): I have the exact same issue. I tried everything, but still doesn't work. #3526
Author
Owner

@xiehongxin commented on GitHub (Apr 10, 2024):

您好,谢泓鑫已收到您的邮件,查收后会尽快给您答复,辛苦您了,祝好!

<!-- gh-comment-id:2047378407 --> @xiehongxin commented on GitHub (Apr 10, 2024): 您好,谢泓鑫已收到您的邮件,查收后会尽快给您答复,辛苦您了,祝好!
Author
Owner

@pdevine commented on GitHub (Apr 12, 2024):

@imagebody Can you attach the server logs? What type of system are you running on and how much memory is there?

<!-- gh-comment-id:2052535313 --> @pdevine commented on GitHub (Apr 12, 2024): @imagebody Can you attach the server logs? What type of system are you running on and how much memory is there?
Author
Owner

@vishnu-dev commented on GitHub (Apr 12, 2024):

@imagebody Can you attach the server logs? What type of system are you running on and how much memory is there?

Could you please take a look at issue #3526 ? I have included all the details mentioned. I have the same issue.

<!-- gh-comment-id:2052545668 --> @vishnu-dev commented on GitHub (Apr 12, 2024): > @imagebody Can you attach the server logs? What type of system are you running on and how much memory is there? Could you please take a look at issue #3526 ? I have included all the details mentioned. I have the same issue.
Author
Owner

@RedemptionC commented on GitHub (Apr 26, 2024):

@imagebody Can you attach the server logs? What type of system are you running on and how much memory is there?

the problem is where can I get the server logs? I'm using Apple Silicon Mac and had this issue.

<!-- gh-comment-id:2078714021 --> @RedemptionC commented on GitHub (Apr 26, 2024): > @imagebody Can you attach the server logs? What type of system are you running on and how much memory is there? the problem is where can I get the server logs? I'm using Apple Silicon Mac and had this issue.
Author
Owner

@pdevine commented on GitHub (May 6, 2024):

Hey @RedemptionC, sorry for the slow response. Please refer to the troubleshooting guide which explains how to get the logs for each platform (mac/linux/windows/docker).

<!-- gh-comment-id:2096982589 --> @pdevine commented on GitHub (May 6, 2024): Hey @RedemptionC, sorry for the slow response. Please refer to the [troubleshooting guide](https://github.com/ollama/ollama/blob/main/docs/troubleshooting.md#how-to-troubleshoot-issues) which explains how to get the logs for each platform (mac/linux/windows/docker).
Author
Owner

@pdevine commented on GitHub (May 18, 2024):

I'm going to go ahead and close the issue. Please feel free to comment and we can reopen if you're still seeing the issue.

<!-- gh-comment-id:2118631389 --> @pdevine commented on GitHub (May 18, 2024): I'm going to go ahead and close the issue. Please feel free to comment and we can reopen if you're still seeing the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#48682