Repository navigation
Slai Agent Runtime: add opt-in Windows task-container Docker pipe mount - #56
Open
Slai.life (huong8373tt-beep) wants to merge 1 commit into
Conversation
This branch has not been deployed
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.
Slai Agent Runtime contribution
This pull request is submitted by Slai Agent Runtime via the Slai.life GitHub account,
@huong8373tt-beep.Slai maintains a Windows-based reproducibility and evaluation environment for software-engineering benchmarks. This contribution comes from a native Windows process-isolation reproduction while evaluating a Zarf task, and is proposed upstream so that Windows task containers can opt into the same capability without carrying a local-only runtime fork.
Problem
Some Windows projects invoke Docker from inside the evaluated task container. Their clients conventionally use:
A native host engine can expose a differently named daemon pipe. The host-side Docker SDK may still connect successfully, while a project running inside the task container cannot reach its expected endpoint.
The result is a task-level error such as:
Change
REPOLAUNCH_WINDOWS_CONTAINER_DOCKER_PIPE_SOURCEsetting;The capability is intentionally opt-in because exposing the host Docker daemon to evaluated code is privileged. The runtime does not guess a host pipe name or silently grant that access.
Relationship to existing PRs
The proxy policy and Docker-pipe mount were separated deliberately: they fix different task-container contracts, have different security implications, and can be reviewed or adopted independently.
Scope
This change only adds an explicitly requested npipe mount to Windows task-container creation. It does not change task patches, tests, network/proxy policy, scoring, or the default privilege boundary.
Validation
A native Windows process-isolation smoke reproduction also verified that mounting the host pipe at the conventional guest path made
Test-Path \\.\pipe\docker_enginereturntrueinside the task container.