Sign inSign up

shakiyam/oci-cli

By shakiyam

•Updated about 10 hours ago

oci-cli (Command Line Interface for Oracle Cloud Infrastructure) Docker Image

Image
0

50K+

shakiyam/oci-cli repository overview

⁠oci-cli-docker

oci-cli (Command Line Interface for Oracle Cloud Infrastructure)⁠ Docker Image

oci-cli-docker supports docker and podman on x86-64 and arm64.

⁠Installation

You can install by following these steps:

curl -L# https://raw.githubusercontent.com/shakiyam/oci-cli-docker/master/oci \
  | sudo tee /usr/local/bin/oci >/dev/null
sudo chmod +x /usr/local/bin/oci
"$(command -v docker || command -v podman)" pull ghcr.io/shakiyam/oci-cli

⁠Usage

Run oci command (recommended) or the following:

docker container run \
  --name oci$$ \
  --rm \
  -e HOME="$HOME" \
  -e USER_NAME="$(id -un)" \
  -i \
  -t \
  -u "$(id -u):$(id -g)" \
  -v "$HOME/.oci:$HOME/.oci" \
  $([[ -v OCI_CLI_PROFILE ]] && echo "-e OCI_CLI_PROFILE=$OCI_CLI_PROFILE") \
  ghcr.io/shakiyam/oci-cli "$@"

To get help with the command line:

oci --help

or

oci --h

For detailed documentation of the CLI, see here⁠.

⁠Author

Shinichi Akiyama⁠

⁠License

MIT License⁠

Tag summary

Content type

Image

Digest

sha256:79c6e4abd…

Size

159.1 MB

Last updated

about 10 hours ago

docker pull shakiyam/oci-cli