|
@@ -75,6 +75,7 @@ func createCommand(p *ProjectOptions, dockerCli command.Cli, backend api.Service
|
|
|
flags.BoolVar(&opts.Build, "build", false, "Build images before starting containers")
|
|
|
flags.BoolVar(&opts.noBuild, "no-build", false, "Don't build an image, even if it's policy")
|
|
|
flags.StringVar(&opts.Pull, "pull", "policy", `Pull image before running ("always"|"missing"|"never"|"build")`)
|
|
|
+ flags.BoolVar(&opts.quietPull, "quiet-pull", false, "Pull without printing progress information")
|
|
|
flags.BoolVar(&opts.forceRecreate, "force-recreate", false, "Recreate containers even if their configuration and image haven't changed")
|
|
|
flags.BoolVar(&opts.noRecreate, "no-recreate", false, "If containers already exist, don't recreate them. Incompatible with --force-recreate.")
|
|
|
flags.BoolVar(&opts.removeOrphans, "remove-orphans", false, "Remove containers for services not defined in the Compose file")
|
|
@@ -105,7 +106,7 @@ func runCreate(ctx context.Context, _ command.Cli, backend api.Service, createOp
|
|
|
RecreateDependencies: createOpts.dependenciesRecreateStrategy(),
|
|
|
Inherit: !createOpts.noInherit,
|
|
|
Timeout: createOpts.GetTimeout(),
|
|
|
- QuietPull: false,
|
|
|
+ QuietPull: createOpts.quietPull,
|
|
|
})
|
|
|
}
|
|
|
|