[root@ip-172-30-0-83 ~]# docker run --detach \
--mount type=bind,src=/opt/groupercontainer/conf,dst=/opt/grouper/conf \
--mount type=bind,src=/opt/groupercontainer/logs/grouper-ui,dst=/opt/grouper/logs \
--mount type=bind,src=/opt/groupercontainer/ddlScripts,dst=/opt/grouper/grouper.apiBinary/ddlScripts/ \
--name dbInit \
--entrypoint /opt/grouper/grouper.apiBinary/bin/gsh \
tier/grouper:2.4.0-a89-u55-w11-p12-20200110-rc1 \
-registry -check -runscript -noprompt
# NOTE: The /opt/groupercontainer/ddlScripts dir will contain the ddl file that was executed against the DB. ( If you want it. )
# Now you can delete that container. The above line will only check and correct the DB if needed, but generally should not be done trivially.
[root@ip-172-30-0-83 ~]# docker rm dbInit
|