Skip to content

Conversation

@glours
Copy link
Contributor

@glours glours commented Oct 23, 2025

This commit prepares the Compose service for SDK usage by abstracting away the hard dependency on command.Cli. The Docker CLI remains the standard path for the CLI tool, but SDK users can now provide custom implementations of streams and context information.

What I did

  • Add interfaces to path custom Context, RegistryAuthProvider and I/O streams
  • CLI adapter to wrap the new interfaces
  • Add new options to pass to NewComposeService

Related issue
#13230

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

@glours glours self-assigned this Oct 23, 2025
This commit prepares the Compose service for SDK usage by abstracting away
the hard dependency on command.Cli. The Docker CLI remains the standard path
for the CLI tool, but SDK users can now provide custom implementations of
streams and context information.

Signed-off-by: Guillaume Lours <[email protected]>
…d transparently returns custom streams when provided via options

Add new Stdout, Stdin and Stderr to Compose API definition

Signed-off-by: Guillaume Lours <[email protected]>
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