[PR #1909] [CLOSED] Adds HEALTHCHECK to Dockerfile #15991

Closed
opened 2026-04-16 05:13:26 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1909
Author: @jamesbraza
Created: 1/10/2024
Status: Closed

Base: mainHead: adding-healthcheck


📝 Commits (1)

  • ec4f5fb Adds HEALTHCHECK to the Dockerfile

📊 Changes

1 file changed (+3 additions, -2 deletions)

View changed files

📝 Dockerfile (+3 -2)

📄 Description

Adds HEALTHCHECK to the Dockerfile for a fully functioning status

> docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama def456
abc123
> docker container ls
CONTAINER ID   IMAGE                    COMMAND                  CREATED         STATUS                   PORTS                      NAMES
abc123         def456                   "/bin/ollama serve"      8 seconds ago   Up 7 seconds (healthy)   0.0.0.0:11434->11434/tcp   ollama

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/1909 **Author:** [@jamesbraza](https://github.com/jamesbraza) **Created:** 1/10/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `adding-healthcheck` --- ### 📝 Commits (1) - [`ec4f5fb`](https://github.com/ollama/ollama/commit/ec4f5fb5fb489ec996acb65e293e6b71b87a1afe) Adds HEALTHCHECK to the Dockerfile ### 📊 Changes **1 file changed** (+3 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `Dockerfile` (+3 -2) </details> ### 📄 Description Adds `HEALTHCHECK` to the `Dockerfile` for a fully functioning status - Confirmed proper check in https://github.com/jmorganca/ollama/issues/1378 - Enables the below (meaningful and continually updated STATUS) ```bash > docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama def456 abc123 > docker container ls CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES abc123 def456 "/bin/ollama serve" 8 seconds ago Up 7 seconds (healthy) 0.0.0.0:11434->11434/tcp ollama ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-16 05:13:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#15991