> For the complete documentation index, see [llms.txt](https://docs.licensespring.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.licensespring.com/floating-server/floating-server-v1/deployment-methods/docker/installation-steps.md). Agents can also search and read this documentation through its [MCP server](https://docs.licensespring.com/~gitbook/mcp).

# 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**](https://docs.licensespring.com/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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.licensespring.com/floating-server/floating-server-v1/deployment-methods/docker/installation-steps.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
