Skip to content

fennecinspace/docker-sqlplus

 
 

Repository files navigation

Oracle SQL*Plus

docker image for oracle SQL*Plus with instant client

docker run --rm --net host -it logx7/sqlplus user/passwd@//host:port/SID

Executing SQL Files From Your Host Machine:

you can do this by using bind mounts:

  • create a folder to work in (create / edit / delete sql files)

    mkdir sql_files_folder
  • run the container :

    docker run --rm -v /complete/path/to/sql_files_folder/:/opt/sql_files --net host -it logx7/sqlplus user/passwd@//host:port/SID
  • to run an sql file that you added/edited it should exist in the sql_files_folder, you can do :

    @sql_files/file_name.sql

About

Docker Image for Oracle SQL*Plus

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 79.5%
  • Shell 20.5%