Deleting a Container Instance
Delete a container instance.
You can permanently delete container instances that you no longer need. Any attached VNICs are automatically detached when the container instance is deleted. Eventually, the container instance's public and private IP addresses are released and become available for other container instances.
When you delete a container instance, any data on the ephemeral storage is lost.
Use the
container-instances container-instance deletecommand to delete a container instance. To use this command, replace id with your resource OCID.export id=ocid1.computecontainerinstance.oc1.iad.example oci container-instances container-instance delete --container-instance-id "$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 DeleteContainerInstance operation.