mirror of
https://github.com/docker/compose.git
synced 2026-08-04 06:38:45 +00:00
Merge pull request #9004 from ndeloof/cp_stopped
compose cp doesn't need a full project and can copy from stopped containers
This commit is contained in:
commit
9e52e9fbe3
5 changed files with 21 additions and 20 deletions
|
|
@ -63,7 +63,7 @@ type Service interface {
|
|||
// Exec executes a command in a running service container
|
||||
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
|
||||
Copy(ctx context.Context, project string, options CopyOptions) error
|
||||
// Pause executes the equivalent to a `compose pause`
|
||||
Pause(ctx context.Context, project string, options PauseOptions) error
|
||||
// UnPause executes the equivalent to a `compose unpause`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue