8000 fix(install): pull the microsandbox base image from mirrors that need no sign-in by adeelahmad · Pull Request #259 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

fix(install): pull the microsandbox base image from mirrors that need no sign-in - #259

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-017a05
Oct 10, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/project-thread-017a05

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Requested by Adeel · project thread

Description

Before: on a Mac with Apple silicon, choosing microsandbox in the installer stopped with error: image error: registry error: Not authorized: url https://index.docker.io/v2/library/python/manifests/3.12-slim-bookworm.

After: install.sh pulls the base image itself before starting the sandbox. It tries mirror.gcr.io, Google's Docker Hub mirror, which needs no sign-in. If that fails it tries public.ecr.aws/docker/library, then Docker Hub itself. The sandbox starts from whichever one answers. If all three fail, the installer shows the last error.

Motivation and Context

This came from Adeel's own install on macOS arm64 with msb v0.7.8. Docker Hub can refuse the pull when the machine has Docker Hub credentials that microsandbox can't use, and it also limits anonymous pulls.

Steps to reproduce (if appropriate):

msb pull mirror.gcr.io/library/python:3.12-slim-bookworm worked with msb 0.7.8. The mirror serves both arm64 and amd64. The microsandbox CI job runs the whole install through the new pull.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change; ! in the title)

Checklist:

  • The title is a Conventional Commit.
  • My code follows the code style of this project (make hooks checks it on commit).
  • I added or updated tests.
  • My change requires documentation updates, and I have updated docs/ accordingly.
  • Users need more than the title to understand it, so I wrote it under ## Unreleased in CHANGELOG.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VvAGWoQxiwkGkk374pvkSh


Generated by Claude Code

… no sign-in

On a Mac, msb's pull of python:3.12-slim-bookworm from Docker Hub failed with "Not
authorized". install.sh now pulls it from mirror.gcr.io, then public.ecr.aws, then
Docker Hub, and starts the sandbox from whichever answered.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VvAGWoQxiwkGkk374pvkSh
@adeelahmad adeelahmad self-assigned this Oct 10, 2026
@adeelahmad
adeelahmad merged commit 1bdd205 into main Oct 10, 2026
9 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-017a05 branch October 10, 2026 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0