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.
uid
stringThe unique Docker container ID.
name
stringThe name of the container.
server_uid
stringThe UID of the server where this container is running.
server_name
stringThe name of the server where this container is running.
service_name
stringThe name of the service this container belongs to.
image
stringThe Docker image used to create this container.
command
stringThe command that the container executes when it starts.
started_at
datetimeThe date and time when the container was started, in ISO 8601 format.
ports
arrayAn array of port mappings for the container.
private_ip
stringThe private IP address assigned to the container.
docker_ip
stringThe Docker network IP address of the container.
health_state
integerThe health status code of the container.
health_message
stringA message describing the health status of the container.
health_source
stringThe source of the health check information.
capture_output
booleanWhether output from this container is being captured.
restart_on_deploy
booleanWhether this container should be restarted during deployments.
created_at
datetimeThe date and time the container record was created, in ISO 8601 format.
updated_at
datetimeThe date and time the container record was last updated, in ISO 8601 format.
status
stringThe 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"
}