mirror of
https://github.com/docker/compose.git
synced 2026-10-21 11:23:10 +00:00
compose exec doesn't need project
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
9b055c31fe
commit
244834ff12
4 changed files with 11 additions and 34 deletions
|
|
@ -61,7 +61,7 @@ type Service interface {
|
|||
// Remove executes the equivalent to a `compose rm`
|
||||
Remove(ctx context.Context, project *types.Project, options RemoveOptions) error
|
||||
// Exec executes a command in a running service container
|
||||
Exec(ctx context.Context, project *types.Project, opts RunOptions) (int, error)
|
||||
Exec(ctx context.Context, project string, opts RunOptions) (int, error)
|
||||
// Copy copies a file/folder between a service container and the local filesystem
|
||||
Copy(ctx context.Context, project *types.Project, opts CopyOptions) error
|
||||
// Pause executes the equivalent to a `compose pause`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue