root 权限登录docker docker exec -it --user root oracle-11g /bin/bash Oracle sql文件执行(适合大数据执行,速度比较快) spool 1.log @1.sql spool off exit