> 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/cortex-xsoar-8-on-prem/8.11/configure-cortex-xsoar/engines/install-an-engine/docker/troubleshoot-docker-issues.md).

# Troubleshoot Docker issues

The following provides troubleshooting solutions for Docker networking and performance issues.

**Troubleshoot Docker networking issues**

In Cortex XSOAR, integrations and scripts run either on the tenant, or on an engine.

For multi-tenant deployments, you need to add this setting to each tenant.

If you have Docker networking issues when using an engine, you need to modify the d1.conf file.

1. On the machine where the Engine is installed, open the **`d1.conf`** file.
2. Add the following to the **`d1.conf`** file:

   ```programlisting
   {
       "LogLevel": "info",
       "LogFile": "/var/log/demisto/d1.log",
       "EngineURLs": [
       "wss://1234.demisto.live/d1ws"
       ],
                       "BindAddress": ":443",
       "EngineID": "XYZ",
       "ServerPublic": "ABC"
       "ArtifactsFolder": "",
       "TempFolder": "",
       "python.pass.extra.keys": "--network=host"
       }
   ```
3. Save the file.
4. Restart the engine using **`systemctl restart d1`** or **`service d1 restart`**.

**Troubleshoot Docker performance issues**

This information is intended to help resolve the following Docker performance issues.

* Containers are getting stuck.
* The Docker process consumes a lot of resources.
* Time synchronization issues between the container and the operating system.

**Cause**

The installed Docker package and its dependencies are not up to date.

**Workaround**

1. Update the package manager cache.

   | Linux Distribution | Command              |
   | ------------------ | -------------------- |
   | Debian             | **`apt-get update`** |
2. (Optional) Check for a newer version of the Docker package.

   | Linux Distribution | Command                       |
   | ------------------ | ----------------------------- |
   | Debian             | **`apt-cache policy docker`** |
3. Update the Docker package.

   | Linux Distribution | Command                     |
   | ------------------ | --------------------------- |
   | Debian             | **`apt-get update docker`** |


---

# 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/cortex-xsoar-8-on-prem/8.11/configure-cortex-xsoar/engines/install-an-engine/docker/troubleshoot-docker-issues.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.
