[BUG] dependency failed to start: container sim-with-ollama-ollama-1 is unhealthy
Describe the bug Failed attempt at Using Local Models with Ollama through docker compose
To Reproduce Steps to reproduce the behavior:
Gygabyte laptop On Windows 11, Go RAM, core i9, nvidia RTX , docker desktop
git clone https://github.com/simstudioai/sim.git cd sim docker compose -f docker-compose.ollama.yml --profile setup up -d
Expected behavior Being able to go to http://localhost:3000/ after container launch
Additional context Looks different from: [BUG] Docker installation with the Ollama option is NOT working (Win11) #1204
** windows logs** PS E:\docker> git clone https://github.com/simstudioai/sim.git Cloning into 'sim'... remote: Enumerating objects: 48021, done. remote: Counting objects: 100% (2738/2738), done. remote: Compressing objects: 100% (1184/1184), done. remote: Total 48021 (delta 2092), reused 1732 (delta 1528), pack-reused 45283 (from 3) Receiving objects: 100% (48021/48021), 262.52 MiB | 40.21 MiB/s, done. Resolving deltas: 100% (26871/26871), done. Updating files: 100% (2024/2024), done. PS E:\docker> ls
Directory: E:\docker
Mode LastWriteTime Length Name
d----- 9/9/2025 8:19 PM sim
PS E:\docker> cd sim PS E:\docker\sim> ls
Directory: E:\docker\sim
Mode LastWriteTime Length Name
d----- 9/9/2025 8:19 PM .devcontainer d----- 9/9/2025 8:19 PM .github d----- 9/9/2025 8:19 PM .husky d----- 9/9/2025 8:19 PM apps d----- 9/9/2025 8:19 PM docker d----- 9/9/2025 8:19 PM helm d----- 9/9/2025 8:19 PM packages d----- 9/9/2025 8:19 PM scripts -a---- 9/9/2025 8:19 PM 118 .dockerignore -a---- 9/9/2025 8:19 PM 880 .gitignore -a---- 9/9/2025 8:19 PM 20 .npmrc -a---- 9/9/2025 8:19 PM 4247 biome.json -a---- 9/9/2025 8:19 PM 599936 bun.lock -a---- 9/9/2025 8:19 PM 794 bunfig.toml -a---- 9/9/2025 8:19 PM 3046 docker-compose.local.yml -a---- 9/9/2025 8:19 PM 5021 docker-compose.ollama.yml -a---- 9/9/2025 8:19 PM 3088 docker-compose.prod.yml -a---- 9/9/2025 8:19 PM 11347 LICENSE -a---- 9/9/2025 8:19 PM 100 NOTICE -a---- 9/9/2025 8:19 PM 1603 package.json -a---- 9/9/2025 8:19 PM 547 railway.json -a---- 9/9/2025 8:19 PM 9769 README.md -a---- 9/9/2025 8:19 PM 611 turbo.json
PS E:\docker\sim> docker compose -f docker-compose.ollama.yml --profile setup up -d unable to get image 'sim-with-ollama-realtime': error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/images/sim-with-ollama-realtime/json": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified. PS E:\docker\sim> docker compose -f docker-compose.prod.yml up -d unable to get image 'ghcr.io/simstudioai/simstudio:latest': error during connect: Get "http://%2F%2F.%2Fpipe%2FdockerDesktopLinuxEngine/v1.47/images/ghcr.io/simstudioai/simstudio:latest/json": open //./pipe/dockerDesktopLinuxEngine: The system cannot find the file specified. PS E:\docker\sim> docker compose -f docker-compose.ollama.yml --profile setup up -d [+] Running 23/23 ✔ model-setup Pulled 67.7s ✔ db Pulled 16.8s ✔ 99105f432776 Download complete 2.7s ✔ 93c86b7657ed Download complete 4.0s ✔ 3166755df2cd Download complete 2.7s ✔ b1badc6e5066 Download complete 5.4s ✔ c1499316ffcf Download complete 3.3s ✔ a20e5e3a5676 Download complete 2.7s ✔ ee33dce80c14 Download complete 2.7s ✔ 6e6162b82c96 Download complete 5.0s ✔ 5a24baf7c78c Download complete 2.7s ✔ 55772d575d05 Download complete 2.7s ✔ 678fdefd6cc3 Download complete 2.7s ✔ 5332a007b185 Download complete 2.7s ✔ 7960bd43e7e7 Download complete 2.7s ✔ 1eef446a2d11 Download complete 2.7s ✔ 717379dd4557 Download complete 10.4s ✔ 1752a03d130b Download complete 2.7s ✔ ollama Pulled 67.7s ✔ 45fafbfc0e26 Download complete 48.9s ✔ ae509cee7641 Download complete 5.0s ✔ a345b09f53f0 Download complete 2.6s ✔ 76249c7cd503 Download complete 5.4s [+] Building 0.0s (0/0) docker:desktop-linux 2025/09/09 20:25:27 http2: server: error reading preface from client //./pipe/dockerDesktopLinuxEngine: file has already bee[+] Building 646.0s (54/54) FINISHED docker:desktop-linux => [realtime internal] load build definition from realtime.Dockerfile 0.0s => => transferring dockerfile: 1.46kB 0.0s => [migrations internal] load build definition from db.Dockerfile 0.0s => => transferring dockerfile: 1.03kB 0.0s => [simstudio internal] load metadata for docker.io/oven/bun:alpine 2.0s => [realtime internal] load .dockerignore 0.0s => => transferring context: 158B 0.0s => [migrations internal] load .dockerignore 0.0s => => transferring context: 158B 0.0s => [migrations internal] load build context 0.8s => => transferring context: 8.33MB 0.7s => [simstudio base 1/1] FROM docker.io/oven/bun:alpine@sha256:02564b43c26a0dc156ff4b70d7ccb68ebae5c486771d699ed1520c 4.3s => => resolve docker.io/oven/bun:alpine@sha256:02564b43c26a0dc156ff4b70d7ccb68ebae5c486771d699ed1520c42e6ac5cb0 0.0s => => sha256:4926b633e47783e48028633c5529b118b4f15e3995d68472a60705e5695cf4e1 3.35MB / 3.35MB 0.5s => => sha256:088ee8517ceed03364d6d7aba574ebf7f63efda4682d257836606b1f664d4880 144B / 144B 0.3s => => sha256:89903a090bf9a90cb0a9ab27809718f42e8ae70731884f2ef34188c24f73a040 185B / 185B 0.3s => => sha256:22692eecefd80feda6f2d15ae98cfd529d01eb05ebd54b03f88ed7e9337ced00 295B / 295B 0.3s => => sha256:59c772f2b7a1dd8885cd9a83ec322b3ca5681c074302f27d94c1067c806c8e7e 37.80MB / 37.80MB 2.7s => => sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 3.62MB / 3.62MB 0.5s => => extracting sha256:01d036902a3ca86e8793073c8094cba44d83a38953a489ac0641f3de017fe2d2 0.2s => => extracting sha256:59c772f2b7a1dd8885cd9a83ec322b3ca5681c074302f27d94c1067c806c8e7e 0.9s => => extracting sha256:22692eecefd80feda6f2d15ae98cfd529d01eb05ebd54b03f88ed7e9337ced00 0.0s => => extracting sha256:89903a090bf9a90cb0a9ab27809718f42e8ae70731884f2ef34188c24f73a040 0.0s => => extracting sha256:4926b633e47783e48028633c5529b118b4f15e3995d68472a60705e5695cf4e1 0.1s => => extracting sha256:088ee8517ceed03364d6d7aba574ebf7f63efda4682d257836606b1f664d4880 0.0s => [realtime internal] load build context 20.4s => => transferring context: 353.71MB 20.4s => CACHED [simstudio builder 1/9] WORKDIR /app 0.7s => CACHED [simstudio deps 1/7] RUN apk add --no-cache libc6-compat 1.7s => [migrations deps 3/5] COPY package.json bun.lock turbo.json ./ 0.1s => [migrations deps 4/5] COPY apps/sim/package.json ./apps/sim/db/ 0.1s => [migrations deps 5/5] RUN bun install --omit dev --ignore-scripts && bun install --omit dev --ignore-scripts 10.0s => CACHED [simstudio deps 2/7] WORKDIR /app 0.1s => CACHED [simstudio deps 3/7] RUN bun install -g turbo 3.8s => [migrations runner 3/8] COPY --from=deps /app/node_modules ./node_modules 2.1s => [migrations runner 4/8] COPY apps/sim/drizzle.config.ts ./apps/sim/drizzle.config.ts 0.2s => [migrations runner 5/8] COPY apps/sim/db ./apps/sim/db 0.1s => [migrations runner 6/8] COPY apps/sim/package.json ./apps/sim/package.json 0.1s => [migrations runner 7/8] COPY apps/sim/lib/env.ts ./apps/sim/lib/env.ts 0.1s => [migrations runner 8/8] WORKDIR /app/apps/sim 0.1s => [migrations] exporting to image 36.2s => => exporting layers 30.2s => => exporting manifest sha256:78112ffbe591fa191eff7d34cc72a9001716c9559f031a63fddcde6bf893dd82 0.0s => => exporting config sha256:c45de4e2e1fef0efdc2918b97ffde3a7c2acc3adec4fa62a794ad7ff96f522b2 0.0s => => exporting attestation manifest sha256:cabcaf689a9d357aa869bc264c63f1dcfbed5da756f2f6e761baec390c23aa29 0.0s => => exporting manifest list sha256:aeb19414b428b6c4d0eeac11026a7f681585d8927a7312f1443eb46713bbc5dc 0.0s => => naming to docker.io/library/sim-with-ollama-migrations:latest 0.0s => => unpacking to docker.io/library/sim-with-ollama-migrations:latest 5.8s => [realtime deps 4/7] COPY package.json bun.lock ./ 0.1s => [realtime deps 5/7] RUN mkdir -p apps 0.3s => [realtime deps 6/7] COPY apps/sim/package.json ./apps/sim/package.json 0.1s => [realtime deps 7/7] RUN bun install --omit dev --ignore-scripts 14.2s => [realtime builder 2/3] COPY --from=deps /app/node_modules ./node_modules 8.6s => [realtime builder 3/3] COPY . . 1.2s => [realtime runner 2/4] COPY --from=builder /app/apps/sim ./apps/sim 0.4s => [migrations] resolving provenance for metadata file 0.0s => [realtime runner 3/4] COPY --from=builder /app/node_modules ./node_modules 9.2s => [realtime runner 4/4] COPY --from=builder /app/package.json ./package.json 0.5s => [realtime] exporting to image 69.0s => => exporting layers 48.2s => => exporting manifest sha256:a2a50f2a0b1513c1c7e682a0dbe7f529ab1ba859cc0987ff70989e10e0e2a900 0.0s => => exporting config sha256:b9895b59953ab6a194b04bf8c1903956a05834ee670164ca19cc6078402a9fa0 0.0s => => exporting attestation manifest sha256:68c4d8c6cde8684e8a754303fa737d0ab3e6c72dbfc4cf27d21c06de347d710b 0.0s => => exporting manifest list sha256:9998d8dc64536d1cd68f8c6c1f87a56d1befed31588c4214b07be886b817432b 0.0s => => naming to docker.io/library/sim-with-ollama-realtime:latest 0.0s => => unpacking to docker.io/library/sim-with-ollama-realtime:latest 20.7s => [realtime] resolving provenance for metadata file 0.0s => [simstudio internal] load build definition from app.Dockerfile 0.0s => => transferring dockerfile: 1.64kB 0.0s => [simstudio internal] load .dockerignore 0.0s => => transferring context: 158B 0.0s => [simstudio internal] load build context 13.6s => => transferring context: 345.39MB 13.6s => [simstudio builder 2/9] RUN bun install -g turbo 3.0s => CACHED [simstudio deps 4/7] COPY package.json bun.lock ./ 0.0s => CACHED [simstudio deps 5/7] RUN mkdir -p apps 0.0s => CACHED [simstudio deps 6/7] COPY apps/sim/package.json ./apps/sim/package.json 0.0s => CACHED [simstudio deps 7/7] RUN bun install --omit dev --ignore-scripts 0.0s => [simstudio builder 3/9] COPY --from=deps /app/node_modules ./node_modules 11.5s => [simstudio builder 4/9] COPY . . 1.4s => [simstudio builder 5/9] RUN bun install --omit dev --ignore-scripts 4.5s => [simstudio builder 6/9] WORKDIR /app/apps/sim 0.3s => [simstudio builder 7/9] RUN bun install sharp 4.2s => [simstudio builder 8/9] WORKDIR /app 0.1s => [simstudio builder 9/9] RUN bun run build 456.1s => [simstudio runner 2/4] COPY --from=builder /app/apps/sim/public ./apps/sim/public 0.1s => [simstudio runner 3/4] COPY --from=builder /app/apps/sim/.next/standalone ./ 1.1s => [simstudio runner 4/4] COPY --from=builder /app/apps/sim/.next/static ./apps/sim/.next/static 0.1s => [simstudio] exporting to image 12.6s => => exporting layers 9.7s => => exporting manifest sha256:0f167cb514e651def14afd2da0c286b0ff6b8266d424183e6bfbec01e9fb8d10 0.0s => => exporting config sha256:32716e182bbcd0f04d0df0ec785e18ee09a45951983f66ae169b1a0f774936fd 0.0s => => exporting attestation manifest sha256:f7c17f4c357d2896fbae1aea8176a9c7b5081f8cd99f0f241c319c44720ca45d 0.0s => => exporting manifest list sha256:6851c97b27c41dd41f63720c1e36cbf293ee756496a6860b9d9570ab157b3499 0.0s => => naming to docker.io/library/sim-with-ollama-simstudio:latest 0.0s => => unpacking to docker.io/library/sim-with-ollama-simstudio:latest 2.7s => [simstudio] resolving provenance for metadata file 0.0s [+] Running 12/12 ✔ migrations Built 0.0s ✔ realtime Built 0.0s ✔ simstudio Built 0.0s ✔ Network sim-with-ollama_default Created 0.2s ✔ Volume "sim-with-ollama_ollama_data" Created 0.0s ✔ Volume "sim-with-ollama_postgres_data" Created 0.0s ✔ Container sim-with-ollama-db-1 Healthy 7.5s ✘ Container sim-with-ollama-ollama-1 Error 73.0s ✔ Container sim-with-ollama-model-setup-1 Created 0.1s ✔ Container sim-with-ollama-migrations-1 Exited 8.4s ✔ Container sim-with-ollama-realtime-1 Healthy 12.3s ✔ Container sim-with-ollama-simstudio-1 Created 0.1s dependency failed to start: container sim-with-ollama-ollama-1 is unhealthy
Hi,
experienced the same issue. It seems the Ollama base image is missing the command curl thus the health check is failing. Other health checks are performed with wget which is also unavailable in the base image.
docker inspect tells you the details:
docker inspect --format='{{json .State.Health}}' sim-with-ollama-ollama-1 | jq
{
"Status": "unhealthy",
"FailingStreak": 405,
"Log": [
{
"Start": "2025-09-11T21:06:43.562319928+02:00",
"End": "2025-09-11T21:06:43.660504093+02:00",
"ExitCode": -1,
"Output": "OCI runtime exec failed: exec failed: unable to start container process: exec: "curl": executable file not found in $PATH: unknown"
},
I tried several other ways: using netcat, check for open tcp socket but nothing worked so far:/. Maybe others have better ideas
For running without the healthcheck you can simply edit the respective lines in docker-compose.ollama.yml and set it 'true':
healthcheck:
test: ["CMD", "true"]
this should have been resolved by the latest image, let me know if you are still having issues @hawkbee1 @fmoorhof
@waleedlatif1 thanks a lot. Build is Healthy and works fine:). Guess we can close the issue...
this should have been resolved by the latest image, let me know if you are still having issues @hawkbee1 @fmoorhof
resolved in #1405 with c017027 i assume.
yes it's working fine now