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.

    1. In the navigation menu and select Developer Services. Under Containers & Artifacts, select Container Instances.
    2. The Container Instances list page opens. All container instances in the selected compartment are displayed in a table.
    3. To view the container instances in a different compartment, use the Compartment filter to switch compartments.
      Note

      You must have permission to work in a compartment to see the resources in it. If you're not sure which compartment to use, contact an administrator. For more information, see Understanding Compartments.
    4. Select the name of the container instance that you're interested in. The details page for the selected container instance is displayed.

    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 list command 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_id

    For 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.