> For the complete documentation index, see [llms.txt](https://docs.fortifiedid.se/management-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fortifiedid.se/management-center/readme/install-upgrade/installation/container-docker.md).

# Container - Docker

Management center is deployed in conjunction with the controlled product.

Management center is deployed in conjunction with the controlled product.

## Getting repo access

Ensure to follow the first step, Prepare, at <https://docs.fortifiedid.se/installation> ensuring docker-repo access. Once you received *Login succeeded,* you may continue.

{% tabs %}
{% tab title="Access" %}
Start docker image using:

```bash
docker run -d \
--name mgmt-access \
--hostname mgmt-access \
--read-only=false \
-e XDG_CACHE_HOME=/tmp \
-p 8443:8443/tcp \
-p 4443:4443/tcp \
fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-access:<version> \
config/config.json \
access_token=<access_token> \
```

Where \<version> and \<access\_token> values are provided to you by Fortified Support.

Typically, you may want to use a compose file instead of using run. Example:

```yaml
services:
  mgmt-access:
    image: fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-access:<version>
    container_name: mgmt-access
    hostname: mgmt-access
    read_only: false
    environment:
      - XDG_CACHE_HOME=/tmp
      - FORTIFIED_SECRETS_KEY_SIZE=256
      - FORTIFIED_SECRETS_SECRET=c3b32a2764da3df1ec010097799e2d8f620212f3e012e205fea43f598ad7a318
    command:
      - "config/config.json"
      - access_token=<access_token>
    ports:
      - "8443:8443/tcp"
      - "4443:4443/tcp"
    volumes:
      - ./customer:/opt/fortified/servers/mgmt-server/data/customer
      - ./repository:/opt/fortified/servers/mgmt-server/data/repository
```

When service it started, move on to section [Post-installation](/management-center/readme/install-upgrade/post-installation.md)
{% endtab %}

{% tab title="Portal" %}

```sh
docker run -d \
  --name mgmt-portal \
  --hostname mgmt-portal \
  --read-only=false \
  -e XDG_CACHE_HOME=/tmp \
  -p 8445:8445/tcp \
  -p 4443:4443/tcp \
  fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-portal:<version> \
  config/config.json \
  access_token=<access_token>
```

```yaml
services:
  mgmt-portal:
    
    image: fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-portal:<version>
    container_name: fortified-mgmt-portal
    hostname: mgmt-portal
    read_only: false
    environment:
      XDG_CONFIG_HOME: /tmp/frtfd/config # jgit configuration dir - must be writable (specify to avoid log warnings)
    command:
      - "config/config.json"
      - FORTIFIED_SECRETS_KEY_SIZE=256
      - FORTIFIED_SECRETS_SECRET=c3b32a2764da3df1ec010097799e2d8f620212f3e012e205fea43f598ad7a318
      - access_token=<access_token>
      
    ports:
      - "8445:8445/tcp"
      - "4445:4443/tcp"
  
    volumes:
       - ./data:/opt/fortified/servers/mgmt-server/data
```

When service it started, move on to section [Post-installation](/management-center/readme/install-upgrade/post-installation.md)
{% endtab %}

{% tab title="Forms" %}

```sh
docker run -d \
  --name mgmt-forms \
  --hostname mgmt-forms \
  --read-only=false \
  -e XDG_CACHE_HOME=/tmp \
  -p 8450:8450/tcp \
  -p 4443:4443/tcp \
  fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-forms:<version> \
  config/config.json \
  access_token=<access_token>
```

```yaml
services:
  mgmt-forms:
    
    image: fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-forms:<version>
    container_name: fortified-mgmt-forms
    hostname: mgmt-forms
    read_only: false
    environment:
      XDG_CONFIG_HOME: /tmp/frtfd/config # jgit configuration dir - must be writable (specify to avoid log warnings)
    command:
      - "config/config.json"
      - FORTIFIED_SECRETS_KEY_SIZE=256
      - FORTIFIED_SECRETS_SECRET=c3b32a2764da3df1ec010097799e2d8f620212f3e012e205fea43f598ad7a318
      - access_token=<access_token>
      
    ports:
      - "8450:8450/tcp"
      - "4445:4443/tcp"
  
    volumes:
       - ./data:/opt/fortified/servers/mgmt-server/data
```

{% endtab %}

{% tab title="Password Reset" %}

```sh
docker run -d \
  --name mgmt-pwdreset \
  --hostname mgmt-pwdreset \
  --read-only=false \
  -e XDG_CACHE_HOME=/tmp \
  -p 8446:8446/tcp \
  -p 4443:4443/tcp \
  fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-pwdreset:<version> \
  config/config.json \
  access_token=<access_token>
```

```yaml
services:
  mgmt-pwdreset:
    
    image: fortifiedid.jfrog.io/docker/fortifiedid/fortified-mgmt-pwdreset:<version>
    container_name: fortified-mgmt-pwdreset
    hostname: mgmt-pwdreset
    read_only: false
    environment:
      XDG_CONFIG_HOME: /tmp/frtfd/config # jgit configuration dir - must be writable (specify to avoid log warnings)
    command:
      - "config/config.json"
      - FORTIFIED_SECRETS_KEY_SIZE=256
      - FORTIFIED_SECRETS_SECRET=c3b32a2764da3df1ec010097799e2d8f620212f3e012e205fea43f598ad7a318
      - access_token=<access_token>
      
    ports:
      - "8446:8446/tcp"
      - "4445:4443/tcp"
  
    volumes:
       - ./data:/opt/fortified/servers/mgmt-server/data
```

When service it started, move on to section [Post-installation](/management-center/readme/install-upgrade/post-installation.md)
{% endtab %}
{% endtabs %}
