> 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-xsiam/configure-cortex-xsiam/engines/install-an-engine/docker/troubleshoot-docker-issues.md).

# Troubleshoot Docker Issues

Troubleshoot Docker installation, container, and runtime issues on Cortex XSIAM engines.

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

**Troubleshoot Docker networking issues**

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

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:

   ```
   {
   	"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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam/configure-cortex-xsiam/engines/install-an-engine/docker/troubleshoot-docker-issues.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
