Skip to content
Docs Try Aspire

Service

Handle TypeScript
📦 Aspire.Hosting.Docker v13.2.0-preview.1.26159.1
interface Service {
capAdd: List<string>;
capDrop: List<string>;
cgroupParent: string;
command: List<string>;
containerName: string;
devices: List<string>;
dns: List<string>;
dnsSearch: List<string>;
domainName: string;
entrypoint: List<string>;
envFile: List<string>;
environment: Dict<string,string>;
expose: List<string>;
externalLinks: List<string>;
extraHosts: Dict<string,string>;
groupAdd: List<string>;
hostname: string;
image: string;
init: boolean;
ipc: string;
isolation: string;
labels: Dict<string,string>;
links: List<string>;
macAddress: string;
name: string;
networkMode: string;
networks: List<string>;
pid: string;
ports: List<string>;
profiles: List<string>;
pullPolicy: string;
readOnly: boolean;
restart: string;
securityOpt: List<string>;
stdinOpen: boolean;
stopGracePeriod: string;
stopSignal: string;
sysctls: Dict<string,string>;
tmpfs: List<string>;
tty: boolean;
user: string;
workingDir: string;
}

Properties

property capAdd List<string> get · set
Gets the CapAdd property
property capDrop List<string> get · set
Gets the CapDrop property
property cgroupParent string get · set
Gets the CgroupParent property
property command List<string> get · set
Gets the Command property
property containerName string get · set
Gets the ContainerName property
property devices List<string> get · set
Gets the Devices property
property dns List<string> get · set
Gets the Dns property
property dnsSearch List<string> get · set
Gets the DnsSearch property
property domainName string get · set
Gets the DomainName property
property entrypoint List<string> get · set
Gets the Entrypoint property
property envFile List<string> get · set
Gets the EnvFile property
property environment Dict<string,string> get · set
Gets the Environment property
property expose List<string> get · set
Gets the Expose property
property externalLinks List<string> get · set
Gets the ExternalLinks property
property extraHosts Dict<string,string> get · set
Gets the ExtraHosts property
property groupAdd List<string> get · set
Gets the GroupAdd property
property hostname string get · set
Gets the Hostname property
property image string get · set
Gets the Image property
property init boolean get · set
Gets the Init property
property ipc string get · set
Gets the Ipc property
property isolation string get · set
Gets the Isolation property
property labels Dict<string,string> get · set
Gets the Labels property
property links List<string> get · set
Gets the Links property
property macAddress string get · set
Gets the MacAddress property
property name string get · set
Gets the Name property
property networkMode string get · set
Gets the NetworkMode property
property networks List<string> get · set
Gets the Networks property
property pid string get · set
Gets the Pid property
property ports List<string> get · set
Gets the Ports property
property profiles List<string> get · set
Gets the Profiles property
property pullPolicy string get · set
Gets the PullPolicy property
property readOnly boolean get · set
Gets the ReadOnly property
property restart string get · set
Gets the Restart property
property securityOpt List<string> get · set
Gets the SecurityOpt property
property stdinOpen boolean get · set
Gets the StdinOpen property
property stopGracePeriod string get · set
Gets the StopGracePeriod property
property stopSignal string get · set
Gets the StopSignal property
property sysctls Dict<string,string> get · set
Gets the Sysctls property
property tmpfs List<string> get · set
Gets the Tmpfs property
property tty boolean get · set
Gets the Tty property
property user string get · set
Gets the User property
property workingDir string get · set
Gets the WorkingDir property