Pin brain40/ursa-oscar images to linux/amd64 in reference compose - #1
Open
jlconlin wants to merge 1 commit into
Open
Pin brain40/ursa-oscar images to linux/amd64 in reference compose#1jlconlin wants to merge 1 commit into
jlconlin wants to merge 1 commit into
Conversation
The published images are amd64-only, so docker compose pull/up fails outright on Apple Silicon (and other arm64 hosts) with "no matching manifest for linux/arm64/v8". Pinning platform: linux/amd64 lets Docker Desktop run them under emulation instead of erroring out. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
brain40/ursa-oscar-api,-web, and-watcher(and the optional-mcp) images are currently published forlinux/amd64only — nolinux/arm64manifest exists.docker compose pull/docker compose upfails outright with:platform: linux/amd64to each service ininfra/docker-compose.production.ymltells Docker Desktop to run the amd64 images under emulation (Rosetta on macOS) instead of erroring out, so the reference compose works out of the box on arm64 hosts.Note: this is a workaround, not a root-cause fix — publishing true multi-arch images (
docker buildx build --platform linux/amd64,linux/arm64) would let arm64 hosts run natively instead of emulated. Happy to help with that separately if useful.Test plan
docker compose pullsucceeds on Apple Silicon (arm64) with this change, where it previously failed with the manifest error abovedocker compose up -dbrings up all three containers (api, web, watcher) successfullyhttp://localhost:5063