Uh oh!
There was an error while loading. Please reload this page.
Fix image load from file descriptor input - #1832
Open
d3v07 wants to merge 1 commit into
Open
Conversation
d3v07force-pushed
the
fix/image-load-dev-fd-input
branch
from
June 25, 2026 17:49
854db14 to
ce8d26bCompared3v07
marked this pull request as ready for review
June 25, 2026 17:55
stephenlclarke added a commit
to stephenlclarke/container-compose
that referenced
this pull request
Jul 12, 2026
Supports Docker Compose cp - archive streams for stdin-to-service and service-to-stdout copies by staging tar streams through the compose layer and existing Apple path-copy APIs. Pins stephenlclarke/containerization@79b675d so the runtime carries the apple/container#1927 copy lifecycle regression coverage from apple/containerization#799. Upstream scan found no direct Docker Compose copy-stream PR to import; adjacent Apple work reviewed: apple/container#963, apple/containerization#652, apple/container#1832, apple/container#1905. Release-Highlight: Support Docker Compose cp - archive streams for stdin-to-service and service-to-stdout copies; includes apple/container#1927 copy lifecycle fix via apple/containerization#799.
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 freeto 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
--inputpaths direct to avoid unnecessary copying./dev/fd/<n>, and archive copy behavior.Root cause
container image load --input /dev/fd/Naccepts a path that is only meaningful in the CLI process. The image service process cannot reopen that caller-owned descriptor, so the load fails before it can consume the archive.Fixes#1429.
Validation
swift build --target ContainerCommandsswift format lint --recursive Sources/ContainerCommands/Image/ImageLoad.swift Tests/ContainerCommandsTests/ImageLoadTests.swiftgit diff --checkI also ran
swift test --filter ImageLoadTests, but this local environment fails before the filtered test target runs because the active developer directory is Command Line Tools and the test build cannot importTesting/XCTest.BUILDING.mddocuments Xcode 26 as the required active developer directory.