DockerSdk
the .NET SDK for Docker
|
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
EventSubjectType | SubjectType [get] |
DateTimeOffset | Timestamp [get] |
Gets the date and time at which the event occurred, in UTC, per the daemon's clock. More... | |
![]() | |
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... | |
Indicates that Docker has finished restarting the container, as though by a docker container restart
CLI command, and has transitioned from the ContainerStatus.Restarting state to the ContainerStatus.Running state. The container might previously been running, stopped, paused, or even in the ContainerStatus.Created state.
If you're only interested in state changes, and not which specific command caused them, it may be best to simply ignore this event type, since it's always preceded by ContainerStartedEvent anyway.