# Start Docker container

Truebit on Ethereum is packaged as a Docker container.  Before you can run Truebit, you will need to first start Docker.

1\. **Set Variables**

{% tabs %}
{% tab title="Linux (Ubuntu)" %}

```sh
export mypass=secretclefpassword
export YYY=$HOME'/truebit-docker'
```

{% endtab %}

{% tab title="MacOS" %}

```sh
export mypass=secretclefpassword
export YYY=$HOME'/truebit-docker'
```

{% endtab %}

{% tab title="Windows" %}

```powershell
SET mypass=mypassword
SET YYY=%userprofile%/truebit-docker
```

{% endtab %}
{% endtabs %}

**2. Start Docker**&#x20;

{% tabs %}
{% tab title="Linux (Ubuntu)" %}

```sh
docker run -e TBPASS=$mypass --network host -v $YYY/docker-clef:/root/.clef -v $YYY/docker-geth:/root/.ethereum -v $YYY/docker-ipfs:/root/.ipfs -v $YYY/docker-consensus:/root/.eth2 --name truebit -dit truebitprotocol/truebit-eth:latest /bin/bash
```

{% endtab %}

{% tab title="MacOS" %}

```sh
docker run -e TBPASS=$mypass --network host -v $YYY/docker-clef:/root/.clef -v $YYY/docker-geth:/root/.ethereum -v $YYY/docker-ipfs:/root/.ipfs -v $YYY/docker-consensus:/root/.eth2  --name truebit -dit truebitprotocol/truebit-eth:latest /bin/bash
```

{% endtab %}

{% tab title="Windows" %}

```sh
docker run -e TBPASS=%mypass% --network host -v %YYY%/docker-clef:/root/.clef -v %YYY%/docker-geth:/root/.ethereum -v %YYY%/docker-ipfs:/root/.ipfs -v %YYY%/docker-consensus:/root/.eth2 --name truebit -dit truebitprotocol/truebit-eth:latest /bin/bash
```

{% endtab %}
{% endtabs %}


---

# 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://docs.truebit.io/v1docs/getting-started/start-docker-container.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.
