Docker

QuestDB has images for both Linux/macOS and Windows on Docker Hub.

Install Docker

Please follow the official documentation.

Using the image

If you never fetched QuestDB's image, you can run:

docker run -p 9000:9000 -p 8812:8812 questdb/questdb

If you want to make sure that you are running the latest version:

docker run -p 9000:9000 -p 8812:8812 questdb/questdb:latest

Options

ArgumentDescription
-pPort to publish to the host
-vTo bind mount a volume

-p ports

  • -p 9000:9000 for the REST API and the Web Console. The web console is available on http://localhost:9000
  • -p 8812:8812 for the Postgres wire protocol
  • -p 9009:9009 InfluxDB line protocol

-v volumes

The QuestDB root_directory will be in the following location:

/root/.questdb/db