# Run on Docker

{% hint style="info" %}
Bastion's Docker image is not yet available publicly. It'll be available publicly after the next release of Bastion.
{% endhint %}

Open Terminal (or Command Prompt) inside the directory you created for storing Bastion's settings in the [**Install on Docker**](/docs/install/install-on-docker.md#configuring-bastion) guide.

Now, run this if you're using Docker on Linux/macOS:

```bash
docker run -d --name bastion -p 80:8377 --add-host=host.docker.internal:host-gateway -v $(pwd)/settings.yaml:/app/settings.yaml bastion
```

Or, run this if you're using Docker on Windows:

```powershell
docker run -d --name bastion -p 80:8377 -v "%cd%/settings.yaml":/app/settings.yaml bastion
```


---

# 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://bastion.gitbook.io/docs/run/run-on-docker.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.
