Skip to content

TIP: How to Pass Additional System Property to CATALINA_OPTS to OpenAM Docker Container

Maxim Thomas edited this page Apr 12, 2024 · 1 revision

Sometimes it is necessary to append a new system property to existing CATALINA_OTPS environment variable, for example -DXUI.enable=false

You could do this with the following command:

docker run --rm -h openam.example.org -p 8080:8080 --network openam --name openam openidentityplatform/openam \
 "sh" "-c" "CATALINA_OPTS=\"\$CATALINA_OPTS -DXUI.enable=false\" && /usr/local/tomcat/bin/catalina.sh run"
Clone this wiki locally