mirror of
https://github.com/docker/compose.git
synced 2026-08-31 06:49:15 +00:00
implement -v, -p, --service-ports and --use-aliases on compose run
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
91b39d0772
commit
d08255c4ff
5 changed files with 139 additions and 60 deletions
|
|
@ -151,20 +151,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