...
...
...
...
Tip |
---|
This documentation is for FlexDeploy 6.0.0.x. If you are using different version, please go to home page and select appropriate FlexDeploy version documentation. |
You must have Docker Engine installed. See https://docs.docker.com/get-docker/ for information on how to do that.
If running Docker Desktop, please adjust your memory configuration so that 4 gb will be available to the container running the fd_tcat_postgres image.
Start command session to the Docker host and make sure you can run docker commands. If necessary, sudo to root or other user.
...
Here are main steps for this type of docker image.
Pull docker image
Start container using specific image.
Step 1 - Pull Docker Image
First let's pull docker image flexdeploy/fd_tcat_postgres.
Code Block |
---|
docker pull flexdeploy/fd_tcat_postgres |
...
Step 2 - Run Docker Container
Now let's run the FlexDeploy docker image.
...
Run command example below uses port number 8000 for access to FlexDeploy application, which maps to 8080 port inside docker container. PostgreSQL is included as part of this image and it's port 5432 is also accessible on docker host. Adjust port numbers, Timezone as appropriate for your docker host. Since this is just for a demo or POC we are going to just use the latest version. If you’d like you can specify with something like this for the image name: flexdeploy/fd_tcat_postgres:6.0.0.0
Code Block |
---|
docker run --name flexdeploy56_postgres -p 5432:5432 -p 8000:8080 -e TZ=$(date +%Z) flexdeploy/fd_tcat_postgres:5.6.0.0 or docker run --name flexdeploy56_postgres -p 5432:5432 -p 8000:8080 -e TZ=America/Chicago flexdeploy/fd_tcat_postgres:5.6.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.
...