[GH-ISSUE #12133] Ollama docker build and push failures #33823

Open
opened 2026-04-22 16:53:55 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @esara on GitHub (Aug 31, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/12133

What is the issue?

the current docker push script fails

Relevant log output

$ ./scripts/push_docker.sh
[+] Building 0.0s (0/0)                                                                                                                                                                                                                                          docker:desktop-linux
ERROR: failed to build: Multi-platform build is not supported for the docker driver.
Switch to a different driver, or turn on the containerd image store, and try again.
Learn more at https://docs.docker.com/go/build-multi-platform/

And the dockerfile has warnings, because of hardcoded platform strings

 2 warnings found (use docker --debug to expand):
 - FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/arm64" (line 58)
 - FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/arm64" (line 69)
Dockerfile:12

OS

building on macos arm and running on linux arm

CPU/GPU

NVIDIA Jetson Orin Nano

Ollama version

previously running Ollama 0.5.7 because that is the latest that still runs on Orin Nano Jetpack 6.2
see https://github.com/ollama/ollama/issues/9503 -> trying to build a newer version

Originally created by @esara on GitHub (Aug 31, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/12133 ### What is the issue? the current docker push script fails ### Relevant log output ``` $ ./scripts/push_docker.sh [+] Building 0.0s (0/0) docker:desktop-linux ERROR: failed to build: Multi-platform build is not supported for the docker driver. Switch to a different driver, or turn on the containerd image store, and try again. Learn more at https://docs.docker.com/go/build-multi-platform/ ``` And the dockerfile has warnings, because of hardcoded platform strings ``` 2 warnings found (use docker --debug to expand): - FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/arm64" (line 58) - FromPlatformFlagConstDisallowed: FROM --platform flag should not use constant value "linux/arm64" (line 69) Dockerfile:12 ``` ### OS building on macos arm and running on linux arm ### CPU/GPU NVIDIA Jetson Orin Nano ### Ollama version previously running Ollama 0.5.7 because that is the latest that still runs on Orin Nano Jetpack 6.2 see https://github.com/ollama/ollama/issues/9503 -> trying to build a newer version
GiteaMirror added the bug label 2026-04-22 16:53:55 -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#33823