Question
TATA Consultancy Services Ltd.
US
Last activity: 18 May 2020 8:17 EDT
Unable to start Pega from docker image
I was following the steps to pull the pega:latest image from docker hub and run docker container by passing the four JDBC variables, like below -
sudo docker run --name pega8 --publish 32770:5432 -P -e DB_USERNAME=pega -e DB_PASSWORD=pega -e JDBC_URL=jdbc:postgresql://localhost:32770/pega -e JDBC_CLASS=org.postgresql.Driver -d pegasystems/pega:latest
The container started but unable to stat Pega ad Tomcat.
--------------------------------------------------------------------------------------
Tomcat Error:
unable to stat /usr/local/tomcat/conf/context.xml.tmpl, error: stat /usr/local/tomcat/conf/context.xml.tmpl: no such file or directory
unable to stat /usr/local/tomcat/conf/tomcat-users.xml.tmpl, error: stat /usr/local/tomcat/conf/tomcat-users.xml.tmpl: no such file or directory
rm: cannot remove '/usr/local/tomcat/conf/context.xml.tmpl': No such file or directory
rm: cannot remove '/usr/local/tomcat/conf/tomcat-users.xml.tmpl': No such file or directory
--------------------------------------------------------------------------------------
(Ref:https://collaborate.pega.com/question/clsa-build-local-setup)