Before we start, you will need to install Docker. You can find guides for your platform on the .

Once Docker is installed, you will need to pull QuestDB’s image from Docker Hub and create a container. You can do both in one command using docker run:

parameter

This parameter will publish a port to the host, you can specify:

-v volumes

import Tabs from “@theme/Tabs” import TabItem from “@theme/TabItem”

<Tabs defaultValue=”linux” values={[ { label: “Linux”, value: “linux” }, { label: “Windows”, value: “windows” }, ]}>

  1. /root/.questdb/db

You can check the status of your container with docker ps. It also lists the ports we published:

  • If you published the port 9000, you can follow our REST page
  • If you published the port 8812, follow our page
  • If you published the port 9009, follow our InfluxDB page

When you stop the container, it will not be removed by Docker. This means that you can restart it anytime and your data will be accessible:

    If you re-run the command:

    A new container will be created for the QuestDB image. This means that the container will be fresh, any data you may have created previously won’t be accessible.