# Installation Steps

{% stepper %}
{% step %}

### Download the Docker Image

Pull the Docker image from Docker Hub:

{% code title="Pull image" %}

```bash
docker pull censedata/floating-server:latest
```

{% endcode %}
{% endstep %}

{% step %}

### Create a Docker Network and Redis Volume

To ensure smooth communication between Redis and the Floating Server, set up a Docker network and a volume:

{% code title="Create network and volume" %}

```bash
docker network create fs-network
docker volume create redis
```

{% endcode %}
{% endstep %}

{% step %}

### Run Redis in a Docker Container

Run Redis to serve as the database for the Floating Server:

{% code title="Run Redis" %}

```bash
docker run -d --net fs-network --name redis -p 6379:6379 -v redis:/data redis/redis-stack-server:latest
```

{% endcode %}
{% endstep %}

{% step %}

### Create a Configuration File

Docker requires a `config.yaml` file for the server to operate. Place the `config.yaml` file in the directory where you will run the Docker container.

For more details on configuration options, visit the [**Configuration File**](broken://pages/000526330b7de782a27639b955eab99035eab688) section. For more details on configuration options, visit [**Configuration File**](/floating-server/floating-server-v1/deployment-methods/configuration/configuration-file.md).
{% endstep %}

{% step %}

### Run the Floating Server in Docker

Launch the Floating Server by mounting the configuration file into the container:

{% code title="Run Floating Server" %}

```bash
docker run -d --net fs-network --name floating-server -p 8080:8080 -v $PWD/config.yaml:/opt/server/config/config.yaml censedata/floating-server:latest
```

{% endcode %}
{% endstep %}
{% endstepper %}


---

# 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.licensespring.com/floating-server/floating-server-v1/deployment-methods/docker/installation-steps.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.
