MCPcopy
hub / github.com/docker/compose / Export

Method Export

pkg/api/api.go:143–143  ·  pkg/api/api.go::Compose.Export

Export a service container's filesystem as a tar archive

(ctx context.Context, projectName string, options ExportOptions)

Source from the content-addressed store, hash-verified

141 Scale(ctx context.Context, project *types.Project, options ScaleOptions) error
142 // Export a service container's filesystem as a tar archive
143 Export(ctx context.Context, projectName string, options ExportOptions) error
144 // Create a new image from a service container's changes
145 Commit(ctx context.Context, projectName string, options CommitOptions) error
146 // Generate generates a Compose Project from existing containers

Callers 1

runExportFunction · 0.65

Implementers 3

MockComposepkg/mocks/mock_docker_compose_api.go
MockComposeMockRecorderpkg/mocks/mock_docker_compose_api.go
composeServicepkg/compose/compose.go

Calls

no outgoing calls

Tested by

no test coverage detected