Docker image of oracle instantclient with sqlldr
178
Docker image of oracle instantclient with sqlldr
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.
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
Content type
Image
Digest
Size
401.4 MB
Last updated
over 6 years ago
docker pull karrakk/oracle_client