# Docker Installation Failures

If you encounter issues during Docker installation:

1. **Check system compatibility:**

   Copy

   ```
   uname -a
   lsb_release -a
   ```
2. **Verify Docker installation status:**

   Copy

   ```
   docker --version
   systemctl status docker
   ```
3. **Manual Docker installation:**

   Copy

   ```
   # For Ubuntu/Debian
   sudo apt-get update
   sudo apt-get install -y apt-transport-https ca-certificates curl gnupg lsb-release
   curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
   echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
   sudo apt-get update
   sudo apt-get install -y docker-ce docker-ce-cli containerd.io
   ```
4. **Docker Compose installation:**

   Copy

   ```
   mkdir -p ~/.docker/cli-plugins/
   curl -SL "https://github.com/docker/compose/releases/download/v2.18.1/docker-compose-linux-x86_64" -o ~/.docker/cli-plugins/docker-compose
   chmod +x ~/.docker/cli-plugins/docker-compose
   ```

**Python 3.12 Installation Issues**

If Python 3.12 installation fails:

1. **Manual Python installation:**

   Copy

   ```
   # For Ubuntu/Debian
   sudo apt-get update
   sudo apt-get install -y software-properties-common
   sudo add-apt-repository -y ppa:deadsnakes/ppa
   sudo apt-get update
   sudo apt-get install -y python3.12 python3.12-venv python3.12-dev
   ```
2. **Verify Python installation:**

   Copy

   ```
   python3.12 --version
   which python3.12
   ```


---

# Agent Instructions: 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:

```
GET https://soika-labs.gitbook.io/soika-mockingjay/troubleshooting/installation-issues/docker-installation-failures.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
