You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
where dbtemp is the name of my container, /tmp is where I copy my scripts, and initialize.sql is a script I copied under the /tmp directory.
It would be nice if there was an 'initenv' that initialized the ORACLE_HOME and exported the appropriate stuff separate from this that we could call the script to set things up....so it would be maintained consistently by the image.
We'd like to run sqlplus in the container from a script. Is there an easy way to do this?
When I run:
docker exec -i -t <container> /bin/bash
I can run sqlplus at the command line.
However, if I try to run:
docker exec -i -t dbtemp /bin/bash -c "sqlplus"
I get :
/bin/bash: sqlplus: command not found
I'm looking for some advice on how to handle this. Thanks.
The text was updated successfully, but these errors were encountered: