Repository navigation
Conversation
…ose a partial Docker-API compliant listener inside of withExec/terminal at DOCKER_HOST Signed-off-by: Alex <[email protected]>
frantjc
force-pushed
the
docker-api-compatibility
branch
from
July 30, 2026 02:16
4f9c8c9 to
cd2e62b
Compare
frantjc
force-pushed
the
docker-api-compatibility
branch
from
July 30, 2026 18:57
418fa56 to
31bd81a
Compare
Contributor
Author
Contributor
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Contributor
|
This PR was closed because it has been stalled for 7 days with no activity. |
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.
Add support for
experimentalDockerCompatibility: trueonContainer.withExec()andContainer.terminal(), which prompts the Dagger engine to bind a Docker-compatible API on a random available port during the lifetime of the exec/terminal and point Docker clients to it via theDOCKER_HOSTenvironment variable. This is very similar to the way that Dagger-in-Dagger viaexperimentalPrivilegedNesting: trueworks.Only a subset of the Docker API is supported as of writing (the API calls behind
docker runanddocker run -d -p). Support is provided by mapping Docker API requests to equivalent Dagger functionality, largely provided bygithub.com/dagger/dagger/engine/engineutil.ClientAiming to resolve #11710