Skip to content

Docker-Collection/docker-oracle_cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OracleCLI

oci, but in docker!

Usage

  1. Make the oci config in ~/.oci/config or other location (but you need to change by yourself)

  2. Add below line to your .profile:

    oci() { docker run --rm --mount type=bind,source=$HOME/.oci,target=/root/.oci ghcr.io/docker-collection/oci-cli:latest "$@"; }
  3. Or you can just manual run by yourself:

  • Normal Run
docker run --rm -it -v ${HOME}/.oci:/root/.oci ghcr.io/docker-collection/oci-cli:latest -h
  • Override entrypoint
docker run --rm -it -v ${HOME}/.oci:/root/.oci --entrypoint bash ghcr.io/docker-collection/oci-cli:latest

Reference source

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages