Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First let's pull docker image flexdeploy/fd_tcat_xe_51. Adjust image name (if you are using Postgres or a tutorial image) and version as necessary.

Code Block
docker pull flexdeploy/fd_tcat_xe_51:5.1.0.2
or
docker pull flexdeploy/fd_tcat_postgres_51:5.1.0.2
or
docker pull <tutorial image>

Step 2 - Run Docker Container

Now let's run FlexDeploy docker image. Adjust image name (if you are using Postgres or a tutorial image) and version as necessary.

2.1 fd_tcat_xe_51 / tutorials

This particular image contains Oracle XE 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 flexdeploy51_xe -p 1521:1521 -p 8000:8080 --shm-size=2gb -e TZ=$(date +%Z) flexdeploy/fd_tcat_xe_51:5.1.0.02
or
docker run --name flexdeploy51_xe -p 1521:1521 -p 8000:8080 --shm-size=2gb -e TZ=America/Chicago flexdeploy/fd_tcat_xe_51:5.1.0.02
2.2 fd_tcat_postgres_51

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 flexdeploy51_postgres -p 5432:5432 -p 8000:8080 -e TZ=$(date +%Z) flexdeploy/fd_tcat_postgres_51:5.1.0.2
or
docker run --name flexdeploy51_postgres -p 5432:5432 -p 8000:8080 -e TZ=America/Chicago flexdeploy/fd_tcat_postgres_51:5.1.0.2


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.

...