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.
Container Instance 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
The following tabs are available for each container instance:'
- Details: General information about the container instance, including its OCID, compartment, and VNIC information.
- Containers: The containers in this container instance. A maximum of 60 containers can be deployed to an instance.
- Storage: The volumes associated with this container instance.
- Work requests: Any ongoing work requests for this instance.
- Monitoring: Default metric views for this instance.
- Tags: Any tags associated with this instance.
Container Actions
After selecting a container, the container details page is displayed. Perform actions directly on a container from the Actions menu. The following actions are available:
- View command
- View entrypoint arguments
- View environment variables
- View logs
Container Details
The following tabs are available for each container:
- Details: General information about the container, including its entry point command, command arguments, image URL, and VNIC information.
- Storage: The volumes associated with this container.
- Work requests: Any ongoing work requests for this container.
- Monitoring: Default metric views for this container.
- Tags: Any tags associated with this container.
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.