Guy-Incognito / oracle-db-client

Dockerfile for oracle database client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Oracle Database Client

can be used for remote database operations.

Tags and Dockerfile links

How to run

Usage:

The container accepts the following mounted folder:

  • "/data" --> mount the folder where all output should be written to here

Environment Variables

  • DB_USERNAME: username for connection
  • DB_PASSWORT: password for connection
  • DB_PORT: database port (default: 1521)
  • DB_HOST: database host name
  • DB_SERVICENAME: database service name

Opening a Shell:

Run the container with:

docker run  \
    --name oracle-db-client \
    -it \
    -v /path/to/local/data:/data \
    georgmoser/oracle-db-client

Dumping a Database:

Run the container with:

docker run  \
    --name oracle-db-client \
    -it \
    -e DB_USERNAME= \
    -e DB_PASSWORT= \
    -e DB_PORT= \
    -e DB_HOST= \
    -e DB_SERVICENAME= \    
    -v /path/to/local/data:/data \
    georgmoser/oracle-db-client
    dump [[YOUR_ARGUMENTS (e.g. 'FULL=yes')]]

About

Dockerfile for oracle database client


Languages

Language:Dockerfile 61.4%Language:Shell 38.6%