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:
parent
42ca47dc4e
commit
0b951ef803
|
@ -122,7 +122,7 @@ oracle() {
|
||||||
docker rm -f oracle || true
|
docker rm -f oracle || true
|
||||||
# We need to use the defaults
|
# We need to use the defaults
|
||||||
# SYSTEM/Oracle18
|
# 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" ];
|
until [ "`docker inspect -f {{.State.Health.Status}} oracle`" == "healthy" ];
|
||||||
do
|
do
|
||||||
echo "Waiting for Oracle to start..."
|
echo "Waiting for Oracle to start..."
|
||||||
|
|
Loading…
Reference in New Issue