# Docker Compose Install

Step 1: To download and install Compose standalone, run:

```bash
sudo curl -SL https://github.com/docker/compose/releases/download/v2.6.1/docker-compose-linux-x86_64 -o /usr/local/bin/docker-compose
```

Step 2: Apply executable permissions to the standalone binary in the target path for the installation.

```bash
sudo chmod +x /usr/local/bin/docker-compose
```

Step 3: Test and execute compose commands using docker-compose.

```bash
docker-compose --version
```

\[]: # Language: markdown \[]: # Path: src\docker-compose\docker-compose-usage.md


---

# 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://nishanthkp.gitbook.io/devsecops-for-bbk/docker-compose/docker-compose-installation.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.
