DockerComposeExecSettings Class

Summary

Settings for docker-compose exec [options] [-e KEY=VAL...] SERVICE COMMAND [ARGS...]
Assembly
Cake.Docker.dll
Namespace
Cake.Docker
Base Types
graph BT Type-->Base0["DockerComposeSettings"] click Base0 "/api/Cake.Docker/DockerComposeSettings" Base0-->Base1["AutoToolSettings"] click Base1 "/api/Cake.Docker/AutoToolSettings" Base1-->Base2["ToolSettings"] Type["DockerComposeExecSettings"] class Type type-node

Syntax

public sealed class DockerComposeExecSettings : DockerComposeSettings

Constructors

Fields

Name Constant Value Summary
SecretProperties
Values of these properties shouldn't be displayed in the output.
Inherited from AutoToolSettings

Properties

Name Value Summary
Detach Nullable<bool>
-d, --detach Detached mode: Run command in the background.
DisablePseudoTTYAllocation Nullable<bool>
-T Disable pseudo-tty allocation. By default `docker-compose exec` allocates a TTY.
Env string[]
--env, -e Set environment variables (can be used multiple times,
Files string[]
Configuration files.
Inherited from DockerComposeSettings
Host string
Daemon socket to connect to
Inherited from DockerComposeSettings
Index Nullable<int>
--index=index index of the container if there are multiple instances of a service default: 1
Privileged Nullable<bool>
--privileged Give extended privileges to the process.
ProjectDirectory string
Specify an alternate working directory (default: the path of the Compose file)
Inherited from DockerComposeSettings
ProjectName string
Specify an alternate project name (default: directory name)
Inherited from DockerComposeSettings
SkipHostnameCheck bool
Don't check the daemon's hostname against the name specified in the client certificate (for example if your docker host is an IP address)
Inherited from DockerComposeSettings
Tls bool
Use TLS; implied by --tlsverify
Inherited from DockerComposeSettings
Tlscacert string
Trust certs signed only by this CA
Inherited from DockerComposeSettings
Tlscert string
Path to TLS certificate file
Inherited from DockerComposeSettings
Tlskey string
Path to TLS key file
Inherited from DockerComposeSettings
Tlsverify bool
Use TLS and verify the remote
Inherited from DockerComposeSettings
User string
-u, --user USER Run the command as this user.
Verbose bool
Show more output
Inherited from DockerComposeSettings
Version bool
Print version and exit
Inherited from DockerComposeSettings
Workdir string
--workdir, -w Path to workdir directory for this command.

Methods

Name Value Summary
CollectSecretProperties() string[]
Collects secret properties.
Inherited from AutoToolSettings

Extension Methods

Name Value Summary
Dump<DockerComposeExecSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DockerComposeExecSettings>(DockerComposeExecSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DockerComposeExecSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DockerComposeExecSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DockerComposeExecSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DockerComposeExecSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin