# Installation with Docker

## Prerequisite

Docker first must be installed. Refer to the official Docker install instructions [here](https://docs.docker.com/engine/install).

## Install

To install the agent, pull the following Docker image.

{% tabs %}
{% tab title="macOS" %}

```bash
docker pull stoobly/agent
```

{% endtab %}

{% tab title="Linux" %}

```bash
docker pull stoobly/agent
```

{% endtab %}
{% endtabs %}

## Update

To update the agent, re-pull the Docker image.

{% tabs %}
{% tab title="macOS" %}

```bash
docker pull stoobly/agent
```

{% endtab %}

{% tab title="Linux" %}

```bash
docker pull stoobly/agent
```

{% endtab %}
{% endtabs %}

## Verify

```bash
docker run \
    -v ~/.stoobly:/home/stoobly/.stoobly \
    stoobly/agent \
    stoobly-agent --help
```

## Next Steps

You're all setup! Depending on your use case, you may want to take a look at:

{% tabs %}
{% tab title="API Mocking" %}
{% content-ref url="../../guides/how-to-record-requests" %}
[how-to-record-requests](https://docs.stoobly.com/guides/how-to-record-requests)
{% endcontent-ref %}
{% endtab %}

{% tab title="E2E Testing" %}
{% content-ref url="../../guides/how-to-integrate-e2e-testing" %}
[how-to-integrate-e2e-testing](https://docs.stoobly.com/guides/how-to-integrate-e2e-testing)
{% endcontent-ref %}
{% endtab %}
{% endtabs %}
