ContainerStartedEvent

An event generated when a container starts.

JSON representation
{
  "actionId": integer,
  "portMappings": {
    integer: integer,
    ...
  },
  "ipAddress": string
}
Fields
actionId

integer

The numeric ID of the action that started this container.

portMappings

map (key: integer, value: integer)

The container-to-host port mappings installed for this container. This set will contain any ports exposed using the PUBLISH_EXPOSED_PORTS flag as well as any specified in the Action definition.

ipAddress

string

The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.