# Docker Image

## Docker Installation

You need to install Docker first, please follow the installation guide in the link below.

{% embed url="<https://docs.docker.com/install/>" %}
<https://docs.docker.com/install/>
{% endembed %}

## Using Jupiter with Docker

Assuming that you are in some directory,  **\~/Desktop** for example, and inside that directory you have one file called **fibonacci.s**, you can use the following command to simulate that RISC-V assembly program:

```bash
docker run -it --rm -v $PWD:/riscv -w /riscv andrescv/jupiter fibonacci.s
```

Alternatively, you can specify the version of  the Jupiter simulator by using a docker tag:

```bash
# use v3.1
docker run -it --rm -v $PWD:/riscv -w /riscv andrescv/jupiter:3.1 fibonacci.s
```

Visit the link below to see available tags

{% embed url="<https://hub.docker.com/r/andrescv/jupiter>" %}
<https://hub.docker.com/r/andrescv/jupiter>
{% endembed %}


---

# 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://jupitersim.gitbook.io/jupiter/installation/docker-image.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.
