My Oracle Support Banner

OCI Command Line Interface (CLI) - ERROR: Could Not Find Config File at /root/.oci/config (Doc ID 2903911.1)

Last updated on OCTOBER 20, 2022

Applies to:

Oracle Cloud Infrastructure Command Line Interface - Version N/A and later
Information in this document applies to any platform.


While running the following command in OCI-CLI, the "ERROR: Could not find config file at /root/.oci/config" error appears:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.