Skip to content

Using Docker Compose as a library #387

@glours

Description

@glours

Tell us about your request
Provide a stable Golang API for Docker Compose to let developers use Compose inside their own development without doing shell out.

Which service(s) is this request for?
Docker Compose

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
We have users asking if they can the cmd or pkg packages as a stable reference to embed Compose inside their own development. For now the answer is that we don't guarantee backward compatibility in Compose internals between 2 versions.
We may consider to make interfaces present in pkg directory more stable and support an API usage of those interfaces.

Are you currently working around the issue?
Not especially but the interfaces of Compose V2 are pretty stable now.

Additional context
docker/compose#9602
docker/compose#9579

Metadata

Metadata

Assignees

Labels

composeImprovements to Docker Compose

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions