Listing Container Instances
View the container instances in a specific compartment.
This task documents the steps for listing container instances using the Oracle Cloud Console.
Actions
After selecting a container instance, the details page is displayed. Perform actions directly on a container instance from the Actions menu. The following actions are available.
- Edit VNIC: Edit the Name, Hostname, or Fully qualified domain name for the VNIC.
- Start: Start the container instance.
- Stop: Stop the container instance.
- Restart: Restart the container instance.
- Move resource: Move the container instance to another compartment.
- Delete: Delete the container instance.
To create a container instance, see: Creating a Container Instance.
Container Instance Details
After selecting a container instance, the details page is displayed. The following tabs are available for each instance.
- Details: (default) Metadata about the container instance is displayed including OCID, compartment, and VNIC information.
- Containers: The list of containers in this instance are displayed. A maximum of 60 containers can be deployed to an instance.
- Work requests: Any ongoing work requests for this instance are listed here.
- Monitoring: Default metric views for this instance are here.
- Tags: Any tags associated with this instance.
Use the
oci container-instances container listcommand to list container instances. To use this command, replace compartment_id with your own OCID.export compartment_id=<substitute-value-of-compartment_id> oci container-instances container list --compartment-id $compartment_idFor a complete list of flags and variable options for CLI commands, see the Command Line Reference.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.
Use the ListContainerInstances operation.