> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.12/reference-docs/reference/server-configurations/docker-server-configurations.md).

# Docker Server Configurations

| Key                                           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | Default                                    |
| --------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ |
| **`api.create.docker.image.base`**            | If you receive an error that you [Cannot Create Custom Docker Image](https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA10g000000PNhaCAG), update a Python Docker base image that will not try to reach the disabled sources.                                                                                                                                                                                                                                                                                                                                             | N/a                                        |
| **`containers.high.water.mark`**              | Cortex XSOAR uses a Docker image and does not spin more containers. If there are no free containers, a new is one opened. If you see in the **`docker.log`** file that there are more than 20 Docker containers for each image, increase the number of containers.                                                                                                                                                                                                                                                                                                                      | **`20`** containers from each Docker image |
| **`docker.cpu.limit`**                        | [Limit the available CPU](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-0168b469-6052-d793-ea92-ee764a20f590) for each container.                                                                                                                                                                                                                                                                                                                                                                             | **`1.0`**                                  |
| **`docker.custon_certs.dir`**                 | If you have configured the **`certs dir`** dir in a different location from the Cortex XSOAR **`lib dir`** file, you can configure the dir to search for the **`file: python-ssl-certs.pem`** by using this server configurations. Use this configuration when you [configure Python Docker integrations to trust custom certificates](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/configure-python-docker-integrations-to-trust-custom-certificates.md).                                                                                  | N/a                                        |
| **`docker.memory.limit`**                     | If swap limit capabilities are enabled, in Cortex XSOAR, [configure the memory limitation](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-eb30f547-d964-efb3-398c-1bc8863c5d2e).                                                                                                                                                                                                                                                                                                                               | **`1g`**                                   |
| **`docker.run.internal.asuser`**              | Executes containers as non-root internal users. For additional security isolation, we recommend to [run Docker with non-root internal users](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-3003eccf-9e90-12f2-876c-c257708ed16d).                                                                                                                                                                                                                                                                             | **`false`**                                |
| **`docker.run.internal.asuser.ignore`**       | A comma-separated list of containers that do not support non-root internal users. For more information, see [Run Docker with Non-Root Internal Users](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-3003eccf-9e90-12f2-876c-c257708ed16d).                                                                                                                                                                                                                                                                    | N/a                                        |
| **`js.http.restricted`**                      | Comma separated list of IPs/hosts to [limit access](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-957a9735-99b9-f3d8-ff66-4d4ea94f1ead) for JavaScript integrations. For example, value: **`169.254.169.254,localhost,127.0.0.1`**.                                                                                                                                                                                                                                                                           | N/a                                        |
| **`limit.docker.cpu`**                        | Whether to [limit available CPU](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-0168b469-6052-d793-ea92-ee764a20f590). Used with **`docker.cpu.limit`**.                                                                                                                                                                                                                                                                                                                                                       | **`true`**                                 |
| **`limit.docker.memory`**                     | Whether to [limit memory](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-eb30f547-d964-efb3-398c-1bc8863c5d2e). Used with **`docker.memory.limit`**.                                                                                                                                                                                                                                                                                                                                                           | **`true`**                                 |
| **`powershell.docker.image`**                 | The [Docker image](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-images-in-cortex-xsoar.md#UUID-2d948a3c-5611-f683-8f59-70635de5ea76) you want to define as the base image. Can be used to change the default PowerShell image in a PowerShell script or integration without a specified Docker image. For example: demisto/powershell:7.1.3.22028.                                                                                                                                                                                   | **`demisto/powershell`**                   |
| **`python.docker.image`**                     | Sets the default [Docker image](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-images-in-cortex-xsoar.md#UUID-2d948a3c-5611-f683-8f59-70635de5ea76). You can use a custom Docker image by setting the value for this key to the Docker image. If the Docker image is not available on the system, it will make a request to pull the image from Docker Hub to the server. If this is set, it will use this Docker image as the default Docker image for all integrations or automations that do not explicitly specify a Docker image. | **`demisto/python`**                       |
| **`python.docker.registry`**                  | The registry you want to point to. For example: **`myregistry.local:5000`**. For more information, see [Manage Docker Images](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-images-in-cortex-xsoar.md#UUID-2d948a3c-5611-f683-8f59-70635de5ea76).                                                                                                                                                                                                                                                                                     | N/a                                        |
| **`python.docker.use_custom_certs`**          | Whether to [configure Python Docker integrations to trust custom certificates](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/configure-python-docker-integrations-to-trust-custom-certificates.md).                                                                                                                                                                                                                                                                                                                                          | **`false`**                                |
| **`python.pass.extra.keys`**                  | <p>Sets specific Docker image settings. For more information, see:</p><ul><li><a href="/pages/VSpBWyJ3RIcbv0gzxXFE">Docker Hardening Guide</a></li><li><a href="/pages/VSpBWyJ3RIcbv0gzxXFE#UUID-bfcf4b67-1ad9-3f91-41fa-00e4aac8c631">Configure Memory Limit Support Without Swap Limit Capabilities</a></li><li><a href="/pages/VSpBWyJ3RIcbv0gzxXFE#UUID-03d7d401-6228-0370-5c01-e29d3a256e56">Configure the PIDs Limit</a></li></ul>                                                                                                                                                | N/a                                        |
| **`python.pass.extra.keys.demisto/boto3py3`** | Assigns a Docker network used by AWS integration’s Docker container. For more information, see [Assign a Docker Network for a Docker Image](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-957a9735-99b9-f3d8-ff66-4d4ea94f1ead_id73a5b269-5e87-416f-aa50-d782a3b1d593).                                                                                                                                                                                                                                       | N/a                                        |
| **`python.pass.extra.keys.demisto/chromium`** | Runs integrations that use the demisto/chromium docker image with the Docker network external. For more information, see [Block Internal Network Access](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/docker/docker-hardening-guide.md#UUID-957a9735-99b9-f3d8-ff66-4d4ea94f1ead_iddc23fa7a-0b3e-4b9c-9a3f-be3c77ae1d5e).                                                                                                                                                                                                                          | N/a                                        |
| **`python.runner.loop.script.path`**          | The Cortex XSOAR Server launches a Python Docker container by running a Python loop script. This configuration overrides the default path to the Python loop script. For more information, see [Install a Cortex XSOAR Engine](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/engines/engine-installation.md#UUID-04e1f7d5-729a-7581-d761-abaf8d881db4).                                                                                                                                                                                             | N/a                                        |
| **`powershell.runner.loop.script.path`**      | The Cortex XSOAR Server launches a Powershell Docker container by running a Powershell loop script. This configuration overrides the default path to the Powershell loop script. For more information, see [Install a Cortex XSOAR Engine](/xsoar-6-administrator-guide/6.12/onboard-cortex-xsoar/onboarding-in-cortex-xsoar/engines/engine-installation.md#UUID-04e1f7d5-729a-7581-d761-abaf8d881db4).                                                                                                                                                                                 | N/a                                        |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/xsoar-6-administrator-guide/6.12/reference-docs/reference/server-configurations/docker-server-configurations.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
