コード例 #1
0
 public static CommandResponse <IList <string> > ComposeUp(this DockerUri host,
                                                           string altProjectName            = null,
                                                           bool forceRecreate               = false, bool noRecreate  = false, bool dontBuild = false,
                                                           bool buildBeforeCreate           = false, TimeSpan?timeout = null,
                                                           bool removeOrphans               = false,
                                                           bool useColor                    = false,
                                                           bool noStart                     = false,
                                                           string[] services                = null /*all*/,
                                                           IDictionary <string, string> env = null,
                                                           ICertificatePaths certificates   = null, params string[] composeFile)
 {
     return(host.ComposeUpCommand(new ComposeUpCommandArgs
     {
         AltProjectName = altProjectName,
         ForceRecreate = forceRecreate,
         NoRecreate = noRecreate,
         DontBuild = dontBuild,
         BuildBeforeCreate = buildBeforeCreate,
         Timeout = timeout,
         RemoveOrphans = removeOrphans,
         UseColor = useColor,
         NoStart = noStart,
         Services = services,
         Env = env,
         Certificates = certificates,
         ComposeFiles = composeFile
     }));
 }