Skip to content

patrick-paludo/oci-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Oracle Cloud Infraestructure CLI in a Docker container!

Usage

  1. Download oci script:
wget https://github.com/patrick-paludo/oci-cli/releases/download/v1.0.0/oci
  1. Move the oci script to /usr/local/bin/oci (or wherever you want):
sudo mv oci /usr/local/bin/oci
  1. Grant execution permission:
sudo chmod +x /usr/local/bin/oci
  1. Test the script (the container image will be downloaded in the first run):
oci --version

The output should be the OCI CLI version

  1. Create .oci directory and place your private key in it:
mkdir ~/.oci && mv path_to_private_key ~/.oci
  1. Run the OCI CLI setup:
oci setup config

Build your own image

  1. Clone the repository:
git clone https://github.com/patrick-paludo/oci-cli.git
  1. Enter oci-cli directory and run the build command:
cd oci-cli && docker build -t oci-cli .
  1. Continue from step 2 of Usage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published