Merge pull request #1392 from docker/run_opts

implement -v, -p, --service-ports and --use-aliases on compose run
This commit is contained in:
Guillaume Tardif 2021-03-05 14:52:08 +01:00 committed by GitHub
commit 80822bde44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 139 additions and 60 deletions

View file

@ -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
}