mirror of
https://github.com/docker/compose.git
synced 2026-06-26 03:04:15 +00:00
Merge pull request #1392 from docker/run_opts
implement -v, -p, --service-ports and --use-aliases on compose run
This commit is contained in:
commit
80822bde44
5 changed files with 139 additions and 60 deletions
|
|
@ -156,20 +156,21 @@ type RemoveOptions struct {
|
|||
|
||||
// RunOptions options to execute compose run
|
||||
type RunOptions struct {
|
||||
Name string
|
||||
Service string
|
||||
Command []string
|
||||
Entrypoint []string
|
||||
Detach bool
|
||||
AutoRemove bool
|
||||
Writer io.Writer
|
||||
Reader io.Reader
|
||||
Tty bool
|
||||
WorkingDir string
|
||||
User string
|
||||
Environment []string
|
||||
Labels types.Labels
|
||||
Privileged bool
|
||||
Name string
|
||||
Service string
|
||||
Command []string
|
||||
Entrypoint []string
|
||||
Detach bool
|
||||
AutoRemove bool
|
||||
Writer io.Writer
|
||||
Reader io.Reader
|
||||
Tty bool
|
||||
WorkingDir string
|
||||
User string
|
||||
Environment []string
|
||||
Labels types.Labels
|
||||
Privileged bool
|
||||
UseNetworkAliases bool
|
||||
// used by exec
|
||||
Index int
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue