DockerSdk
the .NET SDK for Docker
Properties | List of all members
DockerSdk.Containers.Events.ContainerExitedEvent Class Reference

Indicates that the container's main process has exited. This is a transition to the ContainerStatus.Exited state (such as from the ContainerStatus.Running of ContainerStatus.Paused state). If the process shut down due to a "stop" or "restart" command (as opposed to a "kill" command), Docker will also emit ContainerStopCompletedEvent. More...

Inheritance diagram for DockerSdk.Containers.Events.ContainerExitedEvent:
DockerSdk.Containers.Events.ContainerEvent DockerSdk.Events.Event DockerSdk.Events.IEventLowLevel

Properties

int? ExitCode [get]
 Gets the exit code returned by the container's main process. More...
 
- Properties inherited from DockerSdk.Containers.Events.ContainerEvent
ContainerFullId ContainerId [get]
 Gets the container's ID. More...
 
ContainerName? ContainerName [get]
 Gets the container's name, if it was included in the event details. More...
 
ContainerEventType EventType [get]
 Gets the type of event that this is. More...
 
ImageReference? ImageReference [get]
 Gets a reference to the container's image, if it was included in the event details. More...
 
- Properties inherited from DockerSdk.Events.Event
EventSubjectType SubjectType [get]
 
DateTimeOffset Timestamp [get]
 Gets the date and time at which the event occurred, in UTC, per the daemon's clock. More...
 
- Properties inherited from DockerSdk.Events.IEventLowLevel
EventSubjectType SubjectType [get]
 Gets a value indicating what type of thing the event is about. More...
 
string ActorId [get]
 Gets the full ID of the event's subject. More...
 
string Action [get]
 Gets a value indicating the type of event this is. More...
 
IReadOnlyDictionary< string, string > ActorDetails [get]
 Gets a dictionary of supplementary information provided by the daemon about the event's subject. The keys that appear here vary by subject type, event type, and the specifics of the subject. More...
 
DateTimeOffset Timestamp [get]
 Gets the date and time at which the event occurred, in UTC, per the daemon's clock. More...
 

Detailed Description

Indicates that the container's main process has exited. This is a transition to the ContainerStatus.Exited state (such as from the ContainerStatus.Running of ContainerStatus.Paused state). If the process shut down due to a "stop" or "restart" command (as opposed to a "kill" command), Docker will also emit ContainerStopCompletedEvent.

Property Documentation

◆ ExitCode

int? DockerSdk.Containers.Events.ContainerExitedEvent.ExitCode
get

Gets the exit code returned by the container's main process.


The documentation for this class was generated from the following file: