...
First let's pull docker image flexdeploy/fd_tcat_xe_52postgres. Adjust image name (if you are using Postgres or a tutorial image) and version as necessary.
Code Block |
---|
docker pull flexdeploy/fd_tcat_xe_52:5.3.0.0 or docker pull flexdeploy/fd_tcat_postgres_52:5.3.0.0 or docker pull <tutorial image> |
...
Code Block |
---|
docker run --name flexdeploy53_xe -p 1521:1521 -p 8000:8080 --shm-size=2gb -e TZ=$(date +%Z) flexdeploy/ebs-tutorial:5.3.0.0 or docker run --name flexdeploy53_xe -p 1521:1521 -p 8000:8080 --shm-size=2gb -e TZ=America/Chicago flexdeploy/ebs-tutorial:5.3.0.0 |
2.2 fd_tcat_postgres
...
This particular image contains PostgreSQL DB and FlexDeploy with Tomcat, i.e. data and artifact repository is all part of the container. Data is persistent in the container.
...
Code Block |
---|
docker run --name flexdeploy53_postgres -p 5432:5432 -p 8000:8080 -e TZ=$(date +%Z) flexdeploy/fd_tcat_postgres_53:5.3.0.0 or docker run --name flexdeploy53_postgres -p 5432:5432 -p 8000:8080 -e TZ=America/Chicago flexdeploy/fd_tcat_postgres_53:5.3.0.0 |
After some time, you can close command session that started FlexDeploy docker container. If you use Ctrl + C, then container will exit, just close session window.
...