Docker image for OCI CLI built on Oracle Linux
957
Docker image for OCI CLI built on Oracle Linux
These steps will result in having OCI CLI configuration files in your home directory (~/.oci):
docker run -it -v ~/:/home/oci apiaryio/oci-cli setup configNote: If OCI CLI generated a key-pair, upload the public part in the OCI console as described [here] (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.htm#How2).
Given the OCI CLI is configured already and the configuration files are in ~/.oci, run:
docker run -it -v ~/:/home/oci apiaryio/oci-cli <oci-cli command>
Tip: define a function in your bash profile to have a single command handy:
oci() {
docker run -it -v ~/:/home/oci apiaryio/oci-cli "$@"
}
Content type
Image
Digest
Size
185.9 MB
Last updated
over 5 years ago
docker pull apiaryio/oci-cli