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
aliases don't behave the same when running as bash scripts. This is especially true with multi line definitions of a docker run command. Instead use a bash function. Ex:
# Note the $@ passes in all args to the functionsqlcl() {
docker run -it --rm \
--network="host" \
-v `pwd`:/sqlcl \
-v ~/Documents/Oracle/:/oracle \
-e TNS_ADMIN=$TNS_ADMIN \
oracle-sqlcl:latest \
$@
}
The text was updated successfully, but these errors were encountered:
aliases
don't behave the same when running as bash scripts. This is especially true with multi line definitions of adocker run
command. Instead use a bash function. Ex:The text was updated successfully, but these errors were encountered: