Container
A single container on a container instance. If you delete a container, the record remains visible for a short period of time before being permanently removed.
Properties
| Name | Type | Description |
|---|---|---|
| arguments | array | A list of string arguments for the ENTRYPOINT process of the container. Many containers use an ENTRYPOINT process pointing to a shell `/bin/bash`. For those containers, you can use the argument list t |
| availabilityDomain | string | The availability domain where the container instance that hosts the container runs. |
| command | array | This command overrides ENTRYPOINT process of the container. If you do not specify this command, the existing ENTRYPOINT process defined in the image is the default. |
| compartmentId | string | The OCID of the compartment that contains the container. |
| containerInstanceId | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the container instance that the container is running on. |
| containerRestartAttemptCount | integer | The number of container restart attempts. Depending on the restart policy, a restart might be attempted after a health check failure or a container exit. |
| definedTags | object | Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace": {"bar-key": "value"}}`. |
| displayName | string | A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. |
| environmentVariables | object | A map of additional environment variables to set in the environment of the ENTRYPOINT process of the container. These variables are in addition to any variables already defined in the container's imag |
| exitCode | integer | The exit code of the container process when it stopped running. |
| faultDomain | string | The fault domain of the container instance that hosts the container runs. |
| freeformTags | object | Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` |
| healthChecks | array | List of container health checks |
| id | string | The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the container. |
| imageUrl | string | The container image information. Currently only supports public Docker registry. You can provide either the image name (containerImage), image name with version (containerImagev1), or complete Docker |
| isResourcePrincipalDisabled | boolean | Determines if the container will have access to the container instance resource principal. This method utilizes resource principal version 2.2. For more information on how to use the exposed resource |
| lifecycleDetails | string | A message that describes the current state of the container in more detail. Can be used to provide actionable information. |
| lifecycleState | string | The current state of the container. |
| resourceConfig | object | |
| securityContext | object | |
| systemTags | object | Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`. |
| timeCreated | string | The time the container was created, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). |
| timeTerminated | string | The time when the container last deleted (terminated), in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). |
| timeUpdated | string | The time the container was updated, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). |
| volumeMounts | array | List of the volume mounts. |
| workingDirectory | string | The working directory within the container's filesystem for the container process. If not specified, the default working directory from the image is used. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/oracle/json-schema/oracle-container-schema.json",
"title": "Container",
"description": "A single container on a container instance.\n\nIf you delete a container, the record remains visible for a short period\nof time before being permanently removed.\n",
"x-generated": "2026-11-25",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/oracle-containerinstance-api-openapi.yml#/components/schemas/Container",
"properties": {
"arguments": {
"description": "A list of string arguments for the ENTRYPOINT process of the container.\n\nMany containers use an ENTRYPOINT process pointing to a shell\n`/bin/bash`. For those containers, you can use the argument list to specify the main command in the container process.\n",
"items": {
"type": "string"
},
"type": "array"
},
"availabilityDomain": {
"description": "The availability domain where the container instance that hosts the container runs.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"command": {
"description": "This command overrides ENTRYPOINT process of the container.\nIf you do not specify this command, the existing ENTRYPOINT process defined in the image is the default.\n",
"items": {
"type": "string"
},
"type": "array"
},
"compartmentId": {
"description": "The OCID of the compartment that contains the container.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"containerInstanceId": {
"description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the container instance that the container is running on.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"containerRestartAttemptCount": {
"description": "The number of container restart attempts. Depending on the restart policy, a restart might be attempted after a health check failure or a container exit.",
"type": "integer"
},
"definedTags": {
"additionalProperties": {
"additionalProperties": {
"description": "The value of the tag. Only string, integer, and boolean types are supported.\n",
"type": "object"
},
"description": "Key-value pair representing predefined tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`.\n",
"type": "object"
},
"description": "Defined tags for this resource. Each key is predefined and scoped to a namespace.\nExample: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`.\n",
"type": "object"
},
"displayName": {
"description": "A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"environmentVariables": {
"additionalProperties": {
"type": "string"
},
"description": "A map of additional environment variables to set in the environment of the\nENTRYPOINT process of the container. These variables are in addition to any variables already defined\nin the container's image.\n",
"type": "object"
},
"exitCode": {
"description": "The exit code of the container process when it stopped running.",
"type": "integer"
},
"faultDomain": {
"description": "The fault domain of the container instance that hosts the container runs.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"freeformTags": {
"additionalProperties": {
"type": "string"
},
"description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.\nExample: `{\"bar-key\": \"value\"}`\n",
"type": "object"
},
"healthChecks": {
"description": "List of container health checks",
"items": {
"$ref": "#/$defs/ContainerHealthCheck"
},
"type": "array"
},
"id": {
"description": "The [OCID](/iaas/Content/General/Concepts/identifiers.htm) of the container.",
"maxLength": 255,
"minLength": 1,
"type": "string"
},
"imageUrl": {
"description": "The container image information. Currently only supports public Docker registry.\n\nYou can provide either the image name (containerImage), image name with version (containerImagev1), or complete Docker image URL\n`docker.io/library/containerImage:latest`.\n\nIf you do not provide a registry, the registry defaults to public Docker hub `docker.io/library`.\nThe registry used for the container image must be reachable over the VNIC of the container instance.\n",
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"isResourcePrincipalDisabled": {
"description": "Determines if the container will have access to the container instance resource principal.\n\nThis method utilizes resource principal version 2.2. For more information on how to use the exposed resource principal elements, see\nhttps://docs.oracle.com/en-us/iaas/Content/API/Concepts/sdk_authentication_methods.htm#sdk_authentication_methods_resource_principal.\n",
"type": "boolean"
},
"lifecycleDetails": {
"description": "A message that describes the current state of the container in more detail. Can be used to provide\nactionable information.\n",
"type": "string"
},
"lifecycleState": {
"description": "The current state of the container.",
"enum": [
"CREATING",
"UPDATING",
"ACTIVE",
"INACTIVE",
"DELETING",
"DELETED",
"FAILED"
],
"type": "string"
},
"resourceConfig": {
"$ref": "#/$defs/ContainerResourceConfig"
},
"securityContext": {
"$ref": "#/$defs/SecurityContext"
},
"systemTags": {
"additionalProperties": {
"additionalProperties": {
"description": "The value of the tag. Only string, integer, and boolean types are supported.\n",
"type": "object"
},
"description": "Key-value pair representing system tags' keys and values scoped to a namespace.\nExample: `{\"bar-key\": \"value\"}`\n",
"type": "object"
},
"description": "Usage of system tag keys. These predefined keys are scoped to namespaces.\nExample: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`.\n",
"type": "object"
},
"timeCreated": {
"description": "The time the container was created, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).",
"format": "date-time",
"type": "string"
},
"timeTerminated": {
"description": "The time when the container last deleted (terminated), in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).",
"format": "date-time",
"type": "string",
"x-default-description": "null"
},
"timeUpdated": {
"description": "The time the container was updated, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).",
"format": "date-time",
"type": "string"
},
"volumeMounts": {
"description": "List of the volume mounts.\n",
"items": {
"$ref": "#/$defs/VolumeMount"
},
"type": "array"
},
"workingDirectory": {
"description": "The working directory within the container's filesystem for\nthe container process. If not specified, the default\nworking directory from the image is used.\n",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
},
"required": [
"id",
"displayName",
"compartmentId",
"availabilityDomain",
"lifecycleState",
"timeCreated",
"containerInstanceId",
"imageUrl"
],
"type": "object",
"$defs": {
"ContainerHealthCheck": {
"description": "Type of container health check which could be either HTTP, TCP, or Command.",
"properties": {
"failureAction": {
"default": "KILL",
"description": "The action will be triggered when the container health check fails. There are two types of action: KILL or NONE. The default\naction is KILL. If failure action is KILL, the container will be subject to the container restart policy.\n",
"enum": [
"KILL",
"NONE"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/ContainerHealthCheckFailureAction"
},
"failureThreshold": {
"description": "Number of consecutive failures at which we consider the check failed.",
"type": "integer"
},
"healthCheckType": {
"description": "Container health check type.",
"enum": [
"HTTP",
"TCP"
],
"type": "string",
"x-obmcs-top-level-enum": "#/definitions/ContainerHealthCheckType"
},
"initialDelayInSeconds": {
"description": "The initial delay in seconds before start checking container health status.",
"type": "integer"
},
"intervalInSeconds": {
"description": "Number of seconds between two consecutive runs for checking container health.",
"type": "integer"
},
"name": {
"description": "Health check name.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"status": {
"default": "UNKNOWN",
"description": "Status of container",
"enum": [
"HEALTHY",
"UNHEALTHY",
"UNKNOWN"
],
"type": "string"
},
"statusDetails": {
"description": "A message describing the current status in more details.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"successThreshold": {
"description": "Number of consecutive successes at which we consider the check succeeded again after it was in failure state.",
"type": "integer"
},
"timeoutInSeconds": {
"description": "Length of waiting time in seconds before marking health check failed.",
"type": "integer"
}
},
"required": [
"healthCheckType"
]
},
"ContainerResourceConfig": {
"description": "The resource configuration for a container. The resource configuration determines\nthe amount of resources allocated to the container and the maximum allowed resources for a container.\n",
"properties": {
"memoryLimitInGBs": {
"default": null,
"description": "The maximum amount of memory that can be consumed by the container's\nprocess. If you do not set a value, then the process\nmay use all available memory on the instance.\n",
"format": "float",
"minimum": 0.0,
"type": "number"
},
"vcpusLimit": {
"default": null,
"description": "The maximum amount of CPUs that can be consumed by the container's process.\n\nIf you do not set a value, then the process\nmay use all available CPU resources on the container instance.\n\nCPU usage is defined in terms of logical CPUs. This means that the\nmaximum possible value on an E3 ContainerInstance with 1 OCPU is 2.0.\n",
"format": "float",
"minimum": 0.0,
"type": "number"
}
}
},
"SecurityContext": {
"description": "Security context for container.",
"properties": {
"securityContextType": {
"default": "LINUX",
"description": "The type of security context",
"enum": [
"LINUX"
],
"type": "string"
}
}
},
"VolumeMount": {
"description": "Define the mapping from volume to a mount path in container.\n",
"properties": {
"isReadOnly": {
"default": false,
"description": "Whether the volume was mounted in read-only mode. By default, the volume is mounted with write access.",
"type": "boolean"
},
"mountPath": {
"description": "Describes the volume access path.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"partition": {
"default": 1,
"description": "If there is more than one partition in the volume, reference this number of partitions.\nHere is an example:\nNumber Start End Size File system Name Flags\n1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp\n2 106MB 1180MB 1074MB xfs\n3 1180MB 50.0GB 48.8GB lvm\n",
"format": "int32",
"maximum": 128,
"minimum": 1,
"type": "integer"
},
"subPath": {
"default": null,
"description": "A sub-path inside the referenced volume.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
},
"volumeName": {
"description": "The name of the volume.",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"mountPath",
"volumeName"
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/oracle-container"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.