Logo

Command Palette

Search for a command to run...

Containers represent Docker containers running on your servers, managed by Cloud 66. They contain information about the container's configuration, network settings, and health status.

Model
uidstring

The unique Docker container ID.

namestring

The name of the container.

server_uidstring

The UID of the server where this container is running.

server_namestring

The name of the server where this container is running.

service_namestring

The name of the service this container belongs to.

imagestring

The Docker image used to create this container.

commandstring

The command that the container executes when it starts.

started_atdatetime

The date and time when the container was started, in ISO 8601 format.

portsarray

An array of port mappings for the container.

private_ipstring

The private IP address assigned to the container.

docker_ipstring

The Docker network IP address of the container.

health_stateinteger

The health status code of the container.

health_messagestring

A message describing the health status of the container.

health_sourcestring

The source of the health check information.

capture_outputboolean

Whether output from this container is being captured.

restart_on_deployboolean

Whether this container should be restarted during deployments.

created_atdatetime

The date and time the container record was created, in ISO 8601 format.

updated_atdatetime

The date and time the container record was last updated, in ISO 8601 format.

statusstring

The current status of the container (e.g., running, stopped).

Example

{
  "uid": "container-abc123def456",
  "name": "web-app-container",
  "server_uid": "server-789xyz",
  "server_name": "web-server-01",
  "service_name": "web",
  "image": "myapp/web:v1.2.3",
  "command": "bundle exec puma -C config/puma.rb",
  "started_at": "2024-01-15T10:30:00Z",
  "ports": [
    {
      "container": 3000,
      "http": 80,
      "https": 443
    }
  ],
  "private_ip": "10.0.1.15",
  "docker_ip": "172.17.0.2",
  "health_state": 1,
  "health_message": "Container is running normally",
  "health_source": "docker",
  "capture_output": true,
  "restart_on_deploy": true,
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-15T10:35:00Z",
  "status": "running"
}