Sign inSign up

karrakk/oracle_client

By karrakk

Updated over 6 years ago

Docker image of oracle instantclient with sqlldr

Image
0

178

karrakk/oracle_client repository overview

oracle_client

Docker image of oracle instantclient with sqlldr

Usage

docker run -ti karrakk/oracle_client sqlplus user/password@hostname:1521/service_name

Also you can run it like this
docker run -ti karrakk/oracle_client bash and use sqlplus or sqlldr commands.

Another way to use

You can create simple bash file to run this image and make several commands like this:

#!/bin/bash

docker run -i oracle_client sqlplus user/password@hostname:1521/service_name << EOF
                                                                select * from dual;
                                                                exit;
                                                                EOF" >

and run it sh ./run.sh

The result will be:

SQL*Plus: Release 19.0.0.0.0 - Production on Fri Apr 17 13:17:25 2020
Version 19.6.0.0.0

Copyright (c) 1982, 2019, Oracle.  All rights reserved.


Connected to:
Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production
Version 18.3.0.0.0

SQL> 
D
-
X

SQL> Disconnected from Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - Production
Version 18.3.0.0.0

Tag summary

Content type

Image

Digest

Size

401.4 MB

Last updated

over 6 years ago

docker pull karrakk/oracle_client