mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
This option lives in the create options, not the run options
Signed-off-by: Matt Armand <marmand68@gmail.com>
This commit is contained in:
parent
bd8e57447a
commit
4cebce3a5c
@ -162,7 +162,7 @@ func runCommand(p *ProjectOptions, streams api.Streams, backend api.Service) *co
|
|||||||
flags.BoolVar(&opts.servicePorts, "service-ports", false, "Run command with the service's ports enabled and mapped to the host.")
|
flags.BoolVar(&opts.servicePorts, "service-ports", false, "Run command with the service's ports enabled and mapped to the host.")
|
||||||
flags.BoolVar(&opts.quietPull, "quiet-pull", false, "Pull without printing progress information.")
|
flags.BoolVar(&opts.quietPull, "quiet-pull", false, "Pull without printing progress information.")
|
||||||
flags.BoolVar(&createOpts.Build, "build", false, "Build image before starting container.")
|
flags.BoolVar(&createOpts.Build, "build", false, "Build image before starting container.")
|
||||||
flags.BoolVar(&opts.removeOrphans, "remove-orphans", false, "Remove containers for services not defined in the Compose file.")
|
flags.BoolVar(&createOpts.removeOrphans, "remove-orphans", false, "Remove containers for services not defined in the Compose file.")
|
||||||
|
|
||||||
cmd.Flags().BoolVarP(&opts.interactive, "interactive", "i", true, "Keep STDIN open even if not attached.")
|
cmd.Flags().BoolVarP(&opts.interactive, "interactive", "i", true, "Keep STDIN open even if not attached.")
|
||||||
cmd.Flags().BoolP("tty", "t", true, "Allocate a pseudo-TTY.")
|
cmd.Flags().BoolP("tty", "t", true, "Allocate a pseudo-TTY.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user