ContainerState Enumeration

Represents the possible states of a Docker container.

Inheritance Hierarchy

Syntax

public enum ContainerState : System.IComparable, System.IFormattable, System.IConvertible

Fields

Name Description
Created

The container has just been created but is not yet running.

Dead

The container is dead.

Exited

The container has exited normally and is no longer running.

Paused

The container is running normally but in a paused state.

Restarting

The container is restarting.

Running

The container is running normally.