Skip to content

Add register-binfmt script - #2

Closed
MementoRC wants to merge 1 commit into
mainfrom
register-binfmt
Closed

MementoRC wants to merge 1 commit into
mainfrom
register-binfmt

Conversation

@MementoRC

Copy link
Copy Markdown
Owner

Review copy. Upstream follow-up to conda-forge#339.

Adds /opt/docker/bin/register-binfmt, which registers the image's aarch64-native QEMU emulators with the host's binfmt_misc:

docker run --rm --privileged --entrypoint /opt/docker/bin/register-binfmt IMAGE

Targets whose emulator is not present in the image are skipped, so the same script serves linux-anvil and linux-anvil-cuda.

With this, the aarch64 branch in conda-forge/conda-smithy#2688 becomes the single docker run line above.

Registers the image's aarch64-native QEMU emulators with the host's
binfmt_misc:

    docker run --rm --privileged \
        --entrypoint /opt/docker/bin/register-binfmt IMAGE

Targets whose emulator is not present in the image are skipped, so the
same script serves both images.
@MementoRC

Copy link
Copy Markdown
Owner Author

Opened upstream as conda-forge#340; closing this review copy.

@MementoRC MementoRC closed this Sep 21, 2026
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.

1 participant