Fix ulimit when starting Oracle Express

See
https://stackoverflow.com/questions/62574379/su-permission-denied-despite-being-root-in-oracle-container

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
This commit is contained in:
Yoann Rodière 2021-02-15 11:08:12 +01:00 committed by Christian Beikov
parent 42ca47dc4e
commit 0b951ef803
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ oracle() {
docker rm -f oracle || true
# We need to use the defaults
# SYSTEM/Oracle18
docker run --shm-size=1536m --name oracle -d -p 1521:1521 quillbuilduser/oracle-18-xe
docker run --shm-size=1536m --name oracle -d -p 1521:1521 --ulimit nofile=1048576:1048576 quillbuilduser/oracle-18-xe
until [ "`docker inspect -f {{.State.Health.Status}} oracle`" == "healthy" ];
do
echo "Waiting for Oracle to start..."