Fix/apple container mounts#1010
Open
vzaliva wants to merge 2 commits intoqwibitai:skill/apple-containerfrom
Open
Fix/apple container mounts#1010vzaliva wants to merge 2 commits intoqwibitai:skill/apple-containerfrom
vzaliva wants to merge 2 commits intoqwibitai:skill/apple-containerfrom
Conversation
Two fixes for Apple Container compatibility: 1. Detect the host IP dynamically by scanning for bridge interfaces created by Apple Container, instead of hardcoding an IP. Falls back to 127.0.0.1 if no bridge interface is found. 2. Skip /dev/null bind mount for .env shadowing on Apple Container — it only supports directory bind mounts, not file or device mounts. Secrets remain secure as they are injected via the credential proxy. Co-Authored-By: Claude Sonnet 4.6 <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.
Type of Change
.claude/skills/Description
Two fixes for Apple Container compatibility:
1. Dynamic host gateway IP detection
The credential proxy was configured with a hardcoded
host.docker.internalhostname,which Apple Container VMs cannot resolve. Instead, detect the host IP at runtime by
scanning for the
bridgeinterface Apple Container creates on the host. Falls back to127.0.0.1with a warning if no bridge interface is found.2. Skip
/dev/nullbind mount on Apple ContainerApple Container only supports directory bind mounts — mounting a character device
(
/dev/null) or regular file fails with "path is not a directory". The.envshadowing mount is now skipped when running under Apple Container. Secrets remain
secure as they are always injected via the credential proxy, never from the mounted
filesystem.
For Skills
(not applicable)