Registry / cloud / docker-libcompose

docker-libcompose

JSON →
library0.4.0gogounverified

Go library for managing Docker Compose applications.

go get github.com/docker/libcompose
INSTALL
IMPORT
SIG · DOCKER-LIBCOMPOSE
D
docker-libcompose
cloudgov0.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

libcompose
github.com/docker/libcompose

Creates a new Docker Compose project from a compose file.

package main import ( "fmt" "github.com/docker/libcompose" ) func main() { project, _ := libcompose.NewProject(&libcompose.Context{ ComposeFile: "docker-compose.yml", }) fmt.Println(project.Name) }
Debug
Known issues
gotchaLibrary is no longer actively maintained; consider using Docker Compose V2 or the official compose-go library.
fix
Migrate to github.com/compose-spec/compose-go for ongoing support.
affects: >=0.4.0
Upgrade
Version history
0.4.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
docker-libcompose — go get docker-libcompose · libregistry