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

Method Exec

pkg/api/api.go:115–115  ·  view source on GitHub ↗

Exec executes a command in a running service container

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

Source from the content-addressed store, hash-verified

113 Remove(ctx context.Context, projectName string, options RemoveOptions) error
114 // Exec executes a command in a running service container
115 Exec(ctx context.Context, projectName string, options RunOptions) (int, error)
116 // Attach STDIN,STDOUT,STDERR to a running service container
117 Attach(ctx context.Context, projectName string, options AttachOptions) error
118 // Copy copies a file/folder between a service container and the local filesystem

Callers 1

runExecFunction · 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