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.
uidstringThe unique Docker container ID.
namestringThe name of the container.
server_uidstringThe UID of the server where this container is running.
server_namestringThe name of the server where this container is running.
service_namestringThe name of the service this container belongs to.
imagestringThe Docker image used to create this container.
commandstringThe command that the container executes when it starts.
started_atdatetimeThe date and time when the container was started, in ISO 8601 format.
portsarrayAn array of port mappings for the container.
private_ipstringThe private IP address assigned to the container.
docker_ipstringThe Docker network IP address of the container.
health_stateintegerThe health status code of the container.
health_messagestringA message describing the health status of the container.
health_sourcestringThe source of the health check information.
capture_outputbooleanWhether output from this container is being captured.
restart_on_deploybooleanWhether this container should be restarted during deployments.
created_atdatetimeThe date and time the container record was created, in ISO 8601 format.
updated_atdatetimeThe date and time the container record was last updated, in ISO 8601 format.
statusstringThe 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"
}