This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.Docker.
Summary
Settings for docker compose up.
- Assembly
- Cake
.Docker .dll - Namespace
- Cake
.Docker - Base Types
-
- ToolSettings
- AutoToolSettings
graph BT
Type-->Base0["AutoToolSettings"]
click Base0 "/api/Cake.Docker/AutoToolSettings"
Base0-->Base1["ToolSettings"]
Type["DockerComposeUpSettings"]
class Type type-node
Syntax
public sealed class DockerComposeUpSettings : AutoToolSettings
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| Docker |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| SecretProperties |
Values of these properties shouldn't be displayed in the output.
Inherited from AutoToolSettings
|
Properties
| Name | Value | Summary |
|---|---|---|
| AbortOnContainerExit | Nullable |
Stops all containers if any container
was stopped. Incompatible with -d
|
| AlwaysRecreateDeps | Nullable |
Recreate dependent containers.
Incompatible with --no-recreate.
|
| Attach | string[] |
Restrict attaching to the specified
services. Incompatible with
--attach-dependencies.
|
| AttachDependencies | Nullable |
Automatically attach to log output of
dependent services.
|
| Build | Nullable |
Build images before starting containers.
|
| Detach | Nullable |
Detached mode: Run containers in the
background
|
| ExitCodeFrom | string |
Return the exit code of the selected
service container. Implies
--abort-on-container-exit
|
| ForceRecreate | Nullable |
Recreate containers even if their
configuration and image haven't changed.
|
| NoAttach | string[] |
Do not attach (stream logs) to the
specified services.
|
| NoBuild | Nullable |
Don't build an image, even if it's policy.
|
| NoColor | Nullable |
Produce monochrome output.
|
| NoDeps | Nullable |
Don't start linked services.
|
| NoLogPrefix | Nullable |
Don't print prefix in logs.
|
| NoRecreate | Nullable |
If containers already exist, don't
recreate them. Incompatible with
--force-recreate.
|
| NoStart | Nullable |
Don't start the services after creating
them.
|
| Pull | string |
Pull image before running
("always"|"missing"|"never") (default
"policy")
|
| QuietPull | Nullable |
Pull without printing progress information.
|
| RemoveOrphans | Nullable |
Remove containers for services not
defined in the Compose file.
|
| RenewAnonVolumes | Nullable |
Recreate anonymous volumes instead of
retrieving data from the previous
containers.
|
| Scale | Nullable |
Scale SERVICE to NUM instances.
Overrides the scale setting in the
Compose file if present.
|
| Timeout | Nullable |
Use this timeout in seconds for
container shutdown when attached or
when containers are already running.
|
| Timestamps | Nullable |
Show timestamps.
|
| Wait | Nullable |
Wait for services to be
running|healthy. Implies detached mode.
|
| WaitTimeout | Nullable |
Maximum duration to wait for the
project to be running|healthy.
|
Methods
| Name | Value | Summary |
|---|---|---|
| Collect |
string[] |
Collects secret properties.
Inherited from AutoToolSettings
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
