Skip to content

ricardona/docker-sqlcl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-sqlcl

Oracle SQLcl docker container

Install

Download Oracle SQLcl

git clone https://github.com/ricardona/docker-sqlcl

cd docker-sqlcl

# *** Copy the downloaded sqlcl.zip file into this directory ***

docker build -t ricardona/docker-sqlcl .

Run

The following is focused on MacOS / Linux users.

  • Create alias
alias sqlcl="docker run -it --rm \
  --network="host" \
  -v `pwd`:/sqlcl \
  ricardona/docker-sqlcl"

A few things about the parameters:

Parameter Description
--network="host" This will mimic the current host networking (with the goal of acting like a binary)
-v pwd:/sqlcl This will set the current directory that sqlcl is run to the one that the container is looking at
  • Then to run execute: sqlcl <connection string>

Volumes

Volume Description
/sqlcl This is the folder that SQLcl will

About

SQLcl docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 72.2%
  • Shell 27.8%