> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation - Docker Image (for trials)

> You must have Docker Engine installed. See for information on how to do that. If running Docker Desktop, please adjust your memory configuration so th

You must have Docker Engine installed. See [https://docs.docker.com/get-docker/](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.

* Mac - [https://docs.docker.com/docker-for-mac/](https://docs.docker.com/docker-for-mac/)

* PC - [https://docs.docker.com/docker-for-windows/](https://docs.docker.com/docker-for-windows/)

Start command session to the Docker host and make sure you can run docker commands. If necessary, sudo to root or other user.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/s0aZcWvz1eo3cr__/images/cm112/12725916175.png?fit=max\&auto=format\&n=s0aZcWvz1eo3cr__\&q=85\&s=7937bca85d1788be1b10e8f8d2cc5b28)

Here are main steps for this type of docker image.

1. Pull docker image

2. Start container using specific image.

## Step 1 - Pull Docker Image

First let's pull docker image flexdeploy/fd\_tcat\_postgres. See support portal for \<repository> details.

```
docker pull <repository>/flexdeploy/fd_tcat_postgres
```

## Step 2 - Run Docker Container

Now let's run the FlexDeploy docker image.

This 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.

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: `&lt;repository>/flexdeploy/fd_tcat_postgres:10.0.0.0`

Ensure \<repository> is replaced with proper repository location (available on support portal)

```
docker run --name flexdeploy -p 5432:5432 -p 8000:8080 -e TZ=America/Chicago -e MAX_ACTIVE_CONNECTIONS=100 -e MAX_IDLE_CONNECTIONS=100 -e MAX_WAIT_TIME_MILLIS=30000 -d <repository>flexdeploy/fd_tcat_postgres:VERSION
```

Optionally, you can add a -d to run container in background and print container ID. The -a option can also be added to view logs.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590908378.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=cef2d81ac4f34a1e2e0b6a0337be34c3)

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.

Now you can launch FlexDeploy using http\://\<docker host>:8000/flexdeploy.

> [!TIP]
>
> If necessary, make sure to open port 8000 for access from outside docker host.

As always when you first launch FlexDeploy, you will need to complete Registration process.

![Image](https://mintcdn.com/flexagon-llc-ce77a95c/NkeZh5D-Nf8j_WaD/images/fd111/12590908330.png?fit=max\&auto=format\&n=NkeZh5D-Nf8j_WaD\&q=85\&s=1492a428b3ad68a86eeead0c478c0c0d)

Once you complete registration, you are ready to use FlexDeploy.

Now that you have installed FlexDeploy, let's get start with configuration. You can do this in matter of minutes using the [Blueprints](https://docs.flexagon.com/flexdeploy-10-0-documentation/flexdeploy-users-guide/blueprints.md) concept, which is very simple configuration wizard for most common use cases.
